Performs arbitrary-precision arithmetic calculations including addition, subtraction, multiplication, division, and exponents.

MITAuto-check passed

Install Calculator

skills CLI
$ npx skills add Code-and-Sorts/awesome-copilot-agents --skill calculator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Code-and-Sorts/awesome-copilot-agents calculator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Code-and-Sorts/awesome-copilot-agents.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/calculator .claude/skills/calculator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
calculator
GitHub stars
579
Used in
1 other repo
Token cost
~470 tokens
SKILL.md length
142 words
Files
8 (incl. scripts)
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

Performs arbitrary-precision arithmetic calculations including addition, subtraction, multiplication, division, and exponents.

  • The user asks to calculate
  • SKILL.md covers When to Use, Supported Operations, Usage and Examples, plus 2 more sections
  • Runs TypeScript and JavaScript scripts from its folder; calls npm
  • Evaluate math expressions

What it does

Calculator is an agent skill from Code-and-Sorts/awesome-copilot-agents. Performs arbitrary-precision arithmetic calculations including addition, subtraction, multiplication, division, and exponents. Use when the user asks to calculate, compute, or evaluate math expressions, or when precise decimal arithmetic is needed to avoid floating-point errors.

Its SKILL.md is about 470 tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including scripts (for example `scripts/jest.config.js`, `scripts/package-lock.json` and `scripts/package.json`). Compatibility notes: Requires Node.js and npm

The repository describes itself as: ✨ A curated list of awesome GitHub instructions, prompt, skills, MCPs and agent markdown files for enhancing your GitHub Copilot AI experience. The licence is MIT.

When your agent uses it

  • The user asks to calculate
  • Evaluate math expressions
  • Precise decimal arithmetic is needed to avoid floating-point errors

Example prompts

  • “Use the calculator skill to perform arbitrary-precision arithmetic calculations including addition, subtraction, multiplication, division, and…”
  • “/calculator”

Requirements

  • Node.js
  • Compatibility (from SKILL.md): Requires Node.js and npm

What it can do on your machine

