Wiki Ingest
Ingest sources into the knowledge wiki — summarize, cross-reference, and update index.
When to Use
Invoke with /wiki-ingest when:
- A new file has been added to
raw-sources/ - You want to process an article, transcript, PDF, or notes into the wiki
- You're batch-ingesting multiple sources
- You've clipped a web article with Obsidian Web Clipper
Process
Phase 1: Discover
- Read
WIKI.mdfor vault conventions and directory structure - Read
wiki/index.mdfor current wiki state - Identify the new source(s) in
raw-sources/- If user specifies a file, use that
- If user says "process new sources", find files not yet listed in index.md
Phase 2: Read & Extract
For each new source:
- Read the source file completely
- Identify:
- Key takeaways (3-5 bullets)
- Entities mentioned (people, tools, organizations, projects)
- Concepts discussed (ideas, frameworks, patterns)
- Claims that might contradict or reinforce existing wiki content
- Metadata: author, date, URL, type
Phase 3: Write Summary
- Create
wiki/summaries/{source-name}.mdwith frontmatter:--- title: Source Title type: summary sources: [original-filename.md] created: YYYY-MM-DD updated: YYYY-MM-DD tags: [relevant, tags] --- - Include: key takeaways, detailed summary, notable quotes (attributed), source metadata
Phase 4: Cross-Reference
- Entities: For each entity mentioned:
- If
wiki/entities/{name}.mdexists → update with new information, cite the source - If entity appears in 2+ sources but has no page → create one
- If
- Concepts: For each concept:
- If
wiki/concepts/{name}.mdexists → update, note agreements/contradictions - If concept is significant and new → create a page
- If
- Use
[[wikilinks]]in all pages for cross-references
Phase 5: Update Index & Log
- Add entry to
wiki/index.mdunder the appropriate section - Append to
wiki/log.md:## [YYYY-MM-DD] ingest | Source Title - Summary: wiki/summaries/source-name.md - Updated: [list of modified pages] - New pages: [list of created pages]
Output Format
Report to user:
### Ingest Complete: {Source Title}
**Summary**: wiki/summaries/{name}.md
**Key takeaways**:
- Bullet 1
- Bullet 2
- Bullet 3
**Files touched** ({N} total):
- Created: wiki/summaries/source-name.md
- Updated: wiki/entities/entity-a.md, wiki/concepts/concept-b.md
- Created: wiki/entities/new-entity.md
**Connections found**:
- Links to [[existing-concept]] — reinforces claim about X
- Contradicts [[other-page]] on Y — flagged in both pagesRules
- Never modify files in
raw-sources/— they are immutable - Always update
wiki/index.mdafter any change - Always append to
wiki/log.md - Every wiki claim must cite its source
- Flag contradictions explicitly — do not silently resolve
- Prefer updating existing pages over creating new ones
- Ask the user before creating pages for minor/ambiguous entities
- If ingesting multiple sources, process one at a time and report each