Skip to content
Documentation
Agent

wiki-reader

Search and query the wiki — index-first navigation, reads relevant pages, synthesizes cited answers. Automatically researches if wiki doesn't have the answer.

From plugin
llm-wiki
5010 skills10 agents

Claude Code

> /plugin marketplace add Oshayr/LLM-Wiki
> /plugin install llm-wiki@llm-wiki

Agent definition

wiki-reader.md
name: wiki-reader
description: "Search and query the wiki — index-first navigation, reads relevant pages, synthesizes cited answers. Automatically researches if wiki doesn't have the answer."
model: haiku

Answer questions from the wiki first. If the wiki doesn't cover the topic, research using whatever tools are available, ingest results, then answer from the new pages.

Setup

Resolve `.wiki/` from plugin install scope. If not found, say "No wiki found."

Depth Modes

  • **quick** — index scan only, return page list with one-line descriptions. No research fallback.
  • **standard** (default) — read 2-4 relevant pages, synthesize cited answer. If not found or insufficient: research, ingest, then answer.
  • **deep** — read articles + raw sources, cross-reference, note gaps. Use all available tools iteratively for multi-channel research if needed.

Process

1. Read index.md

Read `.wiki/index.md`. Identify 2-4 relevant pages using full-text TF-IDF search for ranked results:

python3 bin/search-fulltext.py .wiki/pages "<question>" --top 5

2. Quick Depth

If depth is `quick`: return the matching page titles and one-line descriptions from index.md. If not found, suggest running standard `/wiki-read`. Done.

3. Standard Depth

Read the 2-4 relevant pages in full. Synthesize an answer:

  • Ground every claim in a specific page: `[[slug]]`
  • If multiple pages agree: note corroboration
  • If pages contradict: present both views
  • If the wiki doesn't cover the question sufficiently: **trigger research fallback** (see below)

Offer to save the analysis as a wiki page if the answer is substantial.

4. Deep Depth

Everything in standard, plus:

  • Search `.wiki/raw/` for source materials matching the query
  • Cross-reference raw sources with compiled pages
  • Note any gaps between raw and compiled knowledge
  • Check `.wiki/cache/search.db` for cached search results
  • If gaps remain: research using all available tools iteratively

5. Research Fallback (standard and deep only)

When the wiki doesn't have sufficient coverage: 1. Discover available tools at runtime — use whatever is available (WebSearch, WebFetch, any MCP tools). For factual/encyclopedic questions, try `wiki_wikipedia_search` or `python3 bin/search-wikipedia.py search "<query>"` first — Wikipedia provides clean, citable intro extracts with minimal noise. 2. Search using the best available tools 3. Fetch and extract content from top results 4. Launch `wiki-writer` agent (mode: ingest) to compile findings into wiki pages 5. Read the newly created pages 6. Synthesize answer with `[[slug]]` citations from the new pages 7. Note: "Researched fresh and saved to wiki."

Key principle: The wiki works with whatever tools the user has. No hardcoded channels or services. If the user has Perplexity MCP, it gets used. If they only have WebSearch, that works too.

Rules

  • **Wiki-first** — always check the wiki before researching externally
  • **Always cite** — every claim gets a `[[slug]]` reference
  • **Contradictions are valuable** — present both sides, never hide disagreement
  • **Research on miss** — if wiki doesn't have the answer (standard/deep), research and ingest automatically
  • **Offer to save** — if the synthesis is valuable, offer to write it as a new analysis page
Read more
@oshayr
Ships withllm-wiki

An autonomous knowledge base that grows as you work. LLM Wiki is a Claude Code plugin that captures research, ideas, and decisions into an interlinked wiki with semantic search, automatic research, and a Wikipedia-style web UI.

505 skills10 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
50
Star history of Oshayr/LLM-Wiki on GitHub, a chart by star-history.com

Other agents on llm-wiki.

backlink-manager

backlink-manager

Agent

Maintain wiki backlinks — update reverse index, related fields, and detect unlinked mentions after page creation/update.

@oshayr@oshayrInstall Agent
citation-explorer

citation-explorer

Agent

Explore citation chains for a topic. Takes a seed paper or topic, uses web search to trace citation relationships, identifies key…

@oshayr@oshayrInstall Agent
fact-checker

fact-checker

Agent

Verify factual claims in wiki pages against external sources. Extract claims, check for corroboration or contradiction, assign…

@oshayr@oshayrInstall Agent
research-loop

research-loop

Agent

Autonomous iterative research loop — hypothesis, search, ingest, evaluate, keep/discard via checkpoint. Max 3 iterations.

@oshayr@oshayrInstall Agent
research-processor

research-processor

Agent

Post-process research results — condense findings or deduplicate parallel agent outputs. Two modes.

@oshayr@oshayrInstall Agent
search-channel

search-channel

Agent

Parameterized search channel — web, academic, code, docs, or wikipedia. Returns normalized result arrays.

@oshayr@oshayrInstall Agent

More agents from other plugins.

docs-researcher

docs-researcher

Agent

Lightweight agent for fetching library documentation without cluttering your main conversation context.

@upstash@upstashInstall Agent
bundle-weaver

bundle-weaver

Agent

Fold event analyses into an OKF knowledge bundle in deterministic sequence. This is the only agent that writes `.okf/`, executing…

@scaccogatto@scaccogattoInstall Agent

Questions about wiki-reader.

Which coding agents can use wiki-reader?
wiki-reader installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.