math-router
Deterministic router for math cognitive stack - maps user intent to exact CLI commands
By parcadei · 489 installs
npx skills add parcadei/continuous-claude-v3 --skill math-router
Source repository · Upstream listing
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
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:
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
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.