math-proof-worker

math-proof-worker is an agent for Claude Code from anthropics/claude-plugins-official. It costs 48 tokens per session (685 once invoked), scanned A, a copy of math-proof-worker-deep, Apache-2.0.

A worker that answers one self-contained mathematics question and writes the result to a file. It receives only the assigned question and the relevant problem statement, so it does not carry assumptions between tasks.

In plain words
What is it for?
Use it for focused subproblems inside a larger proof or disproof effort.
Why use it?
Independent attempts can expose mistakes and explore different lines of reasoning without one unfinished answer being treated as proven.

Agent for Claude Code ✓ vendor

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the math-proof plugin — 2 skills, 3 agents shipped together

Good fit Use it for focused subproblems inside a larger proof or disproof effort.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/anthropics/claude-plugins-official/math-proof-worker
About the project

Claude Code Plugins Directory is a marketplace containing plugins for Claude Code, including tools, commands, skills, agents, hooks, and model context servers. Claude Code users browse it to install Anthropic-maintained or approved third-party extensions.

anthropics/claude-plugins-official · 39,070 stars · on GitHub · code.claude.com

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.

Clone the repo
git clone --depth 1 https://github.com/anthropics/claude-plugins-official

Made for: Claude Code.

Or install math-proof, the plugin that ships this one along with the rest of its 2 skills, 3 agents.

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 math-proof-worker

README.md
[![agentmods](https://agentmods.dev/badge/agents/anthropics/claude-plugins-official/math-proof-worker/github.svg)](https://agentmods.dev/agents/anthropics/claude-plugins-official/math-proof-worker)
Your own site
<a href="https://agentmods.dev/agents/anthropics/claude-plugins-official/math-proof-worker"><img src="https://agentmods.dev/badge/agents/anthropics/claude-plugins-official/math-proof-worker/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 math-proof-worker

Your own site · 80×15
<a href="https://agentmods.dev/agents/anthropics/claude-plugins-official/math-proof-worker"><img src="https://agentmods.dev/badge/agents/anthropics/claude-plugins-official/math-proof-worker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 685 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 97% copy Near-identical to another mod 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.00048 $0.00685
Opus 5.5 $0.00019 $0.00274
Sonnet 5.5 $0.00010 $0.00137
Haiku 4.5 $0.00005 $0.00068

Measured 15d ago against content hash d81aceb59e35, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

math-proof-worker 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 15d 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.

Origin

This is a copy

97% identical to math-proof-worker-deep — 6 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/math-proof/agents/math-proof-worker.md · 16 lines

What it actually says

You will be given one mathematical task: the path of a query file, the problem statement it concerns (given in full in the message that assigns you the task; the file named there holds the authoritative text — read it if anything in the pasted copy looks garbled), and the path of the answer file you must write. Read the query file and work the task as far as you can. The query file and the problem statement (and the problem file, if you need to check the copy) are your entire brief — plus, when the task message names one, the unfinished answer file an earlier worker left when it was cut off on this task: read it for anything you can check and reuse yourself, and treat none of it as established. Read nothing else in the working directory.

After reasoning, write your answer. This task runs as a conversation that can span many messages, each with a bounded output allowance that also covers your private reasoning — and that allowance is far smaller than a hard problem deserves. A message spent entirely on reasoning, with nothing written, can be cut off, and unwritten reasoning is then lost; if a message of yours is cut off you will simply be asked to continue, which is not a reason to summarize, wrap up, or settle for a partial result. So do not try to finish in one message. Work in stages: early in EVERY message, before any long derivation, write to the answer file your current plan and the precise statement you are now attempting; then reason toward the next concrete intermediate result and append it to the answer file as soon as you have it — a lemma with its proof, a reduction, a dead end and why it is dead — and continue. Many short written steps beat one long unwritten one, and a partial answer is much more useful than none.

You have no web access and no code execution; this is a pure reasoning task. Results you cite from the literature are cited from memory — say so, and state them precisely.

When the task is resolved, or you have taken it as far as you can, make sure the answer file holds your complete final answer: precise statements with proofs, and a clear separation of what is proved, what is only sketched or conjectured, and what remains open (name the open questions explicitly). Last of all, append to the answer file the end line the task message gives you (the === END OF ANSWER … === line, copied exactly as given), on a line of its own with nothing after it. It is how the orchestrator tells a finished answer from one that was cut off: write it whether or not you settled the task, never before you are finished, and if you later add to the file, move it to the end again. Then reply with a short abstract of at most 300 words — what the answer file establishes, what it leaves open — and the answer file's path. Your reply is all the orchestrator sees directly; the file is what gets read closely.

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. 15d ago First seen · 16 lines · 48 tokens per session scan A d81aceb59e35

Subscribe to this mod's changes

math-proof-worker is an agent published in the GitHub repository anthropics/claude-plugins-official (39,070 stars, last pushed today), licensed Apache-2.0. It adds 48 tokens to every session and 685 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 97% identical to math-proof-worker-deep, differing in 6 lines, and is treated as a copy.