mathgraphs

mathgraphs is a skill for Claude Code, Codex from architectds/mathgraphs-mcp. It costs 19 tokens per session (1,318 once invoked), scanned A, original, MIT.

A graphing and scene-building skill for mathematics, statistics, 3D objects, and presentations. It can calculate and display results such as roots, extrema, and intersections on interactive graphs.

In plain words
What is it for?
Use it to plot functions and geometric shapes, check mathematical answers visually, build lit 3D scenes with particles, or create presentations.
Why use it?
It lets a coding agent show mathematical relationships and verify results visually without writing custom drawing code each time.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/architectds/mathgraphs-mcp/openclaw
Any agent
npx skills add architectds/mathgraphs-mcp --skill openclaw
Clone the repo
git clone --depth 1 https://github.com/architectds/mathgraphs-mcp

Made for: Claude Code, Codex.

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 mathgraphs

README.md
[![agentmods](https://agentmods.dev/badge/skills/architectds/mathgraphs-mcp/openclaw.svg)](https://agentmods.dev/skills/architectds/mathgraphs-mcp/openclaw)
Your own site
<a href="https://agentmods.dev/skills/architectds/mathgraphs-mcp/openclaw"><img src="https://agentmods.dev/badge/skills/architectds/mathgraphs-mcp/openclaw.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,318 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00019 $0.01318
Opus 5 $0.00010 $0.00659
Sonnet 5 $0.00004 $0.00264
Haiku 4.5 $0.00002 $0.00132

Measured 2d ago against content hash cdeac2d173d7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mathgraphs 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 2d ago.

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.

openclaw/SKILL.md · 100 lines

How it starts

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

Math & 3D Graphing Engine

You have access to an interactive math and 3D graphing engine via MCP. It computes and renders results — roots, extrema, intersections, and 3D scenes — on interactive graphs. Saves ~410 tokens per render vs LLM-generated canvas code.

When to use this skill

  • User asks to graph, plot, or visualize any math
  • User needs to verify a mathematical result visually
  • You computed an answer and want to show it, not just describe it
  • Geometry needs precise rendering (triangles, circles, constructions)
  • User wants to build 3D scenes — shapes, architecture, creative builds with lighting and particle effects

Tools

plot_graph — Math Visualization

Plot functions, points, segments, labels, and shapes. Auto-computes roots, extrema, and intersections.

Element types:

  • function: expression like "x^2-4", "sin(x)", "x^2+y^2=1", "(cos(t),sin(t))"
  • points: array of {x, y} coordinates with optional label
  • segment: line from (x1,y1) to (x2,y2) with optional arrow/dashed
  • label: text at position (x, y)
  • triangle: three vertices (x1,y1,x2,y2,x3,y3)
  • box: edge + height for bar charts
  • circle: center (cx,cy) + radius

Set viewport ({xmin, xmax, ymin, ymax}) to your data's magnitude — omit it and the server auto-fits the window to the elements.

Iterate with base_render_id (+ remove_indices) rather than re-sending every element. Each result reports what actually rendered, so act on any graph check it returns.

analyze — Precise Numerical Results

Compute exact values instead of doing the arithmetic yourself: roots, extrema, inflections, intersect, tangent, normal, derivative, integral, area_between, arc_length, closest_point.

Input: type (required), f (required), plus g (second expression, for intersect/area_between), x (point of interest, for tangent/normal/derivative), a/b (range, default -10..10), px/py (for closest_point).

Works with explicit, parametric, polar, and implicit curves.

Read the full file on GitHub · 100 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. 2d ago First seen · 100 lines · 19 tokens per session scan A cdeac2d173d7

Subscribe to this mod's changes

mathgraphs is a skill published in the GitHub repository architectds/mathgraphs-mcp (0 stars, last pushed 13d ago), licensed MIT. It adds 19 tokens to every session and 1,318 once invoked, about $0.0001 per session on Opus 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-08-31.

Related

Other skills, from other repositories