Agent skill

sympy

Use when you need exact symbolic math in Python — algebra, calculus, equation solving, symbolic linear algebra, or code generation via lambdify/LaTeX. Prefer NumPy or SciPy when floating-point approximations are sufficient.

K-Dense-AIgithub.com/K-Dense-AIGitHub ↗
claude-codecan modify filesMIT
Install
npx skills add K-Dense-AI/scientific-agent-skills --skill sympy --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 7
SKILL.md size: 10 KB
Bundled scripts: none
Version: 1.2
Allowed tools: ReadWriteEditBash
Requires: Requires Python 3.9+ and SymPy 1.14+. Optional NumPy/SciPy/Matplotlib for lambdify examples; C/Fortran compiler for…
Path: skills/sympy/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 32,619
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# SymPy - Symbolic Mathematics in Python ## Overview SymPy is a Python library for symbolic mathematics that enables exact computation using mathematical symbols rather than numerical approximations. This skill provides comprehensive guidance for performing symbolic algebra, calculus, linear algebra, equation solving, physics calculations, and code generation using SymPy. ## Installation Tested against **SymPy 1.14.0** (stable; April 2025). Requires **Python 3.9+**. ```bash # Install SymPy using uv uv pip install "sympy>=1.14" # Optional: for lambdify and plotting examples uv pip install numpy scipy matplotlib ``` Check your version: ```python import sympy print(sympy.__version__) ``` ## When to Use This Skill Use this skill when: - Solving equations symbolically (algebraic, differential, systems of equations) - Performing calculus operations (derivatives, integrals, limits, series) - Manipulating and simplifying algebraic expressions - Working with matrices and linear algebra symbolically - Doing physics calculations (mechanics, quantum mechanics, vector analysis) - Number theory computations (primes, factorization, modular arithmetic) - Geometric calculations (2D/3D geometry, ana

What's inside
Steps it walks through
  1. Overview
  2. Installation
  3. When to Use This Skill
  4. Core Capabilities
  5. Working with SymPy: Best Practices
  6. 1. Always Define Symbols First
  7. 2. Use Assumptions for Better Simplification
  8. 3. Use Exact Arithmetic
  9. 4. Numerical Evaluation When Needed
  10. 5. Convert to NumPy for Performance
  11. 6. Use Appropriate Solvers
  12. Reference Files Structure
  13. Common Use Case Patterns
  14. Pattern 1: Solve and Verify
Ships with 6 files
  • references/advanced-topics.md
  • references/code-generation-printing.md
  • references/core-capabilities.md
  • references/core_capabilities.md
  • references/matrices-linear-algebra.md
  • references/physics-mechanics.md
Commands it runs
Install SymPy using uv
uv pip install "sympy>=1.14"
uv pip install numpy scipy matplotlib
More from scientific-agent-skills
All skills →
About this skill
What does the sympy skill do?

Use when you need exact symbolic math in Python — algebra, calculus, equation solving, symbolic linear algebra, or code generation via lambdify/LaTeX. Prefer NumPy or SciPy when floating-point approximations are sufficient.

How do I install it?

Run `npx skills add K-Dense-AI/scientific-agent-skills --skill sympy --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From K-Dense-AI/scientific-agent-skills, a repository with 32,619 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going