Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

SymPy — Claude Code skill: symbolic math in Python

Skill for exact symbolic computation: algebra, differential equations, matrices, physics. When you need √2 exactly instead of 1.414, not numerical approximations.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add K-Dense-AI/scientific-agent-skills --skill sympy -a claude-code
Open on GitHub

What sympy does

SymPy solves symbolic math problems where exact answers matter. It works with algebraic expressions, takes derivatives and integrals, solves equations and systems, manipulates matrices, computes physics quantities. The skill guides you to the right solver (solveset for algebraic equations, dsolve for ODEs, linsolve for linear systems), how to add assumptions about variables (real, positive, integer), and how to convert formulas to code.

Requires Python 3.9+, SymPy 1.14.0, and mpmath 1.3.0. For plots and fast numerical work, add NumPy, SciPy, and Matplotlib. When you need to evaluate the same formula thousands of times, the skill recommends lambdify—convert a symbolic expression to a NumPy function for vectorised computation.

Includes seven reference guides: symbolic basics, matrices and linear algebra, mechanics and physics, advanced topics (geometry, number theory). Not for pure numerical work—use SciPy or NumPy instead.

What it helps with

  • Find exact solution to an equation or system of equations
  • Compute derivative, integral, or series expansion
  • Simplify an algebraic expression with symbols
  • Solve a differential equation
  • Convert a formula to Python code or LaTeX

Example prompts for the agent

  • Solve x² + 2x - 8 = 0 symbolically and show where to use it
  • Find and simplify the derivative of sin(x) * exp(x)
  • Solve the system: 2x + y = 5, x - y = 1

How to install sympy

1Skills CLI (Vercel)

npx skills add K-Dense-AI/scientific-agent-skills --skill sympy -a claude-code

2Manually: put the files in place

~/.claude/skills/sympy/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/sympy/

From the same set120

The whole set →
scientific-visualization K-Dense-AI Generates and audits publication-ready scientific figures in Matplotlib, Seaborn, and Plotly, focusing on truthful data encoding and accessibility. Claude Code CX Codex Cursor +1 2,400installs scientific-writing K-Dense-AI This skill drafts and audits scientific manuscripts and reports while tying claims to verified evidence. Use it for sections, references, declarations, and submission checks. Claude Code CX Codex Cursor +1 2,400installs statistical-analysis K-Dense-AI Runs hypothesis tests with assumption checking, effect sizes, and APA-formatted reports. Covers t-tests, ANOVA, correlation, regression, non-parametric and Bayesian methods. Claude Code CX Codex Cursor +1 2,300installs scientific-brainstorming K-Dense-AI Structures early-stage research ideation through independent idea generation, transparent scoring, and adversarial review. Useful for ranking hypotheses without premature consensus. Claude Code CX Codex Cursor +1 2,300installs literature-review K-Dense-AI This skill searches and synthesizes research literature, checks citations, and prepares Markdown or PDF reviews. Use it for reproducible searches and screening. Claude Code CX Codex Cursor +1 2,300installs scientific-critical-thinking K-Dense-AI Evaluates scientific claims, research methodology, and evidence quality. Applies GRADE and Cochrane Risk of Bias frameworks. Claude Code CX Codex Cursor +1 2,300installs scientific-schematics K-Dense-AI Creates PNG drafts of scientific diagrams and runs a separate quality review. Use it for neural network architectures, flowcharts, system diagrams, and biological pathways. Claude Code CX Codex Cursor +1 2,200installs scikit-learn K-Dense-AI A skill for Python machine learning tasks: classification, regression, clustering, preprocessing, and building ML pipelines with scikit-learn 1.9.1. Claude Code CX Codex Cursor +1 2,200installs

Similar

recsys-pipeline-architect Seth Hobson Designs six-stage recommendation, ranking, and feed pipelines. Use it when a system must choose the top K items for a user and context. Claude Code CX Codex Cursor 4,200installs gtm-ai-gtm official Smit Patel (https://linkedin.com/in/smitkpatel) This skill helps take AI products to market by choosing positioning, handling failure-ownership objections, and shaping pricing for variable usage. GitHub Copilot 1,600installs deep-agents-memory langchain-ai A skill that maps where a Deep Agent keeps its files: thread state, a persistent store, or the real disk. Useful once the agent starts dropping context. Claude Code CX Codex Cursor +1 19,000installs azure-architecture-autopilot official github Design Azure infrastructure from a prompt or inspect existing resources, then work through diagrams, Bicep generation and deployment. Use it for a new build or changes to an existing setup. GitHub Copilot 1,500installs agent-owasp-compliance official github Checks an AI agent codebase against the 10 OWASP ASI risks. Use it before production deployment, for security review, or when preparing an audit report. GitHub Copilot 1,500installs skill-creator official anthropics Creates and refines skills, then tests them with prompts, evaluations, and performance checks. Claude Code Claude.ai 414,180installs writing-for-agents Matt Pocock Guidance for writing skills and agent-facing documents. Use it when editing AGENTS.md, CLAUDE.md, or reference files reached from them. Claude Code 466,719installs media-use heygen-com Finds or generates media for HyperFrames videos, including voiceovers, music, cutouts, and color grades. Stores files locally in assets. Claude Code CX Codex Cursor +1 1,100,000installs

Questions about sympy

How do I install the SymPy skill in Claude Code?

Run npx skills add K-Dense-AI/scientific-agent-skills --skill sympy -a claude-code in your terminal, then open ~/.claude/skills/sympy/SKILL.md.

When should I use SymPy instead of NumPy?

Use SymPy for exact symbolic results and analytical solutions (√2, π, ∞). Use NumPy for numerical approximations and large datasets. If you need to evaluate one formula thousands of times, SymPy suggests converting the expression to a NumPy function with lambdify.

Which assumptions should I set for simplification?

Add assumptions (real, positive, integer, even, odd, and others) only when the problem requires them. Without assumptions, a variable is complex, and √x² won't simplify to x. Check whether an assumption is actually necessary, or your result will be wrong.

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor