wanshuiyin/auto-claude-code-research-in-sleep-proof-writer
Writes rigorous mathematical proofs for ML/AI theory. Use when asked to prove a theorem, lemma, proposition, or corollary, fill in missing proof steps, formalize a proof sketch, \u8865\u5168\u8bc1\u660e, \u5199\u8bc1\u660e, \u8bc1\u660e\u67d0\u4e2a\u547d\u9898, or determine whether a claimed proof can actually be completed under the stated assumptions.
npx skills add https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep --skill proof-writer
Write a mathematically honest proof package, not a polished fake proof.
PROOF_PACKAGE.md in project rootPROVABLE AS STATED | PROVABLE AFTER WEAKENING / EXTRA ASSUMPTION | NOT CURRENTLY JUSTIFIEDProduce exactly one of:
Extract and normalize:
If notation or assumptions are ambiguous, state the exact interpretation you are using before proving anything.
Determine the target proof file with this priority:
PROOF_PACKAGE.md in project root as the default targetRead the relevant local context:
Extract:
Restate:
Identify:
Preserve the user's original theorem statement unless a change is explicitly required.
If you use a stronger normalization or cleaner internal formulation only to make the proof easier, keep that as an internal proof device rather than silently replacing the original claim.
Before writing a proof, classify the claim into exactly one status:
PROVABLE AS STATEDPROVABLE AFTER WEAKENING / EXTRA ASSUMPTIONNOT CURRENTLY JUSTIFIEDCheck explicitly:
If the claim is not provable as stated, do NOT fabricate a proof.
Do NOT silently strengthen assumptions or narrow the theorem's scope just to make the proof work.
Choose a proof strategy, for example:
Then write a dependency map:
If one step is substantial, isolate it as a lemma instead of burying it in one sentence.
Write to the chosen target proof file.
If the target proof file already exists:
If the user does not specify a target, default to PROOF_PACKAGE.md in project root.
Do NOT write directly into paper sections or appendix .tex files unless the user explicitly asks for that target.
The proof package must include:
Mathematical rigor requirements:
$...$ for inline math and $$...$$ for display equationsBefore finishing the target proof file, verify:
If a key step still cannot be justified, downgrade the status and write a blockage report instead of forcing a proof.
Write the target proof file using this structure:
# Proof Package
## Claim
[exact statement]
## Status
PROVABLE AS STATED / PROVABLE AFTER WEAKENING / NOT CURRENTLY JUSTIFIED
## Assumptions
- ...
## Notation
- ...
## Proof Strategy
[chosen approach and why]
## Dependency Map
1. Main claim depends on ...
2. Lemma A depends on ...
3. Step k uses ...
## Proof
Step 1. ...
Step 2. ...
...
Therefore the claim follows. ∎
## Corrections or Missing Assumptions
- [only if needed]
## Open Risks
- [remaining fragile points, if any]
Write the full file structure above with a complete proof.
Write:
Write:
Status: NOT CURRENTLY JUSTIFIEDAfter writing the target proof file, respond briefly with:
Open Risks; do not hide it inside polished prose.Take wanshuiyin/auto-claude-code-research-in-sleep-proof-writer from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.