calculator
Skill656 starsChanged 7 days agoApache-2.0View on GitHub
Evaluate mathematical expressions and unit conversions. Handles arithmetic, percentages, exponents, and common unit conversions (temperature, distance, weight). No external dependencies.
8 other projects use a version of this.
Adopted by
Most recently taken up by
- anoochit/skillstheir own version, first seen Nov 8, 2026
- FishRaposo/aria-agenttheir own version, first seen Nov 1, 2026
- nek1987/auto-agent-harnesstheir own version, first seen Oct 11, 2026
- jholhewres/devclaw-skillstheir own version, first seen Oct 9, 2026
- ag2ai/build-with-ag2their own version, first seen Oct 9, 2026
- 0seobee-seon/seon-toolstheir own version, first seen Jul 30, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- ag2ai/build-with-ag2★ 252same name
- jholhewres/devclaw-skills★ 4same name
- mfang0126/openclaw-skills★ 4same name
- nek1987/auto-agent-harness★ 4same name
- miketromba/skills★ 2same name
- anoochit/skills★ 1same name
- 0seobee-seon/seon-tools★ 0same name
- FishRaposo/aria-agent★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository7 other files it gives its agents.
- docs/AGENTS.mdAGENTS.md
- skillevaluatorSkill
- api-callerSkill
- create-custom-graderSkill
- task-listSkill
- text-analyzerSkill
- simpleSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Read this SKILL.md to understand capabilities.
- Very specific: line 21
Run scripts/calc.py with the user's expression or conversion.
- Distinctive: line 57
No symbolic algebra (no variables, no equations).
- Very specific: line 58
Only supports basic arithmetic operators: +, -, *, /,
, %, parentheses.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Calculator
Evaluate math expressions and perform unit conversions from the command line.
Purpose
Provide a safe, sandboxed calculator for arithmetic expressions and common
unit conversions without relying on eval() or external services.
Agent Instructions
- Read this SKILL.md to understand capabilities.
- Run
scripts/calc.pywith the user's expression or conversion. - Return the computed result to the user.
Examples
Usage
# Arithmetic expressions
python scripts/calc.py "2 + 3 * 4"
python scripts/calc.py "(100 - 25) / 3"
python scripts/calc.py "2 ** 10"
# Percentage calculations
python scripts/calc.py "15% of 200"
# Unit conversions
python scripts/calc.py "100 celsius to fahrenheit"
python scripts/calc.py "5 miles to km"
python scripts/calc.py "10 kg to lbs"Output
A single line with the result, e.g.:
Result: 14For conversions:
100 celsius = 212.0 fahrenheitLimitations
- No symbolic algebra (no variables, no equations).
- Only supports basic arithmetic operators:
+,-,*,/,**,%, parentheses. - Unit conversions are limited to: celsius/fahrenheit, miles/km, kg/lbs, meters/feet.
Troubleshooting
| Problem | Fix |
Invalid expression | Check for unsupported operators or variables |
Unknown conversion | Use supported units: celsius, fahrenheit, miles, km, kg, lbs, meters, feet |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

