Three mathematics agents for Claude Code: Lite, Heavy, and Paper-writing.
Trending marketplaces
7-day visitors to each marketplace page
npx claudepluginhub merleanprover/merleanDefault NL-first mathematical research to Silver; targeted Lean checks.
Full proving and supplied-proof formalization to strictly audited Gold.
Compose, refine, resume, and audit mathematics papers without losing results.
Three mathematics agents, available in Claude Code and Codex: six entrypoints in total.
| Agent | When to use it | Verification target |
|---|---|---|
| MerLean -lite | Explore a question, develop a natural-language proof, debate it, and Lean-check its weakest links | SILVER |
| MerLean -heavy | Fully prove a result, formalize an existing proof or paper, or complete Lean proofs | GOLD |
| Paper-writing | Compose, refine, resume, or audit a mathematics paper | Preserve the recorded research grade |
Lite is on by default. Bare MerLean selects Lite; -heavy is the explicit name for
the former “Lite off” state. The flags are mutually exclusive. Silver and Gold are evidence
thresholds, not labels awarded automatically: unfinished Lite work may remain Bronze, and
Heavy cannot report Gold until its full audit passes. Lite does not silently escalate to Heavy.
There is no separate public formalization agent. Heavy contains the paper-formalization, Lean-proof completion, statement-translation, and open-question procedures. An existing proof can eliminate proof-discovery work; it does not eliminate the work of faithfully encoding objects, filling missing lemmas, auditing citations, and checking the entire Lean dependency cone.
Both provider catalogs are published in this repository: Codex reads
.agents/plugins/marketplace.json, and Claude Code reads
.claude-plugin/marketplace.json. Each catalog exposes three standalone packages.
The marketplace name remains merlean.
For Claude Code, add this repository as a marketplace:
/plugin marketplace add MerLeanProver/MerLean
/plugin install merlean-lite-claude@merlean
/plugin install merlean-heavy-claude@merlean
/plugin install paper-writing-claude@merlean
For Codex, add this GitHub repository as a plugin marketplace through the host's
marketplace interface, then select merlean-lite-codex, merlean-heavy-codex, or
paper-writing-codex. Installation and model access are handled by the host.
Version 2.0.0 replaces the former merlean Claude package and lite-codex Codex
package with explicit Lite/Heavy packages. See the migration guide
before switching an existing installation. paper-writing-codex retains its identity.
Generate the six standalone packages:
python3 scripts/build_bundles.py
The generated packages are:
| Claude Code | Codex |
|---|---|
plugins/merlean-lite-claude/ | plugins/merlean-lite-codex/ |
plugins/merlean-heavy-claude/ | plugins/merlean-heavy-codex/ |
plugins/paper-writing-claude/ | plugins/paper-writing-codex/ |
Each has exactly one public skills/<agent>/SKILL.md, its provider manifest, and all its
runtime/supporting files. They do not depend on symlinks or files outside the installed package.
Use a generated package with the host's local-plugin loading mechanism, or explicitly direct
an agent to read its entrypoint. Building is not installation and does not alter your
Codex/Claude configuration. The six directories are generated and included in public release commits; edit the
maintained source, never their copies. Rebuilding refuses locally modified or unknown files.
Catalog-based discovery is also retained: python3 scripts/build_bundles.py --catalogs
optionally generates local Claude/Codex marketplace catalogs, each with three entries.
This only creates repository-local artifacts; it does not register a marketplace, install
plugins, modify personal catalogs, or publish anything. Existing differing catalogs are preserved.
For a deterministic selection without calling any model:
scripts/merlean-agent
scripts/merlean-agent -lite --provider claude
scripts/merlean-agent -heavy --provider codex
scripts/merlean-agent --task formalize
scripts/merlean-agent --task translate-only
scripts/merlean-agent --paper-writing
This selector reports the entrypoint and target grade; it does not launch an LLM, install a
plugin, write campaign state, or award a grade. An explicit --resume-mode heavy preserves
the selected campaign mode. Omitted flags never inspect unrelated old campaign state.
7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.