math-olympiad
What it does
It guides your agent to work on hard competition math problems and check its proofs carefully, admitting when it has no confident solution. It is for students and mathematicians working on olympiad-level problems.
When to use it
- βWhen you ask for a solution to an IMO, Putnam, USAMO, or AIME problem.
- βWhen you want a proof or inequality checked for mistakes.
- βWhen you want a counterexample searched for a claimed statement.
Skill link
https://github.com/anthropics/claude-plugins-official/blob/main/plugins/math-olympiad/skills/math-olympiad/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βCan you solve this IMO problem and check the proof for gaps before you give me the answer?β
5 new skills a week. 1 minute to read.
How it works
The agent picks an approach based on the problem type, drafts a solution, and has a separate verifier check it without seeing the original reasoning. If it cannot reach a confident answer, it says so.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Math Olympiad Solver
The five things that change outcomes
- Strip thinking before verifying β a verifier that sees the reasoning is biased toward agreement. Fresh context, cleaned proof only.
- "Does this prove RH?" β if your theorem's specialization to ΞΆ is a famous open problem, you have a gap. Most reliable red flag.
- Short proof β extract the general lemma β try 2Γ2 counterexamples. If general form is false, find what's special about THIS instance.
- Same gap twice β step back β the case split may be obscuring a unified argument. Three lines sometimes does what twelve pages couldn't.
- 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 |
Batch in one Workflow: Set opts.label on every agent() call to include
the problem ID (e.g., label: "P3:solver:2"). Without labels, 36 results come
back with no problem association. Run problems in parallel β the label is what
matters, not ordering.
For a full problem set
Launch one solver workflow per problem (same VERBATIM prompt, different statement). Run them in parallel. When all return, run adversarial verification per problem. Problems that pass get their proof in the PDF; problems that abstain get "No confident solution" with partial notes.
Don't try to solve all N problems in one agent's context β each problem needs its own thinking budget and its own fresh-context verifier. The composition is mechanical: collect the per-problem outputs, fill in LaTeX sections, compile once. | "Simplify this proof" | Skip to presentation (step 8) | β |
The Workflow
1. Interpretation check (30 seconds, catches 50/63 of one class of errors)
Before solving anything, identify the interpretation.
Read the problem statement. List 2-3 ways it could be interpreted. For each: is this reading TRIVIAL? If one reading makes the problem easy and another makes it hard, the hard one is almost certainly intended. State which interpretation you're solving and WHY you believe it's the intended one.
The Aletheia case study found 50 of 63 "technically correct" solutions were for the wrong interpretation. Olympiad problems often have a trap easy reading.
2. Generate candidates with internal refinement (parallel, thinking only)
Launch 8-12 attempt agents in parallel. Each agent internally iterates β solve β self-improve β self-verify β correct β repeat. This is the Yang-Huang structure that achieves 85.7% on IMO: one-shot solving isn't enough; per-attempt refinement matters.
The Agent tool cannot enforce tool restriction. Subagents get the full tool set. The only mechanism is the prompt. Use this prompt VERBATIM β do not summarize, do not synthesize your own:
NO COMPUTATION. Do not use Bash, Python, WebSearch, Read, Write, or any tool that runs code or fetches data. Numerical verification is not a proof step. "I computed n=1..10 and the pattern holds" is not a proof.
(If your agent harness requires a StructuredOutput or similar return-mechanism tool call, that is NOT a computation tool β call it to return your answer. The restriction is on tools that DO work, not tools that REPORT work.)
Yo
FAQ
Does it always give an answer?
No. The skill says to state when there is no confident solution, rather than give a wrong answer.
Why is the verifier kept separate?
The skill says a verifier that sees the reasoning tends to agree with it, so the proof is checked on its own.
Does it run code for every problem?
No. The skill reasons through most problems, and it reserves computation for deeper work.
Details
Original description by the author
"Solve competition math problems (IMO, Putnam, USAMO, AIME) with adversarial verification that catches the errors self-verification misses. Activates when asked to 'solve this IMO problem', 'prove this olympiad inequality', 'verify this competition proof', 'find a counterexample', 'is this proof correct', or for any problem with 'IMO', 'Putnam', 'USAMO', 'olympiad', or 'competition math' in it. Uses pure reasoning (no tools) β then a fresh-context adversarial verifier attacks the proof using specific failure patterns, not generic 'check logic'. Outputs calibrated confidence β will say 'no conf
Popularity
- GitHub stars
- 46k
- Ranking position
- #6337
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
access
46kLets you manage who can message your assistant through the Discord channel, including pairing approvals and allowlists.
configure
46kSets up the Discord channel for your assistant by saving the bot token and checking who can reach it.
access
46kLets you manage who can text your assistant through the iMessage channel, including approvals and allowlists.
configure
46kChecks your iMessage channel setup, including Full Disk Access, and explains who can reach your assistant.
Similar skills
blucli
394kHelps your agent find, play, pause, group, and adjust the volume of Bluesound and NAD speakers through the blu command.
camsnap
394kHelps your agent grab snapshots, short clips, or motion events from network cameras and local webcams that you have set up.
eightctl
394kHelps your agent check and control an Eight Sleep pod, including its temperature, alarms, and sleep schedules.