lean-zettelkasten
Skill3 starsChanged 25 days agoApache-2.0View on GitHub
USE FOR: creating fleeting/literature/permanent ZK notes during Lean proof reviews, linking notes bidirectionally. DO NOT USE FOR: running the review council itself (@lean-review-council). TRIGGERS: zettel, ZK-, fleeting note, permanent note, synthesis.
In this repository65 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ai-guard-judge-evalSkill
- applied-data-information-securitySkill
- applied-engineering-disciplinesSkill
- applied-legal-reasoningSkill
- epistemic-discovery-engineSkill
- epistemic-mappingSkill
- hol-metamath-adapterSkill
- isabelle-isar-adapterSkill
- itp-cross-portingSkill
- lean-ai-formalizationSkill
- lean-applied-reasoningSkill
- lean-axiom-closureSkill
- lean-bigraph-modelingSkill
- lean-bisectSkill
- lean-blueprintSkill
- lean-buildSkill
- lean-causal-reasoningSkill
- lean-competitive-mathSkill
- lean-convergence-verificationSkill
- lean-core-onlySkill
- lean-dag-visualizerSkill
- lean-deep-auditSkill
- lean-doc-feedbackSkill
- lean-doc-improvementSkill
- lean-doc-requirementsSkill
- lean-enforcementSkill
- lean-formalization-breakdownSkill
- lean-gatewaySkill
- lean-integration-protocolSkill
- lean-knowledge-formalizationSkill
- lean-math-analysisSkill
- lean-math-discreteSkill
- lean-math-dynamicalSkill
- lean-math-foundationsSkill
- lean-math-optimizationSkill
- lean-math-stochasticSkill
- lean-mweSkill
- lean-nested-learningSkill
- lean-package-researchSkill
- lean-pedagogical-expositionSkill
- lean-proof-refactorSkill
- lean-proof-repairSkill
- lean-proof-reviewSkill
- lean-proofSkill
- lean-prSkill
- lean-quality-engineSkill
- lean-replay-verificationSkill
- lean-reportSkill
- lean-researchSkill
- lean-retroactive-auditSkill
- lean-retro-methodologySkill
- lean-review-councilSkill
- lean-security-formalizationSkill
- lean-setupSkill
- lean-specificationSkill
- lean-tautology-triageSkill
- lean-upstream-portingSkill
- lean-vendor-substrateSkill
- math-product-managementSkill
- The first 60 shown.
The file
Files
lean-zettelkasten
Cold-tier skill — invoked explicitly by name (
@lean-zettelkasten) from
Routing
- USE FOR: creating a fleeting note from a council observation; creating a literature note when citing
lean-pitfalls / Mathlib
docs / a
paper;
promoting a cluster of ≥3 notes to a permanent note via the Synthesizer; bidirectional linking (
Related,Contradicts,Supports,Supersedes); running orphan / island / contradiction / staleness / coverage scans; updating_index.mdand_tags.md. - DO NOT USE FOR: running the review council itself (use
@lean-review-council); reviewing a specific proof (use@lean-proof-review); updating
Workflow
- Discover [discover] — read the triggering event (council session, new literature citation, scheduled
scan). Locate
_index.md, current note counts, recent tag activity. - Plan [discover] — pick note type (fleeting / literature / permanent) or scan type (orphan / island / contradiction / staleness / coverage). For permanent promotion, verify ≥3 source notes (G-5). STOP if cluster size < 3 and downgrade to literature note.
- Execute [execute] — write the note(s) under the correct directory (
fleeting/,literature/, orpermanent/<category>/); establish bidirectional links; flag contradictions for SDR. - Verify [validate] — re-check ID uniqueness, link reciprocity, tag presence (G-1, G-2). Max 3 re-checks then escalate.
Recovery & STOP
- Permanent-note promotion attempted with < 3 source notes → STOP, downgrade to literature note (G-5).
- Contradiction detected during synthesis → STOP this synthesis pass; emit a fleeting note flagging both sides for SDR.
- Orphan scan returns > 10 % of notes orphaned → STOP, hand off to
@lean-retro-methodologyfor a knowledge-coverage retro. - Confidence < 80 % on which category a permanent note belongs in (
tactics/,pitfalls/,conventions/,cross-module/,proofs/) → STOP, ask.
Handoffs
- Predecessors / successors: see FM
handoffs. Inbound:@lean-proof-review,@lean-review-council,@lean-retro-methodology, and@lean-proof(post-proof pattern capture) seed fleeting notes. Outbound:@lean-doc-improvementconsumes permanent notes that imply paper updates;@lean-quality-engineconsumes permanent notes that imply skill or methodology changes. - Source spec:
specs/lean/zettelkasten/requirements.md— every G-rule traces to an AC there.
Detailed reference
Full encyclopedic reference, decision trees, and lookup tables live in
references/lean-zettelkasten-handbook.md .
See also
../../references/lean-zettelkasten-handbook.md-- Completelean-zettelkastenHandbook../lean-gateway/SKILL.md-- Top-level skill router
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

