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

  1. Resolve vault and language. Run skillwiki path (fail if NO_VAULT_CONFIGURED) and skillwiki lang.
  2. Determine scope. Ask the user once if ambiguous: vault | current project | project+concepts.
  3. Refresh graph. If .skillwiki/graph.json is missing or older than 24h: skillwiki graph build <vault>.
  4. Compute overlap. skillwiki overlap <vault>.
  5. 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×
  1. Read top candidates in full (frontmatter + body).
  2. Synthesize answer with explicit citations to the candidate pages.
Installs
1
GitHub Stars
3
First Seen
1 day ago
wiki-query — karlorz/llm-wiki