Agent Skills
› parcadei/Continuous-Claude-v3
› math-router
math-router
GitHub数学意图路由器,通过CLI将用户请求映射为具体计算命令,支持符号运算、几何、证明等场景,实现快速准确的自动化处理。
Trigger Scenarios
用户提出数学计算或求解问题
需要执行特定的数学工具命令
Install
npx skills add parcadei/Continuous-Claude-v3 --skill math-router -g -y
SKILL.md
Frontmatter
{
"name": "math-router",
"priority": "high",
"triggers": [
"math",
"calculate",
"compute",
"solve",
"integrate",
"derivative",
"plot",
"convert",
"prove"
],
"description": "Deterministic router for math cognitive stack - maps user intent to exact CLI commands",
"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
# 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
- User says: "integrate sin(x) from 0 to pi"
- You run:
uv run python scripts/cc_math/math_router.py route "integrate sin(x) from 0 to pi" - Router returns:
{ "command": "uv run python scripts/cc_math/sympy_compute.py integrate \"sin(x)\" --var x --lower 0 --upper pi", "confidence": 0.95 } - You execute the returned command
- 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:
- Ask user to clarify
- Or use individual skills: /sympy-compute, /z3-solve, /pint-compute, etc.
Version History
- d07ff4b Current 2026-08-20 12:47


