Mathlib Quality
Claude Code skill plugin for cleaning up, golfing, and bringing Lean 4 code up to mathlib standards
Supply asset profile
Coding and developer agents
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
Coding agents
I need a coding agent that can understand a repository, edit code, and review pull requests.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add CBirkbeck/mathlib-quality
Maintenance
fresh
Pushed today
Risk
Needs review
Low GitHub adoption signal
GitHub quality
27
72/100 Quality · 75/100 Trust
Coverage tags
Review notes
Low GitHub adoption signal · Quality score needs review
Agent adoption scorecard
Trust, audit, and install readiness at a glance
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Human review before install
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
27 GitHub stars
Repo activity
27 stars, 3 forks
Maintenance
Pushed today
License
MIT
Install
npx skills add CBirkbeck/mathlib-quality
Install safety
standard package or runtime install path
Permission surface
shell or command execution, network or browser access
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Review before production
- Low GitHub adoption signal
- Quality score needs review
- GitHub adoption: 27 GitHub stars
- Stars/forks activity: 27 stars, 3 forks; issue activity unavailable in current metadata
Install readiness
Install path available
- Install path is available
- Repository evidence is available
- License is declared
- No Agent Proven outcome evidence yet
Agent-readable metadata
Machine-readable decision data for this skill.
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
- Coding agents workflows
- Claude Code teams
- builders willing to evaluate younger projects
- Inspect source files
Suited agents
Install decision
- Command
- npx skills add CBirkbeck/mathlib-quality
- Policy
- review
- Human review
- yes
Trust and risk
- Trust
- 67/100
- Audit
- 81/100
- Risk level
- Needs review
Outcome loop
- Endpoint
- /api/agent/outcome
- Event ID
- resolve
- Outcomes
- 5
Install command
npx skills add CBirkbeck/mathlib-qualityDo not use when
- teams that need a vendor-supported SLA
- production agents without a repository review
- Low GitHub adoption signal
- No OpenAgentSkill engagement data yet
- High-risk permission hints: Shell or command execution
Alternative
Grill With Docs
164.7K Stars
npx skills add mattpocock/skills --skill grill-with-docs
Alternative
Code Review
168.6K Stars
npx skills add mattpocock/skills --skill code-review
Alternative
To Spec
164.7K Stars
npx skills add mattpocock/skills --skill to-spec
Alternative
To Tickets
176.7K Stars
npx skills add mattpocock/skills --skill to-tickets
Agent safety v2
57/100 · Review before install
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
high
Shell or command execution
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Network access
Skill likely fetches remote pages, APIs, repositories, or external services.
- High-risk permission hints: Shell or command execution
- Low GitHub adoption signal
Install targets
Install this skill in your agent workflow
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
OpenAgentSkill CLI
Use the registry command when your workflow supports the OpenAgentSkill installer.
$ npx skills add CBirkbeck/mathlib-qualityAgent resolve plan
Let an agent verify fit before installing.
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20Mathlib%20Quality%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20Mathlib%20Quality%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/cbirkbeck-mathlib-quality/install
Agent should check
- Task fit and alternatives from Resolve API.
- Audit score, trust score, and safety policy warnings.
- Install target compatibility for Codex, Claude Code, Cursor, or CLI.
Copy prompt
Task: Use Mathlib Quality in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20Mathlib%20Quality%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/cbirkbeck-mathlib-quality/install
Install command: npx skills add CBirkbeck/mathlib-quality
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Give an agent the install path, not another directory page.
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/cbirkbeck-mathlib-quality/install
LLM text format
/api/skills/cbirkbeck-mathlib-quality/install?format=text
Find alternatives
/api/skills/search?q=Mathlib%20Quality&limit=3
Agent prompt
Use Mathlib Quality for this task. Review https://www.openagentskill.com/api/skills/cbirkbeck-mathlib-quality/install, then install with: npx skills add CBirkbeck/mathlib-qualityRegistry metadata
Agent-readable profile for automatic skill selection.
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/cbirkbeck-mathlib-quality
LLM text
/api/registry/manifest/cbirkbeck-mathlib-quality?format=text
Install alias
/api/registry/install/cbirkbeck-mathlib-quality
Recommend
/api/registry/recommend?task=Use%20Mathlib%20Quality%20in%20an%20agent%20workflow&limit=3
Agent fit
Coding agents
Use-case tags
Platforms
Shell, Claude Code
Audit report
Needs review · 81/100
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Fallback candidate for Coding agents
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
Coding agents
Trust label
Prototype first
Install path
Command ready
Use when
- Coding agents workflows
- Claude Code teams
- builders willing to evaluate younger projects
Evidence
- recent repository activity
- install command or GitHub repo available
- 72/100 quality profile
review first
- Low GitHub adoption signal
- No OpenAgentSkill engagement data yet
Implementation path
- 1Install it in a sandbox agent and run one Coding agents task end to end.
- 2Compare output quality, latency, and failure behavior against at least one alternative.
- 3Promote it into production only after reviewing repository permissions, license, and maintenance signals.
Trust profile
Sandbox only
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
CHECK27 GitHub stars
Stars/forks activity
CHECK27 stars, 3 forks; issue activity unavailable in current metadata
Recent maintenance
PASSPushed today
License clarity
PASSMIT
Good signals
- AI review approved
- Install path is available
- Repository evidence is available
- Recently maintained repository
- Install command has no obvious high-risk pattern
- Outcome loop is ready but needs first real agent run
Review before install
- Low GitHub adoption signal
- Quality score needs review
- GitHub adoption: 27 GitHub stars
- Stars/forks activity: 27 stars, 3 forks; issue activity unavailable in current metadata
- No real agent outcome reports yet
- Human review required before unattended installation
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Strong candidate for agent workflows
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Use this skill in these scenarios
Build and ship code
Coding agents
I need a coding agent that can understand a repository, edit code, and review pull requests.
Manage repositories
GitHub automation
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Operate web apps
Browser automation
I need my agent to control a browser, fill forms, and verify web app workflows.
Workflow fit
Add it to a complete workflow
Inspect, patch, and verify code
Coding review agent
A workflow for software agents that inspect repositories, review pull requests, generate tests, and turn findings into shippable patches.
Operate and verify web apps
Browser QA agent
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Design, build, test, and ship interfaces
Frontend and UI
A practical workflow for agents that turn product briefs or Figma designs into polished frontend code, review the result, test it in a browser, and prepare a safe deployment.
Alternative shortlist
Compare before you install
Similar skills that may fit this task.
Grill With Docs
A relentless interview that pressure-tests a plan against the codebase, sharpens domain language, and updates CONTEXT.md and ADRs when decisions become durable.
Code Review
Review a branch or diff against repository standards and the originating spec in two independent analysis passes.
To Spec
Turn the current conversation and codebase context into a structured implementation spec, then publish it to the configured project issue tracker.
To Tickets
Break a plan, spec, or conversation into independently actionable tracer-bullet tickets with explicit blocking relationships.
Overview
# mathlib-quality
A [Claude Code](https://docs.anthropic.com/en/docs/claude-code) skill plugin for developing, proving, cleaning up, and bringing Lean 4 code up to [mathlib](https://github.com/leanprover-community/mathlib4) standards.
Twenty-two commands spanning the whole workflow: **plan → prove → cleanup → assess mathlib-fit → blueprint → self-review → PR**. Every workflow is methodical, phase-numbered, and gated (missing artifacts fail the step); mathematical judgement is enforced through required evidence rather than through post-hoc review.
## Sibling: [`MQSlim`](https://github.com/CBirkbeck/MQSlim)
A [parallel slim plugin](https://github.com/CBirkbeck/MQSlim) that shadows this one — same workflows, same load-bearing rails, restated in the "trust frontier- model judgement; minimal instructions" style Anthropic's skill-authoring guide explicitly recommends. Load both together and pick per task by typing `/cleanup` (verbose, gated) vs. `/clnup` (slim). MQSlim tests the hypothesis that frontier models produce better output when the prompts state the goal + the gates that catch real failures, and then get out of the way.
## What It Does
### Develop New Mathematics — Plan with `/develop`, then Execute with `/beastmode`
The development workflow is **split into planning and execution** to prevent the "agent reconsiders the whole approach mid-proof" failure mode. `/develop` does the strategic thinking; `/beastmode` does the tactical implementation; neither does the other's job.
**`/develop` — planning only.**
- **Comprehensive plan** from your references; exhaustive mathlib search; API design for every new declaration. - **One conclusion per declaration.** A result whose statement would bundle several independently-provable conclusions (a top-level `∧`-chain, source parts (i)/(ii)/(iii)) is split at planning time — one lemma per part, each with its own name and minimal hypotheses; any kept bundle is a one-line `⟨…⟩` assembly. Long theorem statements never get
Platform compatibility
Technical details
- Version
- 1.0.0
- License
- MIT
- Last updated
- Jul 30, 2026
- Published
- Jul 30, 2026
Frameworks & tools
Decision snapshot
Fallback candidate
recent repository activity
Audit
Install review
Install and adoption review
- Security
- 81/100
- Maintenance
- 100/100
- Install
- 92/100
Agent-proven evidence
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
- Success rate
- —
- Recent failure
- —
- Outcomes
- 0
- Output quality
- —
- Failed
- 0
- Not relevant
- 0
- Installs
- 0
- Risk blocked
- 0
- Setup needed
- 0
- Production
- 0
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Add to agent workflow
Free and open source. Review the report before installing into production agents.
Growth loop
Share kit
Scenario-led draft for Mathlib Quality, ready for a manual X post.
Before you hand an agent the next repo task, give it a repeatable starting point. Mathlib Quality: Claude Code skill plugin for cleaning up and bringing Lean 4 code to mathlib standards. 27 stars https://www.openagentskill.com/skills/cbirkbeck-mathlib-quality?ref=x
Optional reply with install command
Listing + install path for Mathlib Quality: https://www.openagentskill.com/skills/cbirkbeck-mathlib-quality?ref=x Install: npx skills add CBirkbeck/mathlib-quality
Listing source
Community indexed
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
- Creator
- CBirkbeck
- Indexed by
- OpenAgentSkill community index
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
Claim this skill listing
This Community indexed listing is attributed to CBirkbeck but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Add the evidence badges to your README
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/cbirkbeck-mathlib-quality)
[](https://www.openagentskill.com/skills/cbirkbeck-mathlib-quality)
[](https://www.openagentskill.com/skills/cbirkbeck-mathlib-quality/audit)
[](https://www.openagentskill.com/skills/cbirkbeck-mathlib-quality)Author
CBirkbeck
@cbirkbeck
Platform fit
Health signals
- GitHub stars
- 27
- Quality score
- 45/100
- Last GitHub push
- Jul 30, 2026
- Framework hints
- 1
- OpenAgentSkill views
- 0
- Install copies
- 0
- Outbound clicks
- 0
Community signal
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Trust & safety
Sandbox only
- GitHub adoption27 GitHub starsCHECK
- Stars/forks activity27 stars, 3 forks; issue activity unavailable in current metadataCHECK
- Recent maintenancePushed todayPASS
- License clarityMITPASS
- README/SKILL.md completenessMetadata includes enough usage and workflow contextPASS
- Dependency/runtime riskcommand execution surface, network or browser surfaceINFO
Related skills
Grill With Docs
A relentless interview that pressure-tests a plan against the codebase, sharpens domain language, and updates CONTEXT.md and ADRs when decisions become durable.
164.7K Stars · 0 InstallsCode Review
Review a branch or diff against repository standards and the originating spec in two independent analysis passes.
168.6K Stars · 0 InstallsTo Spec
Turn the current conversation and codebase context into a structured implementation spec, then publish it to the configured project issue tracker.
164.7K Stars · 0 InstallsTo Tickets
Break a plan, spec, or conversation into independently actionable tracer-bullet tickets with explicit blocking relationships.
176.7K Stars · 0 Installs