计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
math-router【效率与协作】Deterministic router for math cognitive stack - maps user intent to exact CLI commands
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
ALWAYS use this router first for math requests.
Instead of reading individual skill documentation, call the router to get the exact command:
# Route any math intent to get the CLI command
uv run python scripts/cc_math/math_router.py route "<user's math request>"
uv run python scripts/cc_math/math_router.py route "integrate sin(x) from 0 to pi"{
"command": "uv run python scripts/cc_math/sympy_compute.py integrate \"sin(x)\" --var x --lower 0 --upper pi",
"confidence": 0.95
}
| 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 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
If the router returns {"command": null}, the intent wasn't recognized. Then: