Tooluck logoTooluck
SKILL.md

sympy

Agent skill fromzLanqing/codex-claude-academic-skills

Use this skill when working with symbolic mathematics in Python. This skill should be used for symbolic computation tasks including solving equations algebraically, performing calculus operations (derivatives, integrals, limits), manipulating algebraic expressions, working with matrices symbolically, physics calculations, number theory problems, geometry computations, and generating executable code from mathematical expressions. Apply this skill when the user needs exact symbolic results rather than numerical approximations, or when working with mathematical formulas that contain variables and parameters.

How to install sympy

install sympy
# install the codex-claude-academic-skills pack with the skills CLI
npx skills add zLanqing/codex-claude-academic-skills

# or add only this skill to Claude Code: copy the folder

scientific-toolkit-skill/references/scientific-skills/sympy/

# into

~/.claude/skills/sympy/ (all projects)

.claude/skills/sympy/ (one project)

scientific-toolkit-skill/references/scientific-skills/sympy/SKILL.md

MITFull file
1# SymPy - Symbolic Mathematics in Python
2
3## Overview
4
5SymPy 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.
6
7## When to Use This Skill
8
9Use this skill when:
10- Solving equations symbolically (algebraic, differential, systems of equations)
11- Performing calculus operations (derivatives, integrals, limits, series)
12- Manipulating and simplifying algebraic expressions
13- Working with matrices and linear algebra symbolically
14- Doing physics calculations (mechanics, quantum mechanics, vector analysis)
15- Number theory computations (primes, factorization, modular arithmetic)
16- Geometric calculations (2D/3D geometry, analytic geometry)
17- Converting mathematical expressions to executable code (Python, C, Fortran)
18- Generating LaTeX or other formatted mathematical output
19- Needing exact mathematical results (e.g., `sqrt(2)` not `1.414...`)
20
21## Core Capabilities
22
23### 1. Symbolic Computation Basics
24
25**Creating symbols and expressions:**
26```python
27from sympy import symbols, Symbol
28x, y, z = symbols('x y z')
29expr = x**2 + 2*x + 1
30
31# With assumptions
32x = symbols('x', real=True, positive=True)
33n = symbols('n', integer=True)
34```
35
36**Simplification and manipulation:**
37```python
38from sympy import simplify, expand, factor, cancel
39…

Excerpt shown under the repository's MIT license.

More skills in codex-claude-academic-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates