name: calculator description: A simple calculator that can add, subtract, multiply, and divide numbers. Use when the user needs to perform basic arithmetic operations. license: MIT capabilities: ["calc", "math"] metadata: author: skillLite version: "1.0"
Calculator Skill
A simple calculator that performs basic arithmetic operations.
Usage
Provide an operation and two numbers to get the result.
Examples
- Add:
{"operation": "add", "a": 5, "b": 3}→8 - Subtract:
{"operation": "subtract", "a": 10, "b": 4}→6 - Multiply:
{"operation": "multiply", "a": 6, "b": 7}→42 - Divide:
{"operation": "divide", "a": 20, "b": 4}→5