Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
Back to list

SymPy Symbolic Math Assistant

Guides Claude to do exact symbolic math in Python with SymPy — algebra, calculus, solvers, matrices — and export results as code or LaTeX.

Dev & CodingIntermediate33,0303,248AI score 9/10Last updated: Aug 9, 2026

What it does

  • Directs Claude to use SymPy for exact symbolic computation instead of floating-point approximation: equation solving (solve, solveset, linsolve, nonlinsolve, dsolve), derivatives, integrals, limits, series, symbolic linear algebra, number theory, geometry and physics.
  • Encodes practical rules: declare symbols first, use assumptions like positive=True, keep arithmetic exact with Rational/S, and switch to lambdify for fast NumPy evaluation.
  • Includes integration snippets for NumPy, SciPy and Matplotlib, code generation (Python/C/Fortran), LaTeX/pretty printing, and a troubleshooting list of five common failures.
  • Deep-dive material lives in modular reference files (core capabilities, matrices, physics/mechanics, advanced topics, code generation) loaded on demand.

Who it's for

  • Researchers and students who need verifiable symbolic results and LaTeX-ready formulas.
  • Scientific/engineering developers deriving expressions symbolically before compiling them into numeric functions.
  • Anyone who needs closed-form answers rather than rounded numbers.

Examples

  1. "Solve x² − 5x + 6 = 0 and verify each root" → solve then simplify(expr.subs(...)) == 0.
  2. "Differentiate sin(x)/x and plot it over [-10, 10]" → symbolic difflambdify(..., 'numpy') → Matplotlib.
  3. "Evaluate ∫₀^∞ x·e^(−x²) dx and give me the LaTeX" → integrate plus latex() output.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/K-Dense-AI/scientific-agent-skills/HEAD/skills/sympy/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the skills/sympy folder from the GitHub repo K-Dense-AI/scientific-agent-skills into my ~/.claude/skills/sympy/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/K-Dense-AI/scientific-agent-skills.git && mkdir -p ~/.claude/skills && cp -r scientific-agent-skills/skills/sympy ~/.claude/skills/

This is a third-party skill. Check the source repository before installing.

  1. Open a terminal and confirm Python 3.9+ with python --version.
  2. Install the library: pip install "sympy>=1.14" (optionally pip install numpy scipy matplotlib for the lambdify/plotting examples).
  3. Clone the skill repo: git clone https://github.com/K-Dense-AI/scientific-agent-skills.git
  4. Copy the skill into place: mkdir -p ~/.claude/skills && cp -r scientific-agent-skills/skills/sympy ~/.claude/skills/
  5. Verify that ~/.claude/skills/sympy contains both SKILL.md and the references/ folder — the detailed guides won't load without it.
  6. Restart Claude Code and try a prompt such as "Use SymPy to solve this ODE symbolically".