Read from SKILL.md and the folder at commit a26d912. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 7 files in scripts/ (TypeScript and JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires Node.js and npm

    From compatibility in the SKILL.md frontmatter.

Context cost

Calculator loads about 470 tokens when it runs. Until then it costs about 73 tokens; SKILL.md has 142 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~73
When it runs · the whole SKILL.md, loaded when a task matches
~470

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from Code-and-Sorts/awesome-copilot-agents at commit a26d912, republished under its MIT licence (© Code-and-Sorts). 142 words, ~470 tokens.

Download SKILL.mdSave it as .claude/skills/calculator/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
calculator
description
Performs arbitrary-precision arithmetic calculations including addition, subtraction, multiplication, division, and exponents. Use when the user asks to calculate, compute, or evaluate math expressions, or when precise decimal arithmetic is needed to avoid floating-point errors.
compatibility
Requires Node.js and npm
license
MIT
metadata.author
Colby Timm
metadata.version
1.0

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

OperatorDescriptionPrecedence
+Addition1
-Subtraction1
*Multiplication2
/Division2
^Exponent (right-associative)3
()ParenthesesHighest

Usage

bash
cd scripts
npm ci || npm install
npm run build
npm run calculate "<expression>"

Examples

InputOutput
"3 + 2"5
"10 / 4"2.5
"2 ^ 10"1024
"(2 + 3) * 4"20
"1 + 4.5 * (3-6) / 5"-1.7
"-5 + 3"-2
"2 ^ 3 ^ 2"512 (right-associative: 2^9)

Edge Cases

  • Empty expression: Throws "Empty expression" error
  • Mismatched parentheses: Throws "Mismatched parentheses" error
  • Division by zero: big.js throws an error
  • Exponent must be integer: big.js .pow() requires integer exponents

Limitations

  • No trigonometric functions (sin, cos, tan)
  • No variables or symbolic math
  • Exponents must be integers
  • No factorial, modulo, or bitwise operators

© Code-and-Sorts, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 7 other files (scripts) in skills/calculator of Code-and-Sorts/awesome-copilot-agents.

  • SKILL.md
  • scripts/jest.config.js
  • scripts/package-lock.json
  • scripts/package.json
  • scripts/src/calculator.test.ts
  • scripts/src/calculator.ts
  • scripts/src/run.ts
  • scripts/tsconfig.json

Open the folder on GitHubat commit a26d912

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in Code-and-Sorts/awesome-copilot-agents, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Calculator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Calculator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Calculator this skillCode-and-Sorts/awesome-copilot-agents5791 repos~470Automated safety check: PassMIT
React Performanceaffaan-m/ECC275k1 repos~4.5kAutomated safety check: PassMIT
Performance Profileralirezarezvani/claude-skills28k—~684Automated safety check: PassMIT
Agent Performance Optimizerruvnet/ruflo74k2 repos~3.6kAutomated safety check: PassMIT
Handsontable Performance Testinghandsontable/handsontable22k—~3.4kAutomated safety check: PassCustom licence
Performance Managementsickn33/agentic-awesome-skills47k1 repos~4.1kAutomated safety check: PassMIT

Similar skills

  • React Performance

    affaan-m/ECC

    React and Next.js performance optimization patterns adapted from Vercel Engineering's React Best Practices (https://github.com/vercel-labs/agent-skills).

    275k GitHub starsUsed in 1 repo~4.5k tokens
    DevelopmentAuto-check passed
  • Performance Profiler

    alirezarezvani/claude-skills

    Systematic performance profiling for Node.js, Python, and Go applications.

    28k GitHub stars~684 tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Agent skill for performance-optimizer - invoke with $agent-performance-optimizer

    74k GitHub starsUsed in 2 repos~3.6k tokens
    Auto-check passed
  • Handsontable Performance Testing

    handsontable/handsontable

    Guide to Handsontable's performance-tests package: Playwright scenarios measured through CDP traces and compared against golden baselines taken from the develop branch.

    22k GitHub stars~3.4k tokensUpdated today
    Testing & QAAuto-check passed
  • Performance Management

    sickn33/agentic-awesome-skills

    Performance review register: review type, period, employee and reviewer, KPI, OKR and behaviour scores, overall rating, PIP and promotion flags, development plan.

    47k GitHub starsUsed in 1 repo~4.1k tokens
    Business, Finance & HRAuto-check passed
  • Performance

    udecode/plate

    Review performance lanes with GitHub-scale tactics not owned by Vercel React rules: cohort segmentation, repeated-unit budgets, interaction-level INP, memory tagging, degradation contracts, browser…

    17k GitHub stars~2.6k tokensUpdated today
    Auto-check passed

More from Code-and-Sorts/awesome-copilot-agents

  • Azure Prices

    Code-and-Sorts/awesome-copilot-agents

    Look up and compare Azure service pricing using the Azure Retail Prices API.

    579 GitHub stars~905 tokensUpdated 5 mo ago
    Auto-check passed
  • Jira CLI

    Code-and-Sorts/awesome-copilot-agents

    Interact with Jira from the command line to create, list, view, edit, and transition issues, manage sprints and epics, and perform common Jira workflows.

    579 GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed
  • Az CLI

    Code-and-Sorts/awesome-copilot-agents

    Use the Azure CLI (az) to manage Azure resources from the command line.

    579 GitHub stars~8.2k tokensUpdated 5 mo ago
    Auto-check passed

Questions about Calculator

What does Calculator do?

Performs arbitrary-precision arithmetic calculations including addition, subtraction, multiplication, division, and exponents. Calculator is an agent skill from Code-and-Sorts/awesome-copilot-agents. Performs arbitrary-precision arithmetic calculations including addition, subtraction, multiplication, division, and exponents.

When should I use Calculator?

Calculator fits situations like: the user asks to calculate; evaluate math expressions; precise decimal arithmetic is needed to avoid floating-point errors.

How do I install Calculator in Claude Code?

Run `npx skills add Code-and-Sorts/awesome-copilot-agents --skill calculator -a claude-code`. Or copy the skill folder (skills/calculator in Code-and-Sorts/awesome-copilot-agents) into .claude/skills/calculator in your project. Claude Code loads it when a task matches its description.

How do I install Calculator in Codex?

Run `npx skills add Code-and-Sorts/awesome-copilot-agents --skill calculator -a codex`. Or copy the skill folder (skills/calculator in Code-and-Sorts/awesome-copilot-agents) into .agents/skills/calculator in your project. Codex loads it when a task matches its description.

Can I use Calculator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Code-and-Sorts/awesome-copilot-agents --skill calculator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/calculator, .gemini/skills/calculator, .github/skills/calculator and .opencode/skills/calculator in your project.

What does Calculator need to run?

Going by SKILL.md and its folder, Calculator needs TypeScript and JavaScript for the scripts in its folder and the command-line tools its instructions call (npm). Our summary lists: Node.js. Compatibility (from SKILL.md): Requires Node.js and npm.

Does Calculator access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Calculator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Calculator use?

Calculator is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Calculator use?

About 470 tokens (SKILL.md is roughly 1.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Calculator?

Skills that share tags, products or a category with Calculator: React Performance (affaan-m/ECC, 275k stars), Performance Profiler (alirezarezvani/claude-skills, 28k stars), Agent Performance Optimizer (ruvnet/ruflo, 74k stars) and Handsontable Performance Testing (handsontable/handsontable, 22k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Calculator?

Code-and-Sorts (a GitHub organization) maintains it in Code-and-Sorts/awesome-copilot-agents, which has 579 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on April 29, 2026.

Source: Code-and-Sorts/awesome-copilot-agents on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.