Agent skill · Security

proof-checker

Rigorous mathematical proof verification and fixing workflow. Reads a LaTeX proof, identifies gaps via cross-model review (external reviewer backend, xhigh reasoning), fixes each gap with full derivations, re-reviews, and generates an audit report. Use when user says "检查证明", "verify proof", "proof check", "审证明", "check this proof", or wants rigorous mathematical verification of a theory paper.

majiayu000github.com/majiayu000GitHub ↗
claude-codecan modify filesMIT
Install
npx skills add majiayu000/claude-skill-registry --skill proof-checker --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 48 KB
Bundled scripts: none
Allowed tools: Bash(*)ReadGrepGlobWriteEditAgentmcp__codex__codexmcp__codex__codex-replymcp__manual_review__reviewmcp__manual_review__review_reply
Path: skills/analysis/proof-checker/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

Review
written from the skill's own SKILL.md · Aug 5, 2026

What it does

Rigorous mathematical proof verification and fixing workflow. Reads a LaTeX proof, identifies gaps via cross-model review (external reviewer backend, xhigh reasoning), fixes each gap with full derivations, re-reviews, and generates an audit report. Use when user says "检查证明", "verify proof", "proof check", "审证明", "check this proof", or wants rigorous mathematical verification of a theory paper.

How it works

Phase 0 describes locating and reading the proof, building a section map, and identifying the main theorem. Phase 0.5 builds a proof-obligation ledger in parallel using a tiered approach: Phase 1 (Tier 1) extracts symbols/claims per section; Phase 2 (Tier 2) processes shards via subagents; Phase 3 (Tier 3) walks sections sequentially. The system enforces that shards merely extract obligations and do not adjudicate validity. The artifact outputs include a PROOF_SKELETON.md with a Dependency DAG, Assumption Ledger, Typed Symbol Table, Canonical Quantified Statements, and Micro-Claim Inventory, plus a PROOF_AUDIT.md audit, a proof_audit_report.tex, and a PROOF_CHECK_STATE.json for recovery. Render HTML of PROOF_AUDIT.md at the end when RENDER_HTML is true. The workflow uses a cross-model reviewer (CODEx backend by default) to perform an adversarial review, with memory preservation across rounds via codex-reply or manual equivalents.

Phase 1: First Review (reviewer backend, xhigh reasoning) requires submitting the complete proof content with a checklist that includes mandatory checks: A. DEFINITIONS, B. HYPOTHESIS DISCHARGE, C. INEQUALITY AUDIT, D. INTERCHANGE AUDIT, E. PROBABILITY MODE. The system uses tool calls like mcp__codex__codex or mcp__manual_review__review depending on backend, with config: {"model_reasoning_effort": "xhigh"}.

Phase 2 and beyond perform iterative reviews, fix gaps with full derivations, re-review, and update audit artifacts until convergence. The final audit report and state file reflect what was verified and where gaps remain.

When to use it

Use when the user requests rigorous mathematical verification of a theory paper or asks to check a proof in various supported phrases (Chinese and English) indicating proof verification or checking.

What it can touch

The workflow references the following artifacts and tools: PROOF_AUDIT.md, proof_audit_report.tex, PROOF_CHECK_STATE.json, PROOF_SKELETON.md, mcp__codex__codex, mcp__codex__codex-reply, mcp__manual_review__review, mcp__manual_review__review_reply. The CLAIMS extraction and cross-model review process touch these artifacts through the verifier and reviewer backends. Render HTML of PROOF_AUDIT.md at workflow end if RENDER_HTML = true.

Caveats

Acceptance requires zero open FATAL or CRITICAL issues, explicit hypothesis discharge in each theorem/lemma, and proper handling of limit orders and uniformity; counterexample checks are performed as part of audit. The process uses backends that may be Claude-vs-non-Claude in routing; the default reviewer backend is codex. If manual reviewer is unavailable, installation should print the install command and not fall back to Codex. Render HTML rendering depends on the render flag and Codex audit fidelity checks.

From the SKILL.md

# Proof Checker: Rigorous Mathematical Verification & Fixing > 🔒 **Do not wrap this skill in `/loop`, `/schedule`, or `CronCreate`.** It is > verdict-bearing — it judges proof validity across rounds, threading the > reviewer's memory from Phase 1 → Phase 3 via `codex-reply` so the reviewer can > check whether a fix actually closed the gap it flagged. An external timer > re-enters from the top each tick, starting a fresh thread and losing that > memory. Schedule the *external wait that precedes it*, not the verdict. See > [`shared-references/external-cadence.md`](../shared-references/external-cadence.md). Systematically verify a mathematical proof via cross-model adversarial review, fix identified gaps, re-review until convergence, and generate a detailed audit report with proof-obligation accounting. ## Context: $ARGUMENTS ## Constants - MAX_REVIEW_ROUNDS = 3 - REVIEWER_MODEL = `gpt-5.5` — Default model for the Codex backend, reasoning effort always `xhigh`. Manual backend uses whatever model the user chooses, **but it must be a non-Claude model** — the executor is Claude, so routing the proof review into any Claude product makes Claude judge Claude and voids the cross-model invar

What's inside
Steps it walks through
  1. Context: $ARGUMENTS
  2. Constants
  3. Reviewer Calling Convention
  4. Acceptance Gate (objective, replaces subjective scoring)
  5. Issue Taxonomy (20 categories, 4 groups)
  6. Group A: Logic & Proof Structure
  7. Group B: Analysis & Measure Theory
  8. Group C: Model & Parameter Tracking
  9. Group D: Scope & Claims
  10. Two-Axis Severity System
  11. Axis A — Proof Status (what is wrong)
  12. Axis B — Impact (how much breaks)
  13. Severity Labels (derived)
  14. Side-Condition Checklists for Common Theorems
Ships with 1 file
  • metadata.json
Commands it runs
pdflatex -interaction=nonstopmode <file>.tex 2>&1 | grep -E "Error|Warning|undefined"
More from claude-skill-registry
All skills →
About this skill
What does the proof-checker skill do?

Rigorous mathematical proof verification and fixing workflow. Reads a LaTeX proof, identifies gaps via cross-model review (external reviewer backend, xhigh reasoning), fixes each gap with full derivations, re-reviews, and generates an audit report. Use when user says "检查证明", "verify proof", "proof check", "审证明", "check this proof", or wants rigorous mathematical verification of a theory paper.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill proof-checker --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going