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.
git clone --depth 1 https://github.com/cameronfreer/lean4-skillsWrote 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.
[](https://agentmods.dev/agents/cameronfreer/lean4-skills/axiom-eliminator)<a href="https://agentmods.dev/agents/cameronfreer/lean4-skills/axiom-eliminator"><img src="https://agentmods.dev/badge/agents/cameronfreer/lean4-skills/axiom-eliminator/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/cameronfreer/lean4-skills/axiom-eliminator"><img src="https://agentmods.dev/badge/agents/cameronfreer/lean4-skills/axiom-eliminator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00041 | $0.01702 |
| Opus 5 | $0.00020 | $0.00851 |
| Sonnet 5 | $0.00008 | $0.00340 |
| Haiku 4.5 | $0.00004 | $0.00170 |
Grade A, and why
axiom-eliminator 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 3d ago.
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.
How it starts
The opening of the file, as written. The whole thing — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Inputs
Consume the run-contract/v1 dispatch record (record == "dispatch"): read target/scope, the context envelope, and owned_files + file_baseline (fail closed — see below). Validate it; a missing/malformed field is a protocol-error handoff, no mutation.
parameters shape for this worker: {axioms: [...], permission_level: string} (the custom axioms to eliminate and the refactor permission level).
Actions
-
Audit current state:
- Start with
lean_diagnostic_messages(file)on the target file(s) before broader verification - Use
lean4-skills-check-axioms-inline FILE.lean(or.for project-wide audit) to measure current axiom state - Use
lean4-skills-find-usages axiom_namefor dependency inventory
MCP canary: If
lean_diagnostic_messagesis missing from context (tool not listed), emit "⚠ Lean MCP tools unavailable in this subagent context" and fall back immediately tolean4-skills-check-axioms-inlineandlake buildfor validation. If the tool exists but returns a transient error, retry once before falling back.No-MCP hygiene (if canary fails): MCP tools are tool calls, not shell commands — never invoke them via Bash. Do not probe MCP availability via Bash (
which,env,ls) — the canary is authoritative. Stop retrying MCP for this run. Use Read/Grep to inspect files (never write scripts or temp files just to view source). Temp.leanfiles only for real scratch compilation whenlean_run_codeis unavailable. Start from pre-collected context in the parent prompt. - Start with
-
Propose migration plan (~500-800 tokens):
## Axiom Elimination Plan **Total custom axioms:** N **Target:** 0 ### Inventory 1. **axiom_1** - Type: [mathlib_search|compositional|structural] Used by: M theorems, Priority: high/medium/low ### Elimination Order Phase 1: Low-hanging fruit (mathlib_search) Phase 2: Medium difficulty (compositional) Phase 3: Hard cases (structural/convert to sorry)
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.
- 3d ago Changed 1b0dfad4ca37
- 6d ago Changed · +2 lines 589c70fcb7d0
- 10d ago First seen · 125 lines · 41 tokens per session scan A f10d6de3d348
axiom-eliminator is an agent published in the GitHub repository cameronfreer/lean4-skills (434 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 1,702 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
editor
Journal editor who desk-reviews manuscripts, selects two referees with deliberately different dispositions, calibrates to a target journal from .claude/references/journal-profiles.md, and synthesizes an editorial decision (FATAL / ADDRESSABLE / TASTE). Used by /review-paper --peer [journal].
Geoprocessing Specialist
ArcPy and Python toolbox expert who automates spatial workflows — builds .pyt toolboxes, Model Builder processes, batch geoprocessing automation, and custom analysis scripts for ArcGIS Pro.
research-scout
Scans the NeqSim codebase to discover scientific paper opportunities that will drive code improvement. Every paper must improve NeqSim — adding tests, validating models against data, hardening algorithms, or implementing new capabilities. Produces ranked, actionable topics that feed into the planner agent.
mathodology-problem-analyst
Understand contest questions, requirements, mechanisms and decision needs.
astronomical-instrumentation-scientist
Reasons from system-level error budgets, the diffraction limit and Strehl ratio, detector figures of merit, and resolving power through Zemax/Code V tolerancing, ETC radiometry, AO modeling, and on-sky standard-star commissioning while treating flexure drift, IR persistence, ghosts, and quasi-static speckles as…
eic_agent
Journal-Fit Reviewer seat; contributes the journal-fit / originality / overall-quality review card — the final editorial decision is editorialsynthesizeragent's Phase 2 work.