/llm-wiki:researchfrom llm-wiki
Search QMD-indexed project and main cross-project LLM wikis for past patterns, decisions, solutions, and pitfalls before planning or implementation. Use before feature planning, bug fixing, refactoring, architecture work, or code changes when a project wiki may exist.
Ships in llm-wiki. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Search the project wiki and main cross-project wiki before planning or implementation. Produce a concise Past Knowledge section that downstream planning or coding can use.
Determine:
basename "$(git rev-parse --show-toplevel 2>/dev/null || pwd)"dirname "$(git rev-parse --show-toplevel)"wiki/ exists in the repo..llm-wiki/config.json exists and contains main_wiki_path.~/wikis/master/wiki/ exists.~/wikis/main/wiki/ exists.<parent-of-project>/wikis/master/wiki/ exists.<parent-of-project>/wikis/main/wiki/ exists.qmd CLI, or only rg are available.If no main cross-project wiki exists, say that explicitly. Ask the user for a
main wiki folder when cross-project context is important, or suggest running
bootstrap on Claude Code/Codex or wiki-bootstrap on Pi/OpenClaw to create
<parent-of-project>/wikis/master/wiki/.
Use at most two QMD MCP query calls. Do not fire many QMD calls in parallel; combine related searches into the searches array.
Project search:
{
"searches": [
{ "type": "lex", "query": "<3-5 key terms>" },
{ "type": "vec", "query": "<natural-language task question>" }
],
"collections": ["<current-project-name>"],
"limit": 10
}
Main cross-project search:
{
"searches": [
{ "type": "lex", "query": "<key terms>" },
{ "type": "vec", "query": "patterns for <feature domain>" }
],
"collections": ["master"],
"limit": 10
}
Use the master QMD collection for the main cross-project wiki when available. If the environment uses a main collection instead, query main.
Read the top 3-5 relevant pages with QMD get or multi-get.
qmd query "<topic>" --collection "<current-project-name>"
qmd query "<topic>" --collection master
# or, if the cross-project wiki is indexed as main:
qmd query "<topic>" --collection main
rg "<key terms>" wiki/ --type md -C 2
rg "<key terms>" "<main_wiki_path from .llm-wiki/config.json>" --type md -C 2
rg "<key terms>" ~/wikis/master/wiki/ --type md -C 2
rg "<key terms>" ~/wikis/main/wiki/ --type md -C 2
rg "<key terms>" ../wikis/master/wiki/ --type md -C 2
rg "<key terms>" ../wikis/main/wiki/ --type md -C 2
Skip missing directories gracefully.
Prioritize:
wiki/decisions.mdwiki/technical-debt.mdwiki/gaps.mdwiki/architecture.md<main_wiki_path from .llm-wiki/config.json>/patterns.md<main_wiki_path from .llm-wiki/config.json>/learnings.md~/wikis/master/wiki/patterns.md~/wikis/master/wiki/learnings.md~/wikis/main/wiki/patterns.md~/wikis/main/wiki/learnings.md<parent-of-project>/wikis/master/wiki/patterns.md<parent-of-project>/wikis/master/wiki/learnings.md<parent-of-project>/wikis/main/wiki/patterns.md<parent-of-project>/wikis/main/wiki/learnings.mdOnly cite or summarize pages actually read.
Return this structure:
### Past Knowledge
**Relevant wiki pages:**
- ...
**Applicable patterns:**
- ...
**Past decisions that constrain this work:**
- ...
**Known pitfalls:**
- ...
**Reusable components:**
- ...
**Gaps this work could fill:**
- ...
If no wiki exists, say that explicitly and suggest running bootstrap on
Claude Code/Codex or wiki-bootstrap on Pi/OpenClaw.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub ivankuznetsov/agent-plugins --plugin llm-wiki5 skills in this plugin
/bootstrapBootstrap an LLM-maintained wiki for the current project. Use when a user asks to create, initialize, or refresh a project wiki, LLM wiki, QMD wiki, or codebase knowledge base for Claude Code, Codex, Pi, or OpenClaw./upgradeUpgrade an existing project's managed llm-wiki structure without rerunning broad wiki bootstrap. Use when a user asks to migrate, update, or upgrade project-local .llm-wiki scripts, hooks, or changelog structure after installing a newer llm-wiki release./wiki-planPlan a feature, bugfix, refactor, or improvement with wiki research first. Searches project and main cross-project wiki context, synthesizes Past Knowledge, then delegates to Compound Engineering planning when available or writes a standalone plan outline./wiki-statusReport llm-wiki maintenance status. Use only when the user explicitly mentions llm-wiki and asks for its installed version, update availability, project wiki structure, consent state, or refresh queue health. Do not select this skill for generic plugin, documentation, project-context, or upgrade questions.