packages/plugins/plugin-llm-wiki/skills/wiki-ingest/SKILL.md
Turn one source document into durable, interlinked wiki knowledge.
operationType: "ingest" assigned to you.raw/ path mentioned in the issue body (always treat raw/ as immutable).wikiId, spaceSlug, and space root (otherwise stop and surface the missing config to the requester).AGENTS.md for page conventions (filenames, frontmatter, voice, citation style).wiki/index.md to see what already exists.wiki/log.md to avoid re-ingesting a source or re-resolving a contradiction someone else already filed.wiki_read_source, passing the operation issue's wikiId and spaceSlug. Do not skim. Note the source's structure, claims, dates, and anything that contradicts existing pages.wiki/sources/<slug>.md — ~300–800 words, frontmatter per the wiki schema, neutral voice, key claims with quoted excerpts where they carry weight. The source page is the canonical citation target for everything else this skill writes.entities/, concepts/, and synthesis/. A typical ingest touches 5–15 pages; resist creating pages for ideas that only appear once.(see [[wiki/sources/<slug>]]). Every entity / concept mentioned by name on more than one page links to its dedicated page.> ⚠ contradicted by [[wiki/sources/<slug>]] (YYYY-MM-DD) callout to the older page and note the conflict in the log.wiki/index.md with one-line summaries for any new pages.wiki/log.md:
## [YYYY-MM-DD] ingest | <source title>
- source: raw/<filename>
- new pages: [[...]], [[...]]
- updated pages: [[...]], [[...]]
- notes: <one-line synthesis or open question>
Before closing the operation issue:
wiki/sources/<slug>.md with valid frontmatter and a sources: field pointing to the raw path.wiki/index.md lists every new page under the right category with a one-line summary.wiki/log.md has the ingest entry with the exact filename heading format (so grep "^## \[" wiki/log.md keeps working).raw/ was modified.wiki_list_sources, wiki_read_source, wiki_search, wiki_read_page, wiki_write_page. Always include the operation issue's wikiId and spaceSlug.