/kb-query:wikifrom kb-query
Search the user's own knowledge bases (OKF wikis) and read what they say, before answering from training data or searching the web. Use when the user asks what they know, wrote, read or discussed about a topic ("what do we know about", "what did I write on", "what did we say about", "search my notes", "check the wiki"), whether an article exists on it ("is there an article on", "have I covered"), how two topics in their notes relate, or for everything they have on a subject, and before starting research or a compile on a topic.
Ships in kb-query. 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 knowledge bases in scope, follow their links where one article is not enough, and read what you find.
The tools come from the okf-kb MCP server, whose instructions give the short form of this procedure and apply here too.
This skill adds when to use each tool's parameters.
Every tool is read-only, so nothing here can compile, reindex or edit a knowledge base.
bundles, unless you already did in this conversation.
Each entry names a bundle, its path and its source, where walk-up means the session is inside that bundle.
An empty list is a state, not an error: say in one line that no knowledge base is in scope, answer without it and do not suggest configuration unless asked.
If the tools are not available at all, say in one line that the okf-kb MCP server is not connected, and stop.search with the terms.
Pass kb when the user names a knowledge base, and tag or article_type when the topic has a clear category.
titles_only is a cheap first probe when you expect a well-named article.
Each result carries bundle, rel, title, description and score.read it and go to step 6.
Most queries end here.neighbours on the top hits with depth 1 for their links and backlinks, and roots to place them in each bundle's taxonomy.
shortest_path answers how two articles are connected, within one bundle.
Read each hop's direction: forward means the earlier article links to the later, and backward is a backlink.
Stop expanding when a hop adds no new articles.read each selected article, at most ten in total.
Pass the result's rel with its bundle as kb when the same path could exist in more than one bundle.
Pass section (for example "## Sources") when you need part of a long article, and strip_frontmatter when the metadata adds nothing.
Use read rather than a general file reader, because it needs no permission prompt outside the project and refuses anything that is not a wiki article.walk-up bundle), run this before any web search, web fetch or external research skill.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub carelvniekerk/okf-kb --plugin kb-query