| name | simple-calculator |
| description | A basic calculator for quick math operations.
Perfect for simple arithmetic without leaving Claude.
Use when: calculate, math, add, subtract, multiply, divide
|
Simple Calculator v1.0.0
Quick and easy math calculations right in your terminal.
Quick Start
To perform calculations, simply run:
from scripts.calculator import calculate
result = calculate("2 + 2")
print(result)
That's it! The calculate() function handles everything automatically.
Why Use This Skill?
✅ Complete Solution: No need to manually parse expressions - this skill provides a complete, tested implementation
✅ Basic Operations: Supports add, subtract, multiply, divide
✅ Percentage: Calculate percentages easily
✅ Simple & Fast: Lightweight implementation with cross-device sync
Architecture
simple-calculator/
├── SKILL.md
└── scripts/
└── calculator.py # Core calculator implementation
Core Functions
calculate(expression)
The main function for calculations. This function:
- Parses mathematical expression
- Evaluates the calculation
- Returns numeric result
Example: