wiki-audit
Use when fact-checking a single wiki page against its cited sources — verifies that every footnote actually supports its claim…
Use when revising existing wiki pages because knowledge has changed, a new piece of information updates or contradicts existing content, or the user wants to directly edit wiki content with LLM assistance.
$ npx -y skills add kfchou/wiki-skills --skill wiki-update --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/wiki-updateContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when revising existing wiki pages because knowledge has changed, a new piece of information updates or contradicts existing content, or the user wants to directly edit wiki content with LLM assistance.
name: wiki-update description: Use when revising existing wiki pages because knowledge has changed, a new piece of information updates or contradicts existing content, or the user wants to directly edit wiki content with LLM assistance.
Revise existing wiki pages. Always show diffs before writing. Always log. Always cite the source of new information.
Find `SCHEMA.md` (search from cwd upward, or `~/wikis/`). If not found, tell the user to run `wiki-init` first. Read it to get wiki root path and conventions.
**Link style.** Read `link_style:` from `SCHEMA.md`. If the field is missing or `<wiki-root>/config/link-style.md` does not exist, default to `obsidian` (`[[slug]]`). Otherwise, read `<wiki-root>/config/link-style.md` for the emit and parse rules. Use the `## Parse` rule when scanning existing pages for cross-references; use the `## Emit` rule whenever you write new cross-references or citations.
The user may provide:
Read the current content in full. Propose the change:
> **Current:** `<quote the existing text>` > **Proposed:** `<replacement text>` > **Reason:** `<why this change is warranted>` > **Source:** `<URL, file path, or description of where this information comes from>`
**Always include Source.** An edit without a source citation creates untraceability — future you won't know why the change was made.
**If a proposed edit introduces a new `[[slug]]`,** the target must resolve to an existing `wiki/pages/<slug>.md` (or a page being created in this operation) before you write it — see the Concept Identity rule in `SCHEMA.md`. Never edit in a link to a slug you have not confirmed.
Ask for confirmation before writing each page. Do not batch-apply changes without per-page confirmation.
After identifying the primary pages to update, scan all of `wiki/pages/` for cross-references to those pages using the `## Parse` rule from `config/link-style.md`. For each page that links to an updated page:
If the new information contradicts something in the wiki: search all pages for the contradicted claim before updating. It may appear in more than one place. Update all occurrences, not just the most obvious one.
Never hand-edit the index. If the page's one-line summary or category changed, edit the `summary` / `category` **frontmatter** on the page itself. Always bump the page's `updated` date (leave `created` untouched). Then regenerate:
python bin/generate-index.py
Re-read `overview.md`. If the updates shift the overall synthesis (new understanding, resolved open question, changed key claim), propose edits to overview.md using the same confirm-before-write flow.
Per SCHEMA's **Operation Log & Commit Convention**:
`docs:` for an update, plus the trailer); commit on the user's confirmation.
docs: <what changed, briefly> Wiki-Op: update
## [<today>] update | <list of updated page slugs> Reason: <brief description of what changed and why> Source: <URL or description>
A Claude Code plugin implementing Karpathy's LLM Wiki pattern — a persistent, compounding knowledge base maintained by your LLM.
Use when fact-checking a single wiki page against its cited sources — verifies that every footnote actually supports its claim…
Use when adding a new source to a wiki — a paper, article, URL, file, transcript, or any document. One ingest may touch 10-15…
Use when bootstrapping a new personal wiki for any knowledge domain — research, codebase documentation, reading notes,…
Use when auditing a wiki for health issues — contradictions between pages, orphan pages, broken cross-references, stale claims,…
Use when two wiki pages turn out to be the same concept under different slugs (merge), or one page overloads several distinct…
Use when asking a question against a personal wiki built with wiki-init and wiki-ingest. Do not answer from general knowledge —…