wiki-query
Installation
SKILL.md
wiki-query
When This Skill Activates
- User asks a question that should be answered from vault contents.
- A vault is resolvable (see step 0).
Output language
Run skillwiki lang at the start. Generate query-result prose and --human summaries in the resolved language. Frontmatter keys, file names, schema headers, index/log structural lines, citation markers, and wikilink slugs MUST stay English.
Pre-orientation reads
Standard four reads (SCHEMA, index, log, project context if applicable).
Steps
- Resolve vault and language. Run
skillwiki path(fail if NO_VAULT_CONFIGURED) andskillwiki lang. - Determine scope. Ask the user once if ambiguous: vault | current project | project+concepts.
- Refresh graph. If
.skillwiki/graph.jsonis missing or older than 24h:skillwiki graph build <vault>. - Compute overlap.
skillwiki overlap <vault>. - Score candidates in prompt using the 4 signals:
- Direct wikilink: 3.0×
- Source overlap: 4.0× (read from overlap output)
- Adamic-Adar: 1.5× (read from graph output)
- Type affinity: 1.0×
- Read top candidates in full (frontmatter + body).
- Synthesize answer with explicit citations to the candidate pages.