Calculate
Skill mdonmez/skills/calculate
A curated list of skills designed to enhance AI Agents' capabilities across a range of instructions.
npx -y skills add mdonmez/skills --skill calculateAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use Python to calculate all kinds of simple math on the fly: duration/speed/distance, percentages, ratios, unit conversions, averages, tax/discount/interest, splits, age differences, date differences, and any everyday calculation. Triggered when the user says "hesapla", "kaç dakika", "ne kadar", "yüzde kaç", "kaç TL", "indirim", "zam", "ortalama", "calculate", "how long", "how much", "what is", "convert", "percent", "ratio", or when they explicitly ask "python kodu çalıştırarak yap", "kod yazarak hesapla", "do it with Python", "write code to calculate". Use whenever precise numeric output is preferred over mental math.
SKILL.md
1.6 KB, 311 tokens by cl100k_base, as published. Nobody here has run it
Usage
- Parse the user's question (numbers, units, ratios)
- Immediately compute with
uv run python -c "<code>" - Reply with just the result — no explanation or formula
Examples
| Request | Command |
|---|---|
| 2h40m video at 1.5x how long? | uv run python -c "t=2*60+40; r=t/1.5; print(f'{int(r//60)}h {int(r%60)}m {int((r%1)*60)}s')" |
| 18% VAT on 250 TL? | uv run python -c "print(round(250*0.18, 2))" |
| Speed for 120km in 2h? | uv run python -c "print(120/2)" |
| 3h45m in minutes? | uv run python -c "print(3*60+45)" |
Formatting
- Round money/ratios to 2 decimals with
round(x, 2) - Print durations as hours/minutes/seconds
- For trivial results, just print the number
- Respond in the same units the user used
Gotchas
- Always use
uv run python, never barepython - For multi-step logic, write a short script and run with
uv run python - Do not add comments or explanation unless the user asks
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.