Skip to content
Documentation
Command

/wiki-ingest

Ingest a source document (or folder) into the llmwiki.

From plugin
llmwiki
36218 skills18 commands
Install
> /plugin marketplace add Pratiyush/llm-wiki
> /plugin install llmwiki@llmwiki

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/wiki-ingest

Context preview

What this command does when you run it.

Ingest a source document (or folder) into the llmwiki.

Command definition

wiki-ingest.md

Ingest a source document (or folder) into the llmwiki.

Usage: /wiki-ingest <path>

`$ARGUMENTS` should be a path relative to the repo root — typically a file or folder under `raw/`. Examples:

  • `/wiki-ingest raw/sessions/ai-newsletter/2026-04-04-kind-tinkering-hejlsberg.md`
  • `/wiki-ingest raw/sessions/ai-newsletter/`
  • `/wiki-ingest raw/sessions/`

Follow the **Ingest Workflow** exactly as defined in `CLAUDE.md`:

1. Read the source file (or every file in the folder) using the Read tool 2. Read `wiki/index.md` and `wiki/overview.md` for current context 3. Write `wiki/sources/<slug>.md` per the Source Page Format in `CLAUDE.md` 4. Update `wiki/index.md` — add the new source under `## Sources` 5. Update `wiki/overview.md` if the source adds substantial new information 6. Create or update `wiki/entities/<Name>.md` for any people, companies, projects, tools, libraries mentioned 7. Create or update `wiki/concepts/<Name>.md` for any ideas, patterns, or frameworks discussed 8. Cross-link everything with `[[wikilinks]]` under `## Connections` 9. Flag any contradictions with existing wiki content under `## Contradictions` 10. Append to `wiki/log.md`: `## [YYYY-MM-DD] ingest | <title>`

If you are ingesting a **session-derived** source (a file under `raw/sessions/`), also apply the session-specific rules from `CLAUDE.md` §"Session-derived source specifics":

  • Trust the frontmatter as authoritative metadata
  • Do not copy the `## Conversation` section verbatim
  • Create or update the project entity page
  • Extract any explicit decisions into `wiki/concepts/`
  • If there are more than ~20 files, ask the user before processing all of them

After finishing, summarise: what was added, which pages were created or updated, any contradictions found.

Read more
Ships withllmwiki

LLM-powered knowledge base from your Claude Code, Codex CLI, Cursor, Gemini CLI, and Obsidian sessions. Built on Andrej Karpathy's LLM Wiki pattern.

Get the whole plugin