math-olympiad
Skill này làm gì
Nó hướng dẫn agent của bạn làm các bài toán thi học thuật khó và kiểm tra chứng minh cẩn thận, thừa nhận khi không có lời giải chắc chắn. Nó dành cho học sinh và nhà toán học làm các bài toán cấp olympic.
Khi nào nên dùng
- ✓Khi bạn yêu cầu lời giải cho một bài IMO, Putnam, USAMO hoặc AIME.
- ✓Khi bạn muốn một chứng minh hoặc bất đẳng thức được kiểm tra xem có sai sót không.
- ✓Khi bạn muốn tìm phản ví dụ cho một mệnh đề được khẳng định.
Liên kết skill
https://github.com/anthropics/claude-plugins-official/blob/main/plugins/math-olympiad/skills/math-olympiad/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Bạn có thể giải bài IMO này và kiểm tra chứng minh xem có lỗ hổng nào trước khi đưa đáp án cho tôi không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent chọn cách tiếp cận dựa trên loại bài toán, soạn lời giải và nhờ một bộ xác minh riêng kiểm tra mà không thấy lập luận gốc. Nếu không đạt được đáp án chắc chắn, nó sẽ nói rõ điều đó.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Nó có luôn đưa ra đáp án không?
Không. Skill nói phải nêu rõ khi không có lời giải chắc chắn, thay vì đưa đáp án sai.
Vì sao bộ xác minh được tách riêng?
Skill nói một bộ xác minh thấy lập luận thường đồng ý với nó, nên chứng minh được kiểm tra độc lập.
Nó có chạy mã cho mọi bài không?
Không. Skill suy luận qua hầu hết bài toán và chỉ dành tính toán cho công việc sâu hơn.
Chi tiết
Mô tả gốc của tác giả
"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
Độ phổ biến
- Sao GitHub
- 46k
- Vị trí xếp hạng
- #6337
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
access
46kCho phép bạn quản lý ai được nhắn tin với trợ lý qua kênh Discord, bao gồm duyệt ghép đôi và danh sách cho phép.
configure
46kThiết lập kênh Discord cho trợ lý của bạn bằng cách lưu bot token và kiểm tra ai có thể tiếp cận nó.
access
46kCho phép bạn quản lý ai được nhắn tin cho trợ lý qua kênh iMessage, bao gồm duyệt và danh sách cho phép.
configure
46kKiểm tra thiết lập kênh iMessage của bạn, gồm Full Disk Access, và giải thích ai có thể tiếp cận trợ lý của bạn.
Skill tương tự
blucli
394kGiúp agent của bạn tìm, phát, tạm dừng, nhóm và chỉnh âm lượng loa Bluesound và NAD qua lệnh blu.
camsnap
394kGiúp agent của bạn chụp ảnh, quay clip ngắn hoặc lấy sự kiện chuyển động từ camera mạng và webcam nội bộ mà bạn đã thiết lập.
eightctl
394kGiúp agent của bạn kiểm tra và điều khiển thiết bị Eight Sleep pod, gồm nhiệt độ, báo thức và lịch ngủ.