Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
parcadei avatar

Math Router

  • 471 installs
  • 3.9k repo stars
  • Updated January 26, 2026
  • parcadei/continuous-claude-v3

math-router is a deterministic math intent router skill that maps calculate, integrate, derivative, and plot requests to exact CLI commands for developers who need reliable math execution in agent workflows.

About

math-router is a high-priority, non-user-invocable router for the continuous-claude-v3 math cognitive stack. Instead of loading individual math skill documentation, an agent runs uv run python scripts/cc_math/math_router.py route "<user's math request>" to receive the exact downstream CLI command. Triggers include math, calculate, compute, solve, integrate, derivative, plot, convert, and prove, and the readme mandates using this router first for any math request. A developer reaches for math-router when wiring agents that must deterministically dispatch calculus, plotting, unit conversion, or proof tasks without guessing command strings.

  • math-router

Math Router by the numbers

  • 471 all-time installs (skills.sh)
  • +2 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #866 of 4,347 Backend & APIs skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/parcadei/continuous-claude-v3 --skill math-router

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs471
repo stars3.9k
Last updatedJanuary 26, 2026
Repositoryparcadei/continuous-claude-v3

How do agents route math requests to the right CLI command?

Use math-router for development tasks

Who is it for?

Agent maintainers who need a single deterministic entrypoint before calculus, plotting, conversion, or proof commands in continuous-claude-v3.

Skip if: Developers solving one-off math by hand or without the continuous-claude math_router.py script should skip math-router.

When should I use this skill?

A user message matches math triggers like integrate, derivative, plot, convert, prove, calculate, or solve.

What you get

Deterministic CLI command string, routed math handler name, and ready-to-execute uv run invocation.

  • routed CLI command
  • math handler selection

Files

SKILL.mdMarkdownGitHub ↗

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

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

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

Related skills

FAQ

What command does math-router execute?

math-router runs uv run python scripts/cc_math/math_router.py route "<user's math request>" to return the exact CLI command for the matched math handler.

Which keywords trigger math-router?

math-router lists triggers math, calculate, compute, solve, integrate, derivative, plot, convert, and prove, and the readme says to use it first for math requests.

Can end users invoke math-router directly?

math-router is user-invocable false; agents call the router script to obtain downstream commands instead of exposing the router as a slash command.

Backend & APIsbackendintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.