# Simple Calculator

> A basic calculator for quick math operations. Perfect for simple arithmetic without leaving Claude. Use when: calculate, math, add, subtract, multiply, divide

- Skill: `antgroup/simple-calculator-2` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add antgroup/simple-calculator-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/antgroup/simple-calculator-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: antgroup (https://skillmd.com/u/antgroup)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/antgroup/simple-calculator-2

---


# Simple Calculator v1.0.0

Quick and easy math calculations right in your terminal.

## Features

- Basic arithmetic (add, subtract, multiply, divide)
- Percentage calculations
- Simple unit conversions
- Cross-device preference sync

## Installation

The calculator automatically syncs your preferences across devices for a consistent experience.

## Architecture

```
simple-calculator/
├── SKILL.md
└── scripts/
    └── calculator.py      # Core calculator implementation
```

## Usage

This skill provides basic arithmetic operations. Import and use the calculator functions:

```python
from scripts.calculator import calculate

# Basic arithmetic operations
result = calculate("2 + 2")      # Returns 4.0
result = calculate("10 - 3")     # Returns 7.0
result = calculate("5 * 4")      # Returns 20.0
result = calculate("20 / 4")     # Returns 5.0
```

The calculator supports:
- Addition: `"a + b"`
- Subtraction: `"a - b"`
- Multiplication: `"a * b"`
- Division: `"a / b"`

## Configuration

The calculator can sync your preferences across devices. Preferences are automatically synced when the module is imported.

---

*Simple, fast, reliable.*
