math-router

math-router is a skill for Claude Code from parcadei/Continuous-Claude-v3. It costs 19 tokens per session (530 once invoked), scanned A, original, MIT.

A deterministic router for mathematical requests that selects the matching command and script from a collection of calculation, proof, geometry, and tutoring tools.

In plain words
What is it for?
Use it to route requests for equation solving, calculus, matrix operations, unit conversion, geometry, theorem proving, satisfiability checks, and optimization.
Why use it?
It saves time when you know what you want to do mathematically but do not know which command or script to run.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run python scripts/cc_math/math_router.py route "<user's math request>".

not rated 4.0krepo +4 14d ago A scan Socket: passSnyk: passSkillSpector: pass 19 tokens original MIT

Good fit Use it to route requests for equation solving, calculus, matrix operations, unit conversion, geometry, theorem proving, satisfiability checks, and optimization.

Compare 6 skills from other repositories ↓
About the project

Continuous-Claude-v3 is a Claude Code development environment that preserves working context between sessions, coordinates specialized agents, and stores project knowledge through ledgers, handoffs, and analysis tools. It is for people using Claude Code on ongoing or complex software work. Its catalogue entries are the skills, agents, hooks, plugin, and setting that provide its workflows and orchestration.

parcadei/Continuous-Claude-v3 · 3,953 stars · on GitHub

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/parcadei/Continuous-Claude-v3
agentmods
npx agentmods add skills/parcadei/continuous-claude-v3/math-router

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for math-router

README.md
[![agentmods](https://agentmods.dev/badge/skills/parcadei/continuous-claude-v3/math-router/github.svg)](https://agentmods.dev/skills/parcadei/continuous-claude-v3/math-router)
Your own site
<a href="https://agentmods.dev/skills/parcadei/continuous-claude-v3/math-router"><img src="https://agentmods.dev/badge/skills/parcadei/continuous-claude-v3/math-router/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for math-router

Your own site · 80×15
<a href="https://agentmods.dev/skills/parcadei/continuous-claude-v3/math-router"><img src="https://agentmods.dev/badge/skills/parcadei/continuous-claude-v3/math-router.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 530 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 18 Sept 2026
  • Snyk pass 18 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00019 $0.00530
Opus 5.5 $0.00008 $0.00212
Sonnet 5.5 $0.00004 $0.00106
Haiku 4.5 $0.00002 $0.00053

Measured 2mo ago against content hash df3c8a3dc098, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

math-router scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/math-router/SKILL.md · 70 lines

What it actually says

Math Router

ALWAYS use this router first for math requests.

Instead of reading individual skill documentation, call the router to get the exact command:

Usage

# Route any math intent to get the CLI command
uv run python scripts/cc_math/math_router.py route "<user's math request>"

Example Workflow

  1. User says: "integrate sin(x) from 0 to pi"
  2. You run: uv run python scripts/cc_math/math_router.py route "integrate sin(x) from 0 to pi"
  3. Router returns:
    {
      "command": "uv run python scripts/cc_math/sympy_compute.py integrate \"sin(x)\" --var x --lower 0 --upper pi",
      "confidence": 0.95
    }
    
  4. You execute the returned command
  5. Return result to user

Why Use The Router

  • Faster: No need to read skill docs
  • Deterministic: Pattern-based, not LLM inference
  • Accurate: Extracts arguments correctly
  • Complete: Covers 32 routes across 7 scripts

Available Routes

Category Commands
sympy integrate, diff, solve, simplify, limit, det, eigenvalues, inv, expand, factor, series, laplace, fourier
pint convert, check
shapely create, measure, pred, op
z3 prove, sat, optimize
scratchpad verify, explain
tutor hint, steps, generate
plot plot2d, plot3d, latex

List All Commands

# List all available routes
uv run python scripts/cc_math/math_router.py list

# List routes by category
uv run python scripts/cc_math/math_router.py list --category sympy

Fallback

If the router returns {"command": null}, the intent wasn't recognized. Then:

  1. Ask user to clarify
  2. Or use individual skills: /sympy-compute, /z3-solve, /pint-compute, etc.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 70 lines · 19 tokens per session scan A df3c8a3dc098

Subscribe to this mod's changes

math-router is a skill published in the GitHub repository parcadei/Continuous-Claude-v3 (3,953 stars, last pushed 14d ago), licensed MIT. It adds 19 tokens to every session and 530 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

math-router compared with skills from other repositories

math-router next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
math-routerparcadei/Continuous-Claude-v3Skill4.0k14d agoMITA19Claude Code
explain-itsergeyklay/.agentsSkill65d agoApache-2.0A188Claude Code, Codex
processtuan3w/obsidian-vault-agentSkill448mo agoMITA134Claude Code
lecturetuan3w/obsidian-vault-agentSkill448mo agoMITA107Claude Code
recalltuan3w/obsidian-vault-agentSkill448mo agoMITA88Claude Code
self-learningychampion/claude-self-learningSkill917d agononeA54Claude Code
book-analyzertuan3w/obsidian-vault-agentSkill448mo agoMITB36Claude Code