SKILL.md
/math - Unified Math Capabilities
One entry point for all computation and explanation. I route to the right tool based on your request.
For formal proofs, use /prove instead.
Quick Examples
| You Say | I Use |
|---|---|
| "Solve x² - 4 = 0" | SymPy solve |
| "Integrate sin(x) from 0 to π" | SymPy integrate |
| "Eigenvalues of [[1,2],[3,4]]" | SymPy eigenvalues |
| "Is x² + 1 > 0 for all x?" | Z3 prove |
| "Convert 5 miles to km" | Pint |
| "Explain what a functor is" | Category theory skill |
Computation Scripts
SymPy (Symbolic Math)
uv run python "$CLAUDE_PROJECT_DIR/.claude/scripts/cc_math/sympy_compute.py" <command> <args>
| Command | Description | Example |
|---|---|---|
solve | Solve equations | solve "x**2 - 4" --var x |
integrate | Definite/indefinite integral | integrate "sin(x)" --var x --lower 0 --upper pi |
diff | Derivative | diff "x**3" --var x |
simplify | Simplify expression | simplify "sin(x)**2 + cos(x)**2" |
limit | Compute limit | limit "sin(x)/x" --var x --point 0 |
