Agent skill

Math Router

by parcadei in parcadei/Continuous-Claude-v3

Deterministic router for math cognitive stack - maps user intent to exact CLI commands

MITAuto-check passed

Install Math Router

skills CLI
$ npx skills add parcadei/Continuous-Claude-v3 --skill math-router -a claude-code

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

GitHub CLI
$ gh skill install parcadei/Continuous-Claude-v3 math-router --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/parcadei/Continuous-Claude-v3.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/math-router .claude/skills/math-router && 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
math-router
GitHub stars
3.9k
Used in
1 other repo
Token cost
~497 tokens
SKILL.md length
161 words
Files
1
Skills in repo
141
Repo updated
First seen
Licence
MIT

At a glance

Deterministic router for math cognitive stack - maps user intent to exact CLI commands

  • Works in 5 steps: User says: "integrate sin(x) from 0 to pi" → You run: uv run python… → Router returns → …
  • SKILL.md covers Usage, Example Workflow, Why Use The Router and Available Routes, plus 2 more sections
  • Calls uv

What it does

Math Router is an agent skill from parcadei/Continuous-Claude-v3. Deterministic router for math cognitive stack - maps user intent to exact CLI commands

Its SKILL.md is about 500 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Context management for Claude Code. Hooks maintain state via ledgers and handoffs. MCP execution without context pollution. Agent orchestration with isolated context windows. The licence is MIT.

Example prompts

  • “/math-router”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  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
  4. You execute the returned command
  5. Return result to user

What it can do on your machine

Read from SKILL.md and the folder at commit d07ff4b. 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

    Shell commands in SKILL.md call:

    • uv

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

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    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.

Context cost

Math Router loads about 497 tokens when it runs. Until then it costs about 25 tokens; SKILL.md has 161 words of instructions outside code blocks.

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

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); files beside SKILL.md are not scanned.

SKILL.md

The full file from parcadei/Continuous-Claude-v3 at commit d07ff4b, republished under its MIT licence (© parcadei). 161 words, ~497 tokens.

