By CBirkbeck
Slim shadow of mathlib-quality — same goals, minimal instructions, trusts frontier-model judgement
Slim shadow of mathlib-quality's /beastmode. Marathon work session — pick a ticket, finish the goal, stop at nothing. Spawn sub-tickets for missing infrastructure; replan via /devel --continue when the sketch is wrong; mandatory /clnup on every completed proof before mark-done. Trusts the model on the marathon discipline; specifies only the genuine stop conditions and the post-proof cleanup contract.
Slim shadow of mathlib-quality's /cleanup. Audit + golf + style + mathlib-replacement on a Lean file (or single declaration). Trusts the model to apply the conventions in skills/mqslim/SKILL.md and to use `lean_diagnostic_messages` / `lean_loogle` / `lean_leansearch` / `lean_local_search` for the audit work. Four hard gates the worker MUST verify before reporting done; everything else is judgement.
Slim shadow of mathlib-quality's /decompose-proof. Break long Lean proofs (>50 lines) into focused helper lemmas. Two passes: analysis (identify candidates + write decomposition plans) → decompose (extract helpers, golf them, update the main proof). Five-item helper-hygiene curation per extracted helper before any PR. Trusts the model on the decomposition mathematics; specifies the hygiene rails reviewers catch.
Slim shadow of mathlib-quality's /develop. Plan a mathematical development — search mathlib, design the API, decompose the proof from the source, write a ticket board. Planning-only; workers run via /bstmode. Source-faithful: every leaf must be discharged from a verbatim source quote OR an explicit API gap. Trusts the model to do the literature work without per-step prescriptions.
Slim shadow of mathlib-quality's /mathlibable. Decide whether a Lean declaration belongs in mathlib. Runs the exhaustive literature + mathlib + composition check, then produces one of five verdict buckets with evidence. Trusts the model to do the search work without per-row required-artifact tables. Use on a single declaration; for files, run sequentially.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
mathlib-qualityA parallel Claude Code plugin that does the same work as
CBirkbeck/mathlib-quality —
cleanup, mathlib-fit assessment, proof decomposition, project development,
marathon execution — but with skill files restated in the "trust frontier-
model judgement; minimal instructions" style Anthropic's skill-authoring
guide explicitly recommends.
A repeated observation about the long-form mathlib-quality plugin:
frontier models comply over-eagerly with the long instruction lists, at
the expense of mathematical and engineering judgement. The hypothesis here:
restating the same goals in roughly one-fifth the prose lets the model
reason about specifics rather than execute checklists.
mathlib-qualityLoad both plugins together. The slim commands are abbreviated so they don't collide with the full-fat ones:
| Type | Get | Use when |
|---|---|---|
/cleanup MyFile.lean | the verbose, gated mathlib-quality:cleanup | a big batch run, an unreliable context, or a worker subagent where maximum enforcement helps |
/clnup MyFile.lean | the slim mqslim:cleanup | you trust the model with the goal stated cleanly and want less context overhead |
Same for /mathlibable vs /mthlbl, /develop vs /devel, /beastmode
vs /bstmode, /decompose-proof vs /decoproof.
| Command | Shadow of |
|---|---|
/clnup | mathlib-quality:cleanup |
/mthlbl | mathlib-quality:mathlibable |
/devel | mathlib-quality:develop |
/bstmode | mathlib-quality:beastmode |
/decoproof | mathlib-quality:decompose-proof |
More port as the full-fat versions prove stable. See CLAUDE.md for the
full list of planned shadows.
When mathlib-quality gains a new feature or refines an existing rule,
MQSlim gets the analogous slim restatement — not a literal truncation,
but a re-derivation of the same intent at 1–3 sentences per change. The
discipline (full version in CLAUDE.md):
mathlib-quality's.The shadow is not a copy. It's a probe — the goal is to surface what's actually load-bearing in the upstream prompts vs. what's accumulated over-specification.
From within Claude Code:
/plugin marketplace add CBirkbeck/MQSlim
/plugin install mqslim
The first command tells Claude Code to read the marketplace.json at
the repo root and discover the plugins it offers; the second installs
the mqslim plugin specifically.
To pair with the full-fat mathlib-quality (recommended — see "How it pairs" above):
/plugin marketplace add CBirkbeck/mathlib-quality
/plugin install mathlib-quality
Both load together; the abbreviated /clnup-family commands coexist
with the full-name /cleanup-family commands. Type whichever you want
per task.
If you also want the Lean 4 theorem-proving workflows the cleanup commands integrate with:
/plugin marketplace add cameronfreer/lean4-skills
/plugin install lean4
Restart Claude Code after installation. Verify by typing / and
checking that /clnup, /mthlbl, /devel, /bstmode, /decoproof
appear in the command list.
git clone https://github.com/CBirkbeck/MQSlim.git
Then from Claude Code:
/plugin marketplace add /absolute/path/to/MQSlim
/plugin install mqslim
(The local path must be the directory containing
.claude-plugin/marketplace.json.)
After installation, in a Lean project session, type /clnup and start
typing a filename — autocomplete should suggest the .lean files in
your project. If /clnup is unknown, the install didn't pick up; try
/plugin list to see what's loaded.
MQSlim only ships skill files; it has no runtime dependencies. But the commands themselves rely on:
Lean LSP MCP server — nearly all commands use lean_diagnostic_messages,
lean_goal, lean_loogle, etc. for sub-second feedback. Set up via
oOo0oOo/lean-lsp-mcp;
full instructions are in
mathlib-quality's README.
ChatGPT MCP server (optional, used by /mthlbl's literature
search) — same setup as for mathlib-quality. See
the full-fat README.
Version: 0.52.0 (parallels mathlib-quality v0.52.0).
Prove, clean up, golf, and bring Lean 4 code up to mathlib standards
npx claudepluginhub cbirkbeck/mqslim --plugin mqslimComprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Tools to maintain and improve CLAUDE.md files - audit quality, capture session learnings, and keep project memory current.
Complete creative writing suite with 10 specialized agents covering the full writing process: research gathering, character development, story architecture, world-building, dialogue coaching, editing/review, outlining, content strategy, believability auditing, and prose style/voice analysis. Includes genre-specific guides, templates, and quality checklists.
Unity Development Toolkit - Expert agents for scripting/refactoring/optimization, script templates, and Agent Skills for Unity C# development
Comprehensive .NET development skills for modern C#, ASP.NET, MAUI, Blazor, Aspire, EF Core, Native AOT, testing, security, performance optimization, CI/CD, and cloud-native applications
Complete collection of battle-tested Claude Code configs from an Anthropic hackathon winner - agents, skills, hooks, and rules evolved over 10+ months of intensive daily use