kb-search
БесплатноБез исполняемых скриптовНе проверенSearch the local markdown knowledge base for facts, prior decisions, definitions, people, error codes, config flags, and how-we-fixed-it notes. ALWAYS search…
от BlackBeltTechnology★ 357 звёзд на GitHubОб этом скилле
kb-search — retrieve before you answer
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.
When to Use
- Hit an unknown name / term / error string / config flag / function.
- Need a past decision, convention, or "how we did X".
- About to answer a factual question about this project from memory.
- About to ask the user something the docs may already answer.
Procedure
- Extract the key entities from the problem (names, error strings, slugs, config keys, function names).
- Run:
kb search "<entities>" --limit 8 --json - Read only the top 1–2 hits' full content when needed:
kb get <path> --section "<heading_path>"(a unique last heading also works). Every indexed source is searched; a path in several sources prints a candidate list (<source-id>:<path>) — pass one back. A path may be qualified by its source dir (.pi/docs/x.md) or id (<id>:<path>). - Still unresolved? Walk the graph from a hit:
kb neighbors "<heading_path>" --depth 2andkb backlinks "<path>". - Paraphrase miss? Lexical search is weak when your words differ from the 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.
- Synthesize from the retrieved sections. Cite the
pathyou used.
Pitfalls
- Do NOT answer project-specific questions from memory without searching first.
- Do NOT read whole files — search returns ranked sections with snippets; open full content only for the top hits.
- Empty result is not a stop sign — reformulate with domain terms once, then ask.
- Filter when you only want rules:
kb search "<q>" --doc-type agents.
Verification
kb searchreturns ranked{path, headingPath, score, snippet}(lower score = more relevant).- Freshness is automatic:
kb searchruns an incremental reindex first unless--no-reindex. - Requires
@blackbelt-technology/pi-dashboard-kbinstalled (kbon PATH) and a configured source (.pi/dashboard/knowledge_base.jsonor--source <dir>).
Установить kb-search в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл kb-search?
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.
Как установить скилл kb-search?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл kb-search запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
agent-skill-stack
Find, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
от GitHubbuild-evidence-map
Build an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
от GitHubpinecone-rag
Build production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
от GitHubqdrant-monitoring-debugging
Diagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…
от GitHub