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 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يختار الوكيل منهجًا حسب نوع المسألة، ويكتب مسودة حل، ثم يطلب من مدقق منفصل فحصها دون أن يرى التفكير الأصلي. وإذا لم يصل إلى حل موثوق، يقول ذلك صراحةً.
المحتوى التقني (ملف 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
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
access
46kيتيح لك إدارة من يستطيع مراسلة وكيلك عبر قناة Discord، بما في ذلك موافقات الاقتران وقوائم السماح.
configure
46kيضبط قناة Discord لوكيلك بحفظ رمز البوت، ويتحقق ممن يستطيع الوصول إليه.
access
46kيتيح لك إدارة من يستطيع مراسلة وكيلك عبر قناة iMessage، بما في ذلك الموافقات وقوائم السماح.
configure
46kيتحقق من إعداد قناة iMessage، بما فيه الوصول الكامل إلى القرص، ويشرح من يستطيع الوصول إلى وكيلك.
مهارات مشابهة
blucli
394kيساعد وكيلك على البحث عن مكبرات Bluesound وNAD وتشغيلها وإيقافها وتجميعها وضبط مستوى صوتها عبر الأمر blu.
camsnap
394kيساعد وكيلك على التقاط صور لقطية أو مقاطع قصيرة أو أحداث حركة من كاميرات الشبكة وكاميرات الويب المحلية التي أعددتها.
eightctl
394kيساعد وكيلك على فحص وحدة Eight Sleep والتحكم فيها، بما في ذلك درجة حرارتها ومنبهاتها وجداول النوم.