LLM Wiki Query Skill
Purpose
Answer operator questions using the wiki as the primary source of truth, with reusable syntheses optionally filed back into the wiki. The wiki is an OKF v0.1 bundle (see SPEC.md); wiki/ is the bundle root.
Preconditions (must pass before analysis)
- An operator question is provided.
wiki/index.mdexists and is readable as the routing map for relevant pages.
Guardrails
- Primary-source discipline: Use wiki pages first (
wiki/index.md, then linked pages) before external assumptions. - Cited answers: Claims in the answer must cite relevant wiki pages via Obsidian wikilinks (
[[note]]/[[note|Display]]); external sources use standard markdown links. - Conditional filing: Do not file a synthesis page without operator confirmation when framing/reusability is ambiguous.
- Append-only log when filing: If a synthesis is filed, append a new date-grouped entry to
wiki/log.mdonly; do not edit prior entries (OKF §7). - Index freshness when filing: If a new synthesis page is created,
wiki/index.mdmust be rebuilt in the same operation. - Single source of truth: The schema is defined in
AGENTS.md. This skill enforces it; it never re-defines page types, frontmatter, or sections inline.
Required Step Order (exact)
- Read
wiki/index.mdto discover relevant pages. - Read relevant pages across entities, concepts, sources, and syntheses.
- Synthesize answer with citations using Obsidian wikilinks to pages used.
- Present answer to operator.
- If reusable/new synthesis: file it in
wiki/syntheses/followingAGENTS.md§ Synthesis Pages (frontmatter with non-emptytypeplustitle/description/question/tags/timestamp; H1 sections including# Citationswith numbered wikilinks for source pages and markdown links for external URLs), then rebuildwiki/index.mdper the Canonical rebuild procedure inAGENTS.md§ Update Rules for Special Files, and append towiki/log.mda single new## YYYY-MM-DDentry (OKF §7) with bullets* **Query**: <question> — <summary>.,* **Pages touched**: ...,* **Notes**: ...,* **Open questions**: ....
Operator Interaction Prompts
- Before filing (minimal):
- "Should I file this answer as a reusable synthesis page in
wiki/syntheses/?" - "If yes, what exact question/title should the synthesis preserve?"
- "Should I file this answer as a reusable synthesis page in
Done Gate (verify before reporting done)
- Delivered answer cites wiki pages via Obsidian wikilinks for every claim.
- If filed: the synthesis page complies with its type contract in
AGENTS.md§ Synthesis Pages (non-emptytypeplustitle/description/question/tags/timestamp; all REQUIRED H1 sections present — optional sections marked "omit otherwise" in AGENTS.md, e.g.# Comparison Table, may be omitted), uses Obsidian wikilinks for internal links (markdown links only for external URLs), has no legacyupdated/source_pathfields,wiki/index.mdis rebuilt per the Canonical rebuild procedure and lists the new page, andwiki/log.mdhas a newly appended## YYYY-MM-DDquery entry.
Path Handling Rules
- Discovery entrypoint:
wiki/index.md. - Evidence pages:
wiki/entities/,wiki/concepts/,wiki/sources/,wiki/syntheses/. - Optional filing target:
wiki/syntheses/YYYY-MM-DD--<slug>.md. - Required bookkeeping on filing:
wiki/index.md,wiki/log.md.