mcpbeat Sign in

Math Skill for Claude

Unified math capabilities - computation, solving, and explanation. I route to the right tool.

2k tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
1
copies elsewhere
how many repositories repackaged it
3880
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/parcadei/Continuous-Claude-v3 --skill math

The instruction itself

15 sections, as written by the author

/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 |

| series | Taylor expansion | series "exp(x)" --var x --point 0 --n 5 |

| dsolve | Solve ODE | dsolve "f''(x) + f(x)" --func f --var x |

| laplace | Laplace transform | laplace "sin(t)" --var t |

Matrix Operations:

| Command | Description |

|---------|-------------|

| det | Determinant |

| eigenvalues | Eigenvalues |

| eigenvectors | Eigenvectors with multiplicities |

| inverse | Matrix inverse |

| transpose | Transpose |

| rref | Row echelon form |

| rank | Matrix rank |

| nullspace | Null space basis |

| linsolve | Linear system Ax=b |

| charpoly | Characteristic polynomial |

Number Theory:

| Command | Description |

|---------|-------------|

| factor | Factor polynomial |

| factorint | Prime factorization |

| isprime | Primality test |

| gcd | Greatest common divisor |

| lcm | Least common multiple |

| modinverse | Modular inverse |

Combinatorics:

| Command | Description |

|---------|-------------|

| binomial | C(n,k) |

| factorial | n! |

| permutation | P(n,k) |

| partition | Integer partitions p(n) |

| catalan | Catalan numbers |

| bell | Bell numbers |


Z3 (Constraint Solving)

uv run python "$CLAUDE_PROJECT_DIR/.claude/scripts/cc_math/z3_solve.py" <command> <args>

| Command | Use Case |

|---------|----------|

| sat | Is this satisfiable? |

| prove | Is this always true? |

| optimize | Find min/max subject to constraints |


Pint (Units)

uv run python "$CLAUDE_PROJECT_DIR/.claude/scripts/cc_math/pint_compute.py" convert <value> <from_unit> <to_unit>

Example: convert 5 miles kilometers


Math Router (Auto-Route)

uv run python "$CLAUDE_PROJECT_DIR/.claude/scripts/cc_math/math_router.py" route "<natural language request>"

Returns the exact command to run. Use when unsure which script.


Topic Skills (For Explanation)

When the request is "explain X" or "what is X", I reference these:

| Topic | Skill Location | Key Concepts |

|-------|----------------|--------------|

| Abstract Algebra | math/abstract-algebra/ | Groups, rings, fields, homomorphisms |

| Category Theory | math/category-theory/ | Functors, natural transformations, limits |

| Complex Analysis | math/complex-analysis/ | Analytic functions, residues, contour integrals |

| Functional Analysis | math/functional-analysis/ | Banach spaces, operators, spectra |

| Linear Algebra | math/linear-algebra/ | Matrices, eigenspaces, decompositions |

| Mathematical Logic | math/mathematical-logic/ | Propositional, predicate, proof theory |

| Measure Theory | math/measure-theory/ | Lebesgue, σ-algebras, integration |

| Real Analysis | math/real-analysis/ | Limits, continuity, convergence |

| Topology | math/topology/ | Open sets, compactness, connectedness |

| ODEs/PDEs | math/odes-pdes/ | Differential equations, boundary problems |

| Optimization | math/optimization/ | Convex, LP, gradient methods |

| Numerical Methods | math/numerical-methods/ | Approximation, error analysis |

| Graph/Number Theory | math/graph-number-theory/ | Graphs, primes, modular arithmetic |

| Information Theory | math/information-theory/ | Entropy, coding, channels |


Routing Logic

I decide based on your request:

"solve/calculate/compute" → SymPy (exact symbolic)
"is X always true?" → Z3 (constraint proving)
"convert units" → Pint
"explain/what is" → Topic skill for context
"prove formally" → Redirect to /prove

Examples

Solve Equation

User: Solve x² - 5x + 6 = 0
Claude: uv run python "$CLAUDE_PROJECT_DIR/.claude/scripts/cc_math/sympy_compute.py" solve "x**2 - 5*x + 6" --var x
Result: x = 2 or x = 3

Compute Eigenvalues

User: Find eigenvalues of [[2, 1], [1, 2]]
Claude: uv run python "$CLAUDE_PROJECT_DIR/.claude/scripts/cc_math/sympy_compute.py" eigenvalues "[[2,1],[1,2]]"
Result: {1: 1, 3: 1}  (eigenvalue 1 with multiplicity 1, eigenvalue 3 with multiplicity 1)

Prove Inequality

User: Is x² + y² ≥ 2xy always true?
Claude: uv run python "$CLAUDE_PROJECT_DIR/.claude/scripts/cc_math/z3_solve.py" prove "x**2 + y**2 >= 2*x*y"
Result: PROVED (equivalent to (x-y)² ≥ 0)

Convert Units

User: How many kilometers in 26.2 miles?
Claude: uv run python "$CLAUDE_PROJECT_DIR/.claude/scripts/cc_math/pint_compute.py" convert 26.2 miles kilometers
Result: 42.16 km

When to Use /prove Instead

Use /prove when you need:

  • Machine-verified formal proof (Lean 4)
  • Category theory proofs (functors, Yoneda, etc.)
  • Publication-quality verification
  • Abstract algebra proofs

/math is for computation. /prove is for verification.

Other skills for the same job

different authors, same section of the catalogue
Protocolsio Integration
by christophacham
×4

Integration with protocols.io API for managing scientific protocols. This skill should be used when working with protocols.io to search, create, update, or publish protocols; manage protocol steps and materials; handle discussions and comments; organize workspaces; upload and manage files; or integrate protocols.io functionality into workflows. Applicable for protocol discovery, collaborative protocol development, experiment tracking, lab protocol management, and scientific documentation.

16k tokens
Tailored Resume Generator
by frostant
×4

Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances

3k tokens
Excalidraw Diagram Generator
by github
vendor ×3

Generate Excalidraw diagrams from natural language descriptions. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", or "generate an Excalidraw file". Supports flowcharts, relationship diagrams, mind maps, and system architecture diagrams. Outputs .excalidraw JSON files that can be opened directly in Excalidraw.

36k tokens scripts
Expo Dev Client
by openai
vendor ×3

Build and distribute Expo development clients locally or via TestFlight

961 tokens
Executing Plans
by ZhanlinCui
×3

Use when you have a written implementation plan to execute in a separate session with review checkpoints

542 tokens
Anndata
by christophacham
×3

Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.

16k tokens
Benchling Integration
by christophacham
×3

Benchling R&D platform integration. Access registry (DNA, proteins), inventory, ELN entries, workflows via API, build Benchling Apps, query Data Warehouse, for lab data management automation.

14k tokens
Biopython
by christophacham
×3

Comprehensive molecular biology toolkit. Use for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Best for batch processing, custom bioinformatics pipelines, BLAST automation. For quick lookups use gget; for multi-service integration use bioservices.

24k tokens

How to use it

Copy the folder

Take parcadei/math from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.