Download SKILL.mdSave it as .claude/skills/math-router/SKILL.md (or your agent's skills folder).
name
math-router
description
Deterministic router for math cognitive stack - maps user intent to exact CLI commands
triggers
math, calculate, compute, solve, integrate, derivative, plot, convert, prove
priority
high
user-invocable
false

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

bash
# 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:
    json
    {
      "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

CategoryCommands
sympyintegrate, diff, solve, simplify, limit, det, eigenvalues, inv, expand, factor, series, laplace, fourier
pintconvert, check
shapelycreate, measure, pred, op
z3prove, sat, optimize
scratchpadverify, explain
tutorhint, steps, generate
plotplot2d, plot3d, latex

List All Commands

bash
# 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.

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

Files

Just SKILL.md in .claude/skills/math-router of parcadei/Continuous-Claude-v3.

Open the folder on GitHubat commit d07ff4b

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 parcadei/Continuous-Claude-v3, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Math Router 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.

Math Router compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Math Router this skillparcadei/Continuous-Claude-v33.9k1 repos~497Automated safety check: PassMIT
Math Research Task Routertradecatlabs/vibe-coding-cn17k—~407Automated safety check: PassMIT
Token Mapnexu-io/open-design100k—~1.4kAutomated safety check: PassApache-2.0
Cognition Routerhashgraph-online/awesome-codex-plugins1.2k—~1.5kAutomated safety check: PassApache-2.0
Intent Routerangel291592/Intent-Router971—~7.9kAutomated safety check: PassMIT
SEO Persona Intent Mappinghashgraph-online/awesome-codex-plugins1.2k—~561Automated safety check: PassMIT

Similar skills

  • Math Research Task Router

    tradecatlabs/vibe-coding-cn

    Routes an unclear math research request to exactly one specialist skill, naming the current stage, the reason, the inputs needed, a stop condition and the next step.

    17k GitHub stars~407 tokensUpdated today
    Research & ScienceAuto-check passed
  • Token Map

    nexu-io/open-design

    Map an extracted Figma / source-code token bag onto the active OD design system, producing a deterministic mapping the generate stage can consume.

    100k GitHub stars~1.4k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Cognition Router

    hashgraph-online/awesome-codex-plugins

    A skill your agent uses whenever a design task involves cognition, mental models, learnability, complexity reduction, defaults, memory, scanning, or comprehension — regardless of framework or…

    1.2k GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Intent Router

    angel291592/Intent-Router

    Turns an underspecified do-something request into a typed IntentSpec by looking things up, asking only necessary questions or halting, before any planning or coding.

    971 GitHub stars~7.9k tokensUpdated 5 days ago
    Agent WorkflowsAuto-check passed
  • SEO Persona Intent Mapping

    hashgraph-online/awesome-codex-plugins

    Map SEO personas, search intent, funnel stage, expected content format, CTA, device context, and localization needs into actionable organic search plans.

    1.2k GitHub stars~561 tokensUpdated today
    Marketing & SEOAuto-check passed
  • Deterministic Design

    sickn33/agentic-awesome-skills

    Render the UI and prove it's balanced + usable: a deterministic layout audit (centroid / optical-center / pixel-oracle balance via explicit math + annotated screenshot) plus a vision-judged Nielsen…

    47k GitHub starsUsed in 1 repo~736 tokens
    Frontend & DesignAuto-check passed

More from parcadei/Continuous-Claude-v3

All 141 skills in this repo
  • Tldr Deep

    parcadei/Continuous-Claude-v3

    Full 5-layer analysis of a specific function. An agent skill from parcadei/Continuous-Claude-v3.

    3.9k GitHub starsUsed in 2 repos~677 tokens
    Auto-check passed
  • Compound Learnings

    parcadei/Continuous-Claude-v3

    Transform session learnings into permanent capabilities (skills, rules, agents).

    3.9k GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check: notes
  • Gradient Methods

    parcadei/Continuous-Claude-v3

    Problem-solving strategies for gradient methods in optimization

    3.9k GitHub starsUsed in 3 repos~1k tokens
    Auto-check: notes
  • Debug Hooks

    parcadei/Continuous-Claude-v3

    Systematic hook debugging workflow. An agent skill from parcadei/Continuous-Claude-v3.

    3.9k GitHub starsUsed in 1 repo~863 tokens
    Auto-check: notes
  • Math

    parcadei/Continuous-Claude-v3

    Unified math capabilities - computation, solving, and explanation.

    3.9k GitHub starsUsed in 3 repos~1.6k tokens
    Auto-check: notes
  • Math Model Selector

    parcadei/Continuous-Claude-v3

    Routes problems to appropriate mathematical frameworks using expert heuristics

    3.9k GitHub starsUsed in 3 repos~841 tokens
    Auto-check passed

Questions about Math Router

What does Math Router do?

Deterministic router for math cognitive stack - maps user intent to exact CLI commands. Math Router is an agent skill from parcadei/Continuous-Claude-v3.

How do I install Math Router in Claude Code?

Run `npx skills add parcadei/Continuous-Claude-v3 --skill math-router -a claude-code`. Or copy the skill folder (.claude/skills/math-router in parcadei/Continuous-Claude-v3) into .claude/skills/math-router in your project. Claude Code loads it when a task matches its description.

How do I install Math Router in Codex?

Run `npx skills add parcadei/Continuous-Claude-v3 --skill math-router -a codex`. Or copy the skill folder (.claude/skills/math-router in parcadei/Continuous-Claude-v3) into .agents/skills/math-router in your project. Codex loads it when a task matches its description.

Can I use Math Router 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 parcadei/Continuous-Claude-v3 --skill math-router -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/math-router, .gemini/skills/math-router, .github/skills/math-router and .opencode/skills/math-router in your project.

What does Math Router need to run?

Going by SKILL.md and its folder, Math Router needs the command-line tools its instructions call (uv). Our summary lists: Python 3.

Does Math Router access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Math Router 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. Review the folder before installing.

What licence does Math Router use?

Math Router is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Math Router use?

About 497 tokens (SKILL.md is roughly 2k 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 Math Router?

Skills that share tags, products or a category with Math Router: Math Research Task Router (tradecatlabs/vibe-coding-cn, 17k stars), Token Map (nexu-io/open-design, 100k stars), Cognition Router (hashgraph-online/awesome-codex-plugins, 1.2k stars) and Intent Router (angel291592/Intent-Router, 971 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Math Router?

parcadei (a GitHub user) maintains it in parcadei/Continuous-Claude-v3, which has 3,940 GitHub stars. The repository holds 141 skills in this directory. The repository was last updated on January 26, 2026.

Source: parcadei/Continuous-Claude-v3 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.