# Lw Ask

> Answer a question using wiki/index.md first, then only the most relevant wiki pages. File lasting knowledge back into wiki/, and only write to outputs/ when the user explicitly wants a non-canonical artifact/export. Usage: /lw-ask <question>

- Skill: `geeksfino/lw-ask` (Agent Skill)
- Install (CLI): `npx skillmds@latest add geeksfino/lw-ask`
- Raw SKILL.md: https://api.skillmd.com/api/skills/geeksfino/lw-ask/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: geeksfino (https://skillmd.com/u/geeksfino)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/geeksfino/lw-ask

---


# LLM Wiki Ask

Answer questions using index-first navigation.

`wiki/` is the canonical query base.
`outputs/` is non-canonical artifact storage and must not be treated as a normal answer source.

## Steps
1. Read `wiki/index.md` first.
2. Select the most relevant 3-5 pages.
3. Read only those pages plus directly needed neighbors.
4. Synthesize a grounded answer with citations using the workspace link dialect from `wiki/SCHEMA.md`:
   - `wikilink` (default): `[[wiki-links]]`
   - `markdown`: `[title](relative/path.md)`
5. Deliver the answer in chat by default.
6. If the answer creates durable knowledge worth keeping, file it into canonical wiki space such as `wiki/queries/` or `wiki/comparisons/`.
7. Only write to `outputs/` when the user explicitly asks for an export, report, deck, chart, or other non-canonical artifact.
8. Update `wiki/index.md` only for canonical wiki pages, not for ordinary outputs.
9. Append a query entry to `wiki/log.md`.

## Rules
- Do not load the whole wiki by default.
- Cite pages actually read.
- If information is insufficient, say so.
- Good answers that contain lasting knowledge should usually become canonical wiki pages, not output artifacts.
- Do not query `outputs/` as part of the default answer path.

