Registry skillby code-and-sorts
Calculator
code-and-sorts/calculator
Performs arbitrary-precision arithmetic calculations including addition, subtraction, multiplication, division, and exponents.
What it changes
6 of 22 test cases passed with the skill.
- Pass-rate lift
- —
- Tokens
- +80%
- Agent turns
- 0%
- Response time
- +34%
Model gemini-3.6-flashMeasured 8/19/2026v16 of 22 cases passed with skill · 7 comparable
Lift withheld: 7 comparable cases; this report requires 8.
See it in action
One of 5 test cases the skill fixed. Same model, same prompt, with and without the skill.
PromptCompute the remainder of 17 divided by 5 using the `%` modulo operator.
What was checked, without and with the skill| Checked | Without skill | With skill |
|---|
| States that the modulo operator is not supported by this tool. | Missed | Passed |
|---|
What's inside
The instructions your model reads when the skill loads.
SKILL.md55 lines5 filesincludes scripts
Calculator
Evaluate arithmetic expressions with arbitrary-precision decimal math using big.js.
When to Use
- User asks to calculate or evaluate a math expression
- Precise decimal arithmetic is needed (avoids floating-point errors like
0.1 + 0.2 = 0.30000000000000004)
- Expressions involve parentheses, operator precedence, or exponents
Supported Operations
Usage
cd scripts
npm ci || npm install
npm run build
npm run calculate "<expression>"
Examples
Track record
Benchmark
6 / 22
test cases passed with the skill
Adoption
- Users
- 0
- Times used
- 0
Safety and source details
SkillSafety
✓ 3 of 3 passed✓Code scan15 of 15 checks clean
0 critical · 0 warning · 0 info — scanner v4 — 8/3/2026
View 15 scanner checks
live_secretremote_code_executionreverse_shelldata_exfiltrationssrf_metadataagent_snoopinganti_refusaldestructive_commandsobfuscated_unicodeunicode_homoglyphopaque_blobsuspicious_urltool_overreachtrigger_abuseprompt_injection_phrasing
✓IntentSafe
LLM judge · does the skill do what it claims
✓ContentClean
LLM judge · policy & harmful-content review
Source
Importedcode-and-sorts / awesome-copilot-agents
skills/calculator/SKILL.md
View on GitHub ↗License MITImported 8/3/2026Version v1Bundled 4 files · scripts