| name | calculator |
| description | Performs basic arithmetic operations using a python script. |
Calculator Skill
Instructions
To perform arithmetic calculations (addition, subtraction, multiplication, division), use the calc.py script located in this directory.
The script accepts an arithmetic expression as a string argument.
Usage
Run the following command:
Usage
Run the following command:
python {skill_path}/calc.py "expression"
For help:
python {skill_path}/calc.py --help
Examples
User: "What is 2 + 2?"
Command: python {skill_path}/calc.py "2 + 2"
User: "Calculate 15 * 4"
Command: python {skill_path}/calc.py "15 * 4"