math-olympiad

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

A solver for competition mathematics problems such as IMO, Putnam, USAMO, and AIME. It includes a separate adversarial checking process for proofs, counterexamples, and proposed solutions.

In plain words
What is it for?
It is for solving or verifying olympiad proofs, checking inequalities, finding counterexamples, and producing or checking numeric answers.
Why use it?
It helps uncover gaps that ordinary self-checking can miss and allows an honest lack of confidence when a solution is not established.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit It is for solving or verifying olympiad proofs, checking inequalities, finding counterexamples…

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

Made for: Claude Code, Codex.

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/socialgouv/claw-code-go/math-olympiad.svg)](https://agentmods.dev/skills/socialgouv/claw-code-go/math-olympiad)
Your own site
<a href="https://agentmods.dev/skills/socialgouv/claw-code-go/math-olympiad"><img src="https://agentmods.dev/badge/skills/socialgouv/claw-code-go/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 6d ago against content hash f697e195d343, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/check_latex.sh, scripts/compile_pdf.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

internal/tools/bundled_skills/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

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. 6d 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 SocialGouv/claw-code-go (5 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

html-ppt-zhangzara-pin-and-paper

A field-biology capstone on urban pollinator decline — the survey design, the data, the contribution, and the caveats. Built as a decision-grade coursework defense deck for faculty reviewers.

nexu-io/open-design · 51 tokens

proof-writer

A tool for writing or checking rigorous mathematical proofs for claims such as theorems, lemmas, propositions, and corollaries.

wanshuiyin/Auto-claude-code-research-in-sleep · 73 tokens

tooluniverse-organic-chemistry

Organic chemistry reasoning guide for reaction product prediction, mechanism analysis (electrophilic/nucleophilic substitution, addition, elimination, pericyclic, radical), and spectroscopy interpretation (1H/13C NMR, IR, MS). Reasons from first principles (electron flow, kinetic vs thermodynamic) rather than…

mims-harvard/ToolUniverse · 86 tokens

scaffold-exercises

Scaffold a graded problem set with sections, problems, worked solutions, and short "why this matters" explainers across analytical, empirical, and coding types. Use when user says "make a problem set on X", "scaffold exercises for this lecture", "create practice problems", "generate homework with a solution key"…

pedrohcgs/claude-code-my-workflow · 101 tokens

edu-chem-reaction

A guide for turning a chemical reaction into a self-contained interactive 3D web demonstration. It shows molecules changing while also displaying the balanced equation, explanations, atom counts, and optionally an energy curve.

wy51ai/edulab · 495 tokens

edu-solid-geometry

A guide for turning a three-dimensional geometry problem into a self-contained interactive web lesson. It combines step-by-step mathematical working with a rotatable 3D model made with Three.js.

wy51ai/edulab · 283 tokens