math-olympiad

math-olympiad is a skill for Claude Code from thevibeworks/claude-code-docs. It costs 163 tokens per session (4,533 once invoked), scanned A, a copy of math-olympiad, MIT.

A solver and checker for competition mathematics problems from contests such as the International Mathematical Olympiad, Putnam, USAMO, and AIME.

In plain words
What is it for?
Use it to solve numeric contest questions, prove olympiad problems, verify proofs, or test whether a mathematical claim is correct.
Why use it?
It looks for gaps, counterexamples, and errors in solutions, including mistakes that a solver may overlook when checking its own work.

Skill for Claude Code

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

Part of the math-olympiad plugin — 1 skill shipped together

Good fit Use it to solve numeric contest questions, prove olympiad problems, verify proofs, or test whether a mathematical claim is correct.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thevibeworks/claude-code-docs/math-olympiad
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 thevibeworks/claude-code-docs --skill math-olympiad
Clone the repo
git clone --depth 1 https://github.com/thevibeworks/claude-code-docs

Made for: Claude Code.

Or install math-olympiad, the plugin that ships this one along with the rest of its 1 skill.

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-olympiad

README.md
[![agentmods](https://agentmods.dev/badge/skills/thevibeworks/claude-code-docs/math-olympiad.svg)](https://agentmods.dev/skills/thevibeworks/claude-code-docs/math-olympiad)
Your own site
<a href="https://agentmods.dev/skills/thevibeworks/claude-code-docs/math-olympiad"><img src="https://agentmods.dev/badge/skills/thevibeworks/claude-code-docs/math-olympiad.svg" alt="Measured on agentmods" height="20"></a>
Per session 163 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,533 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 100% 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.00163 $0.04533
Opus 5 $0.00081 $0.02266
Sonnet 5 $0.00033 $0.00907
Haiku 4.5 $0.00016 $0.00453

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

Security

Grade A, and why

math-olympiad 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 4d 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

100% identical to math-olympiad — 0 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.

content/github/claude-plugins-official/plugins/math-olympiad/skills/math-olympiad/SKILL.md · 412 lines

How it starts

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

Math Olympiad Solver

The five things that change outcomes

  1. Strip thinking before verifying — a verifier that sees the reasoning is biased toward agreement. Fresh context, cleaned proof only.
  2. "Does this prove RH?" — if your theorem's specialization to ζ is a famous open problem, you have a gap. Most reliable red flag.
  3. Short proof → extract the general lemma — try 2×2 counterexamples. If general form is false, find what's special about THIS instance.
  4. Same gap twice → step back — the case split may be obscuring a unified argument. Three lines sometimes does what twelve pages couldn't.
  5. Say "no confident solution" — wrong-and-confident is worse than honest abstain.

Tool policy: Solvers and verifiers use THINKING ONLY in the tight-budget workflow. Competition math is reasoning. Computation is for deep mode (§6c), and even then bounded — a recurrence that's doubly-exponential can't be computed past n~30, work mod 2^m instead.


When to use which approach

Problem Approach Verification
AIME numeric answer Best-of-N → majority vote Answer check only
Olympiad proof (IMO/Putnam/USAMO) Full workflow below 5-pass adversarial
"Is this proof correct?" Skip to verification (step 4) Adversarial + spec-gaming
Full problem set (e.g. all 6 from a competition) Sequential: one full workflow per problem, collect results, compile single PDF Per-problem adversarial

Read the full file on GitHub · 412 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 412 lines · 163 tokens per session scan A f697e195d343

Subscribe to this mod's changes

math-olympiad is a skill published in the GitHub repository thevibeworks/claude-code-docs (39 stars, last pushed yesterday), licensed MIT. It adds 163 tokens to every session and 4,533 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to math-olympiad, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

claude-docs-course

Generate an interactive, self-contained HTML course on any Claude documentation topic. Use this skill when the user wants to create an interactive course, tutorial, or deep-dive walkthrough about a Claude feature, API concept, SDK pattern, or prompt engineering technique. Triggers on: "create a course about"…

costiash/claude-code-docs · 140 tokens

claude-docs

Search and read locally-stored Claude documentation covering Claude Code CLI, Claude API (Messages, tool use, vision, streaming, batch), Agent SDK (Python and TypeScript), prompt engineering, and all Anthropic platform docs. Use this skill whenever the user asks about Claude Code features (hooks, MCP servers, skills…

costiash/claude-code-docs · 170 tokens

uselink-onboarding

Scan a codebase and generate a new-developer onboarding guide as HTML, then publish to uselink. Use when the user wants to create a getting-started guide, onboard a new team member, or share 'how to work in this repo' docs.

compilet-dev/agent-skill-uselink · 58 tokens

cookbook-audit

Audit an Anthropic Cookbook notebook based on a rubric. Use whenever a notebook review or audit is requested.

timothywarner-org/claude-architect · 26 tokens

foundations-behavioral-economics

16 behavioral-economics primitives for ethical pricing, choice design, and retention. Use when framing, defaults, habits, dark patterns, AI-agent nudging, or nudge ethics apply.

vasilyu1983/AI-Agents-public · 48 tokens

talk-stage3-concepts

Builds a numbered, categorized concept catalogue from the talk summary and timeline, scoring each concept HIGH / MEDIUM / LOW for talk potential with optional repo enrichment. Use when you need a structured inventory of concepts before choosing a talk angle, or when assessing which ideas have the strongest…

FlorianBruniaux/claude-code-ultimate-guide · 64 tokens