Install
openclaw skills install karpathy-wikiBuild, maintain, query, and lint a persistent markdown knowledge wiki that sits between raw sources and final answers. Use when managing a personal or team wiki, ingesting notes, articles, transcripts, reports, or research into a structured knowledge base, updating index and log pages, creating or revising topic, entity, concept, source, or analysis pages, answering questions from an existing wiki, or checking a wiki for contradictions, stale claims, missing links, orphan pages, duplicate pages, and schema drift. Best for Obsidian-friendly, plain markdown, or git-backed wikis where the agent should incrementally compile knowledge instead of re-deriving it from raw documents on every query.
openclaw skills install karpathy-wikiMaintain a persistent markdown wiki that compiles knowledge over time. Treat raw sources as immutable, treat the wiki as the maintained artifact, and keep structure and conventions consistent so future sessions can continue the work.
Operate with three layers:
raw sources/ or equivalent input area, read-only source materialwiki/ or equivalent markdown knowledge base, editable compiled knowledgeschema document that defines folder layout, naming, citation style, and workflowsPrefer updating the wiki over answering from scratch. When useful work is produced during analysis or Q&A, file the result back into the wiki as a reusable page.
If the user does not already have a schema, propose a simple markdown-first layout like:
wiki/
index.md
log.md
schema.md
sources/
pages/
topics/
concepts/
entities/
analyses/
Adapt to the user's existing layout instead of forcing this one.
Use when a new source is added.
Workflow:
index.mdlog.mdDuring ingest, prefer touching a small number of clearly relevant pages over creating a large number of weak pages.
Create a new page only when at least one of these is true:
Otherwise, expand an existing page.
Use when the user asks a question against the wiki.
Workflow:
index.md first when availableindex.md if a new page is createdlog.md if the wiki treats queries as first-class eventsPrefer answers that preserve distinctions between:
Use when checking wiki health.
Look for:
When linting, prefer producing an actionable list of fixes grouped by severity:
Favor concise pages with clear structure. A useful default shape is:
# Page Title
## Summary
Short synthesis of what this page is about.
## Key points
- Bullet points of durable knowledge
## Details
Longer notes, evidence, chronology, or structured sections
## Related
- [[Other Page]]
## Sources
- [[Source Page A]]
- [[Source Page B]]
If the wiki uses frontmatter, keep it minimal and consistent. Good optional fields include:
- `type`
- `aliases`
- `status`
- `updated`
- `source_count`
- `tags`
Do not invent elaborate metadata unless the user actually benefits from it.
## Naming and linking rules
Use stable, human-readable file names.
Prefer:
- one canonical page per concept/entity/topic
- redirects or aliases only when the wiki supports them
- explicit wiki-links between related pages
- consistent singular vs plural naming
When unsure whether two pages should merge, keep both only if they have clearly different scope. Otherwise merge and leave one canonical page.
## Index and log rules
### `index.md`
Treat `index.md` as the navigational catalog.
Include:
- page link
- one-line summary
- optional grouping by category
- optional source counts or update dates if the wiki uses them
Keep it skimmable. It should help future sessions decide what to read next.
### `log.md`
Treat `log.md` as append-only chronology.
Use a parseable heading style such as:
```markdown
## [2026-04-12] ingest | Source title
Keep entries concise:
A good wiki update should:
Do not overwrite uncertainty with confident prose. When the evidence is mixed, say so clearly.
If a wiki already exists:
For Obsidian-style vaults:
[[Page Name]]Deliver:
index.md updatelog.md entryDeliver:
Deliver:
references/getting-started.md when the user needs a minimal starter schema for a new wiki.references/wiki-patterns.md for core page templates and structural heuristics.references/ingest-patterns.md when ingesting a new source into the wiki.references/query-patterns.md when answering questions from the wiki or deciding whether to save a durable analysis page.references/lint-checklist.md when checking the wiki for contradictions, stale claims, weak links, duplicates, or structural drift.