math-olympiad
Что он делает
Направляет агента на работу над сложными задачами соревновательной математики с тщательной проверкой доказательств. Агент честно говорит, когда у него нет уверенного решения. Это для студентов и математиков, работающих с олимпиадными задачами.
Когда использовать
- ✓Когда вы просите решение задачи IMO, Putnam, USAMO или AIME.
- ✓Когда вы хотите проверить доказательство или неравенство на ошибки.
- ✓Когда вы хотите найти контрпример к утверждению.
Ссылка на скилл
https://github.com/anthropics/claude-plugins-official/blob/main/plugins/math-olympiad/skills/math-olympiad/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Реши эту задачу IMO и проверь доказательство на пробелы, прежде чем дать ответ?”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Агент выбирает подход в зависимости от типа задачи и пишет черновик решения. Отдельный верификатор проверяет его, не видя исходных рассуждений. Если уверенного решения нет, агент так и говорит.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с 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
Частые вопросы
Всегда ли он дает ответ?
Нет. В скилле сказано, что нужно прямо указывать на отсутствие уверенного решения, а не давать неверный ответ.
Почему верификатор отделен?
В скилле сказано, что верификатор, который видит ход рассуждений, склонен с ним соглашаться, поэтому доказательство проверяется отдельно.
Запускает ли он код для каждой задачи?
Нет. Скилл рассуждает над большинством задач сам и оставляет вычисления для более сложной работы.
Подробности
Оригинальное описание автора
"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
Популярность
- Звёзды на GitHub
- 46k
- Место в рейтинге
- #6337
- Лицензия
- Apache-2.0
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
access
46kПозволяет управлять тем, кто может писать вашему ассистенту через канал Discord, включая одобрение подключений и списки разрешенных.
configure
46kНастраивает канал Discord для вашего ассистента: сохраняет токен бота и проверяет, кто может с ним связаться.
access
46kПозволяет управлять тем, кто может писать вашему ассистенту через канал iMessage, включая одобрения и списки разрешенных.
configure
46kПроверяет настройку канала iMessage, включая Full Disk Access, и объясняет, кто может связаться с вашим ассистентом.
Похожие скиллы
blucli
394kПомогает агенту находить, включать, ставить на паузу, объединять в группы и регулировать громкость колонок Bluesound и NAD через команду blu.
camsnap
394kПомогает агенту делать снимки, короткие клипы или фиксировать события движения с сетевых камер и локальных веб-камер, которые вы настроили.
eightctl
394kПомогает агенту проверять и контролировать устройство Eight Sleep, включая его температуру, будильники и графики сна.