Search the local markdown knowledge base for facts, prior decisions, definitions, people, error codes, config flags, and how-we-fixed-it notes. ALWAYS search here BEFORE answering a project-specific question from memory, guessing, or asking the user. Use whenever you hit an unknown term, an unfamiliar entity, an error string, or a "how do we do X / why did we choose Y" question.
npx skills add https://github.com/BlackBeltTechnology/pi-agent-dashboard --skill kb-search
A fast, local, zero-token FTS5 knowledge base over this project's markdown
(@blackbelt-technology/pi-dashboard-kb). Retrieval is pull: you call it; nothing
is auto-injected. Sub-second, deterministic, costs no model tokens — so call it
freely on any uncertainty.
config keys, function names).
kb search "<entities>" --limit 8 --jsonkb get <path> --section "<heading_path>"
kb neighbors "<heading_path>" --depth 2 and kb backlinks "<path>".
docs' words. Reformulate once using the domain's actual terms (synonyms,
the real flag/class names) and re-search. Then escalate to the user only if
the KB returns nothing relevant.
path you used.full content only for the top hits.
kb search "<q>" --doc-type agents.kb search returns ranked {path, headingPath, score, snippet} (lower score= more relevant).
kb search runs an incremental reindex first unless--no-reindex.
@blackbelt-technology/pi-dashboard-kb installed (kb on PATH) and aconfigured source (.pi/dashboard/knowledge_base.json or --source <dir>).
Take blackbelttechnology/kb-search from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.