Obsidian Karpathy Wiki
by @ducheneadas-source
Operate an Obsidian knowledge base as a persistent LLM wiki using a raw-to-source-to-wiki pattern. Use when Codex or another agent needs to ingest raw notes,...
clawhub install obsidian-karpathy-wikiπ About This Skill
name: obsidian-karpathy-wiki description: Operate an Obsidian knowledge base as a persistent LLM wiki using a raw-to-source-to-wiki pattern. Use when Codex or another agent needs to ingest raw notes, reconcile loose inbox material, maintain source summaries, compile formal wiki pages, write back valuable query outputs, run heartbeat maintenance, lint contradictions and stale claims, or hand off ongoing wiki operations to another agent.
Obsidian Karpathy Wiki
Overview
Use this skill to maintain an Obsidian vault as a persistent, compounding knowledge base instead of a passive note archive.
The core pattern is:
sourcesoutputsThis skill is designed for an agent that does recurring maintenance, not just one-off cleanup.
Read references/object-model.md before restructuring a vault. Read references/workflow.md before ingest, query, lint, or migration work. Read references/adaptation-checklist.md before adapting this skill to a specific user's vault. Read references/heartbeat.md before setting up recurring maintenance behavior.
Core Idea
Do not treat the goal as organizing files.
Treat the goal as compiling knowledge once and then keeping it current.
A good vault maintained with this skill should let the agent answer questions by reading a living wiki, not by rediscovering everything directly from raw documents every time.
Recommended Vault Shape
Prefer this logical structure, even if physical names differ:
raw/compile/ or another staging layerwiki/outputs/ or content-outputs/CLAUDE.md and a maintenance skillWithin wiki/, prefer this formal structure:
index.mdlog.mdquestions/methods/decisions/principles/domains/concepts/entities/sources/outputs/Questions, methods, and decisions are the main navigation axis. Principles explain why methods and decisions stay valid across situations. Sources are evidence bridges. Outputs are reusable query artifacts.
Operating Model
Raw
Raw material is source-of-truth input.
Do not treat raw notes as formal knowledge by default.
Loose notes in the vault root should usually be treated as temporary inbox material and moved into a raw inbox folder unless the user explicitly wants them to remain in place.
Sources
wiki/sources/ is the bridge between raw material and formal knowledge.
A source page should summarize:
Formal Pages
Promote stable knowledge into:
questions/methods/decisions/principles/Avoid creating many thin formal pages from a single source.
Outputs
Save high-value query results into wiki/outputs/.
Examples:
Outputs are not automatically formal knowledge, but they are often new source material for future write-back.
Core Operating Loop
1. Ingest
When new material appears:
1. Read the source.
2. If a loose note appears in the vault root, treat it as inbox material.
3. Move loose inbox notes to a human raw inbox folder unless the user explicitly wants them to remain in place.
4. Create or update a wiki/sources/ page.
5. Extract only the stable upgrades:
- question
- method
- decision
- principle
- concept
- entity
6. Update only the few formal pages that truly benefit.
7. Update wiki/index.md.
8. Append a record to wiki/log.md.
Do not explode one source into many thin pages.
2. Query
When answering a user question:
1. Read wiki/index.md first.
2. Read the most relevant question, method, and decision pages.
3. Read principle, concept, entity, and source pages as supporting context.
4. Produce a structured answer.
5. If the answer is reusable, save it under wiki/outputs/.
6. Decide whether the output should later be written back into formal pages.
3. Weekly Compile
Use weekly compile to:
index.md, and log.md4. Lint
Check for:
5. Backfill
Treat output folders as write-back sources.
Backfill only:
Do not promote finished drafts directly into formal wiki pages.
Heartbeat Rule
Heartbeat should mean recurring maintenance, not empty status pings.
A good heartbeat checks:
Heartbeat should lead to either:
Publishing Safety
When publishing or sharing this skill:
Writing Rules
Handoff Rule
This skill is suitable as a public foundation for persistent Obsidian wiki maintenance.
For a private deployment, pair it with a separate vault-specific governance file that defines: