proof-leaf
Skill by ProofOfKeags
Guides an AI assistant through landing a new proof leaf in the btc-verified repository. It covers module layout, codec rules, axiom audit registration, golden vectors and the README section format. It is for contributors adding modules or theorems to that repo.
Install proof-leaf
Built from the published package, never by AI.
git clone --depth 1 https://github.com/ProofOfKeags/btc-verified /tmp/btc-verified && mkdir -p ~/.claude/skills && cp -r /tmp/btc-verified/.agents/skills/proof-leaf ~/.claude/skills/proof-leafRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/ProofOfKeags/btc-verified /tmp/btc-verified && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/btc-verified/.agents/skills/proof-leaf ~/.gemini/antigravity-cli/skills/proof-leafAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a checklist for landing a proof leaf in the btc-verified repository. A leaf is one module that builds cleanly, states its checked claims, and is wired into the build, the axiom audit and the README. The checklist covers module layout, such as one major type per module and doc-string rules. It also covers codec discipline for serializable structures, including composing codecs through equivalences.
The skill also covers wiring and verification. It explains importing the module, registering headline theorems with #assert_axioms, and adding golden vectors from real mainnet bytes. It lists the four checks to pass: lake build, lake test, lake lint and lake exe module-audit. It also gives the README section format. The intended users are contributors to btc-verified who add new modules, Codec instances or headline theorems.
Written from the project's SKILL.md and checked against it.
What it can do
- Module layoutSets rules for one major type per module and file placement under the matching directory.
- Codec disciplineExplains composing codecs by equivalence and when to hand-write encode and decode.
- Axiom audit registrationRegisters headline theorems in Tests/AxiomAudit.lean with #assert_axioms.
- Golden vectorsAdds real mainnet bytes as #guard tests or fetched block fixtures, with spot-checks.
- Verification checklistRuns lake build, lake test, lake lint and lake exe module-audit until all pass.
- README section formatWrites a module README entry with a description, checked claims and why it matters.
What you need
- The btc-verified repository
- Lean and lake build tooling
- Network access to blockstream.info for golden vector fetches
Try asking
- Add a leaf for a new Codec instance in btc-verified
- Register my new headline theorems in the axiom audit
- Write the README section for my new btc-verified module
Good to know
- Written for the btc-verified repository only
- Golden vector fixtures are downloaded on first run and cached locally
- Fixture bytes must never be committed to the repository
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/proof-leaf/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to proof-leaf
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
proof-leaf: common questions
What is a proof leaf in btc-verified?
The source describes a proof leaf as the repo's unit of progress: one module that builds cleanly, states its checked claims, and is wired into the build, the audit and the README.
Does the skill commit fixture bytes?
No. The source says block fixtures are fetched, cached under the gitignored Tests/fixtures/ directory, and never committed.
When is hand-written codec code needed?
The source says to hand-write encode and decode, with both law proofs, only when wire order and model order genuinely differ. Otherwise codecs are built by composition.
How do I install proof-leaf?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is proof-leaf free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is proof-leaf safe to use?
It scores 67 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to proof-leaf?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
