Skip to content

Exact symbolic mathematics in Python for algebra, calculus, solving, and code generation, versus floating-point libraries.

CCM score
67 of 100
skills.sh installs
2.3K
GitHub stars
58.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers symbolic algebra, calculus, equation solving, linear algebra, physics mechanics, and advanced topics like number theory and geometry
  • Includes reference guides for matrices, physics, code generation with lambdify, and LaTeX printing, pinned to SymPy 1.14.0
  • Enforces explicit domains and assumptions, such as solveset with domain=S.Reals, and warns that ConditionSet is unresolved rather than empty
  • Designed for tasks needing exact results or symbolic verification; NumPy or SciPy suit purely numerical workloads

Install

$ npx -y skills add k-dense-ai/scientific-agent-skills --skill sympy -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

Reviewed against current official documentation and executed with SymPy 1.14.0 on Python 3.13.3 (2026-10-01). Core SymPy requires Python 3.9+; the tested NumPy 2.5.3 / SciPy 1.18.1 stack needs Python 3.12+. SymPy 1.14.0 requires mpmath>=1.1,<1.4; use the compatible 1.3.0, not the newer 1.4.x release. See verification and official sources for coverage.

# Install SymPy using uv
uv pip install "sympy==1.14.0"

# Optional: for lambdify and plotting examples
uv pip install numpy scipy matplotlib

Check your version:

import sympy
print(sympy.__version__)

When to Use This Skill

Details

Repository
github.com/k-dense-ai/scientific-agent-skills
Categories
Data Science & Analytics, Python
First seen
Jun 3, 2026

Questions

What does the sympy skill let an agent do?

The sympy skill lets an agent perform exact symbolic mathematics in Python, covering algebra, calculus, equation solving, symbolic linear algebra, physics, and lambdify or LaTeX code generation. It is meant for tasks that need symbolic results and exact arithmetic rather than floating-point approximations.

When should I use sympy instead of NumPy or SciPy?

Use sympy when a task needs symbolic results, explicit assumptions, or exact values such as sqrt(2) rather than 1.414. The sympy skill advises NumPy or SciPy for purely numerical workloads.

How do I install the sympy skill?

Run npx -y skills add k-dense-ai/scientific-agent-skills --skill sympy -y in a project to install it. Once installed, the sympy skill gives the agent guidance on SymPy 1.14.0 and Python 3.9 or later.

What does the sympy skill need to run?

The sympy skill requires Python 3.9 or later and SymPy 1.14.0. NumPy, SciPy, Matplotlib, IPython, or an ANTLR 4.11 parser runtime are optional, and compiled code generation needs a C or Fortran compiler.

Where does the sympy skill stand in its category?

The sympy skill sits in the Data Science & Analytics category, alongside azure-kusto, analyze-project, run-train, explore-run and add-analytics-instrumentation. It differs from those by focusing on exact symbolic math in Python.

More from k-dense-ai/scientific-agent-skills

All 132