math-router

Solid

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

API & Backend 3,795 stars 297 forks Updated 4 months ago MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
100
Recency 20%
50
Frontmatter 20%
70
Documentation 15%
86
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

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

Details

Author
parcadei
Repository
parcadei/Continuous-Claude-v3
Created
5 months ago
Last Updated
4 months ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category