math-proof — Claude Code skill: rigorous proofs, how to install
math-proof turns a claim or a rough sketch into a finished proof for a paper: every step justified, signs stated, intermediate algebra written out.
no license ★ 240 updated 2026-09-18
npx skills add franklee16/academic-research-skills --skill math-proof -a claude-codeWhat math-proof does
The skill fires on /math-proof or a plain request to prove, derive or justify something analytically. What comes back is a finished argument meant for publication, not a sketch you have to fill in later.
It follows a fixed shape. A setup section pins down notation and the model primitives first, then numbered steps follow, each opening with a sentence about what is being shown and closing on boundary or limiting cases. A section on recurring patterns covers differentiating a ratio with the quotient rule, deciding the sign of a log, the chain rule when a probability and its threshold both move, and induction with base case and hypothesis kept apart. The proof ends with \square.
The strictness is the point. Checking a property on a few small values does not count as proof here: when the general argument is out of reach, the skill says the general case is still open rather than passing an example off as a result. It cites standard theorems from undergraduate courses and proves anything non-standard inline. Display math goes in $$, inline in $.
What it helps with
- expand a proof sketch into a complete argument
- justify the sign of a derivative instead of guessing it
- show the intermediate algebra when differentiating a ratio
- walk through boundary cases and limiting behaviour
- keep the base case and the inductive step apart
Example prompts for the agent
- Prove that the threshold
tfalls as\rhorises, and spell out every step. - Expand the sketch in section 3 into a full proof with the intermediate algebra.
- Justify mathematically that
\betais negative.
How to install math-proof
1Skills CLI (Vercel)
npx skills add franklee16/academic-research-skills --skill math-proof -a claude-code2Manually: put the files in place
~/.claude/skills/math-proof/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/math-proof/
1Skills CLI (Vercel)
npx skills add franklee16/academic-research-skills --skill math-proof -a codex2Manually: put the files in place
.agents/skills/math-proof/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add franklee16/academic-research-skills --skill math-proof -a cursor2Manually: put the files in place
.cursor/skills/math-proof/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install franklee16/academic-research-skills theory-skills/theorist-toolbox-master/skills/math-proof2Manually: put the files in place
.github/skills/math-proof/SKILL.md1Skills CLI (Vercel)
npx skills add franklee16/academic-research-skills --skill math-proof -a gemini-cli2Platform CLI
gemini skills install https://github.com/franklee16/academic-research-skills --path theory-skills/theorist-toolbox-master/skills/math-proofManually: put the files in place
.devin/skills/math-proof/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about math-proof
How do I install math-proof in Claude Code?
Run npx skills add franklee16/academic-research-skills --skill math-proof -a claude-code. The skill file lands at ~/.claude/skills/math-proof/SKILL.md.
What does math-proof do?
It writes complete mathematical proofs for academic papers, with each transition justified, signs stated and the algebra shown in between.
How is its output different from a proof sketch?
It will not treat a sketch as the answer: when the general case cannot be shown, it says the question stays open. Verifying one special case does not count as proof.