symbolic-math

symbolic-math is a skill for Claude Code from justice8096/sagemath-mcp-server. It costs 70 tokens per session (1,119 once invoked), scanned A, original, CC0-1.0.

A skill that sends exact mathematics to SageMath, a computer algebra system, instead of estimating the answer. It covers equations, calculus, factoring, matrices, number theory, plots, and LaTeX.

In plain words
What is it for?
Use it for exact symbolic calculations, including solving equations, derivatives, integrals, simplification, matrix operations, primality checks, plotting, and LaTeX conversion.
Why use it?
It reduces errors such as a wrong digit or a missing algebraic term. The calculation can be checked by a dedicated math system rather than only by reasoning or hand work.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the sage-math-tools-local plugin — 1 skill, 1 MCP server shipped together

Good fit Use it for exact symbolic calculations, including solving equations, derivatives, integrals, simplification, matrix operations, primality checks, plotting, and LaTeX conversion.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/justice8096/sagemath-mcp-server/symbolic-math
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add justice8096/sagemath-mcp-server --skill symbolic-math
Clone the repo
git clone --depth 1 https://github.com/justice8096/sagemath-mcp-server

Made for: Claude Code.

Or install sage-math-tools-local, the plugin that ships this one along with the rest of its 1 skill, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for symbolic-math

README.md
[![agentmods](https://agentmods.dev/badge/skills/justice8096/sagemath-mcp-server/symbolic-math/github.svg)](https://agentmods.dev/skills/justice8096/sagemath-mcp-server/symbolic-math)
Your own site
<a href="https://agentmods.dev/skills/justice8096/sagemath-mcp-server/symbolic-math"><img src="https://agentmods.dev/badge/skills/justice8096/sagemath-mcp-server/symbolic-math/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for symbolic-math

Your own site · 80×15
<a href="https://agentmods.dev/skills/justice8096/sagemath-mcp-server/symbolic-math"><img src="https://agentmods.dev/badge/skills/justice8096/sagemath-mcp-server/symbolic-math.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,119 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00070 $0.01119
Opus 5.5 $0.00028 $0.00448
Sonnet 5.5 $0.00014 $0.00224
Haiku 4.5 $0.00007 $0.00112

Measured today against content hash 311fd4dd051c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

symbolic-math scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugin-local/skills/symbolic-math/SKILL.md · 60 lines

How it starts

The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Symbolic math with SageMath

Use the sagemath tools for any calculation where a wrong digit or a dropped term matters. Do the reasoning yourself; hand the mechanical step to the tool, then explain the result.

If the tools are not available

The tools are named sage_solve_equation, sage_differentiate and so on, and come from an MCP server called sagemath. If none of them is available in this session, the server has not been added yet. Tell the user, once, that exact results need the SageMath server and that the plugin's README has the setup. In Claude Code the setup is this one command, run in a terminal:

claude mcp add --scope user sagemath -- npx -y @justice8096/[email protected]

It needs Node.js 20 or later, and either SageMath or a running Docker on the same machine. Until the tools are available, do the calculation by hand if asked, and say plainly that the result was not checked by SageMath.

Pick the narrowest tool

Nine of the ten tools accept plain mathematics only and cannot run code. Prefer them.

Need Tool Required inputs Optional
Solve an equation sage_solve_equation equation, variable variables
Derivative sage_differentiate expression, variable order, variables
Integral sage_integrate expression, variable lower_limit, upper_limit, variables
Simplify sage_simplify expression simplification_type, variables
Factor a polynomial or integer sage_factor expression variables
Matrix operation sage_matrix_ops matrix, operation ring
Number theory sage_number_theory operation, value second_value
Plot a function sage_plot expression variable, x_min, x_max, title
LaTeX for an expression sage_latex_convert expression variables
Anything else in SageMath sage_evaluate expression

sage_evaluate runs arbitrary SageMath, which is Python. It is not read-only, so the user is asked to approve each call. Use it only when no other tool fits, and say what the expression does before calling it.

Read the full file on GitHub · 60 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 60 lines · 70 tokens per session scan A 311fd4dd051c

Subscribe to this mod's changes

symbolic-math is a skill published in the GitHub repository justice8096/sagemath-mcp-server (1 stars, last pushed yesterday), licensed CC0-1.0. It adds 70 tokens to every session and 1,119 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-02.

Related

symbolic-math compared with skills from other repositories

symbolic-math next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
symbolic-mathjustice8096/sagemath-mcp-serverSkill1yesterdayCC0-1.0A70Claude Code
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill37kyesterdayApache-2.0A123Claude Code
matlabK-Dense-AI/scientific-agent-skillsSkill59k2d agoMITA44Claude Code
exploratory-data-analysisK-Dense-AI/scientific-agent-skillsSkill59k2d agoMITA83Claude Code
phylogeneticsK-Dense-AI/scientific-agent-skillsSkill59k2d agoMITA71Claude Code, Codex
research-engineerdavila7/claude-code-templatesSkill35ktodayMITA43Claude Code, Codex
mapping-to-snomedmaziyarpanahi/openmedSkill5.9k2d agoApache-2.0A205Claude Code