Search the local markdown knowledge base for facts, prior decisions, definitions, people, error codes, config flags, and how-we-fixed-it notes.

MITAuto-check passedKnowledge Management

Install Kb Search

skills CLI
$ npx skills add BlackBeltTechnology/pi-agent-dashboard --skill kb-search -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install BlackBeltTechnology/pi-agent-dashboard kb-search --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/BlackBeltTechnology/pi-agent-dashboard.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/kb/skill/kb-search .claude/skills/kb-search && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
kb-search
GitHub stars
315
Token cost
~622 tokens
SKILL.md length
289 words
Files
1
Skills in repo
70
Repo updated
First seen
Licence
MIT

At a glance

Search the local markdown knowledge base for facts, prior decisions, definitions, people, error codes, config flags, and how-we-fixed-it notes.

  • Works in 6 steps: Extract the key entities from the… → Run: kb search "" --limit 8 --json → Read only the top 1–2 hits' full content… → …
  • You hit an unknown term
  • SKILL.md covers When to Use, Procedure, Pitfalls and Verification
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Kb Search is an agent skill from BlackBeltTechnology/pi-agent-dashboard. 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.

Its SKILL.md is about 620 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Knowledge Management, covering Knowledge bases. The repository describes itself as: Real-time web dashboard for pi coding-agent sessions. Multi-session view, live chat mirroring, integrated terminal, diff viewer, pi-flows execution, and mobile-first remote… The licence is MIT.

When your agent uses it

  • You hit an unknown term
  • An unfamiliar entity
  • An error string
  • A how do we do X / why did we choose Y question

Example prompts

  • “how do we do X / why did we choose Y”
  • “/kb-search”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Extract the key entities from the problem (names, error strings, slugs,
  2. Run: kb search "" --limit 8 --json
  3. Read only the top 1–2 hits' full content when needed
  4. Still unresolved? Walk the graph from a hit
  5. Paraphrase miss? Lexical search is weak when your words differ from the
  6. Synthesize from the retrieved sections. Cite the path you used.

What it can do on your machine

Read from SKILL.md and the folder at commit 7a2d171. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Kb Search loads about 622 tokens when it runs. Until then it costs about 98 tokens; SKILL.md has 289 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~98
When it runs · the whole SKILL.md, loaded when a task matches
~622

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from BlackBeltTechnology/pi-agent-dashboard at commit 7a2d171, republished under its MIT licence (© BlackBeltTechnology). 289 words, ~622 tokens.

Download SKILL.mdSave it as .claude/skills/kb-search/SKILL.md (or your agent's skills folder).
name
kb-search
description
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 — 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

  1. Extract the key entities from the problem (names, error strings, slugs, config keys, function names).
  2. Run: kb search "<entities>" --limit 8 --json
  3. Read only the top 1–2 hits' full content when needed: kb get <path> --section "<heading_path>"
  4. Still unresolved? Walk the graph from a hit: kb neighbors "<heading_path>" --depth 2 and kb backlinks "<path>".
  5. 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.
  6. Synthesize from the retrieved sections. Cite the path you 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 search returns ranked {path, headingPath, score, snippet} (lower score = more relevant).
  • Freshness is automatic: kb search runs an incremental reindex first unless --no-reindex.
  • Requires @blackbelt-technology/pi-dashboard-kb installed (kb on PATH) and a configured source (.pi/dashboard/knowledge_base.json or --source <dir>).

© BlackBeltTechnology, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in packages/kb/skill/kb-search of BlackBeltTechnology/pi-agent-dashboard.

Open the folder on GitHubat commit 7a2d171

Compare with similar skills

Kb Search next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Kb Search compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Kb Search this skillBlackBeltTechnology/pi-agent-dashboard315—~622Automated safety check: PassMIT
Knowledge Searchdataelement/bisheng12k—~1.1kAutomated safety check: PassApache-2.0
Capture Conversationoutline/outline41k—~474Automated safety check: PassCustom licence
Find And Citeoutline/outline41k—~537Automated safety check: PassCustom licence
Xhs Virtual Productchenjin-cmd/xhs-virtual-product729—~862Automated safety check: PassMIT
OpenkbVectifyAI/OpenKB4.8k1 repos~2kAutomated safety check: WarnApache-2.0

Similar skills

  • Knowledge Search

    dataelement/bisheng

    Search the user's knowledge bases and knowledge spaces (企业知识库检索).

    12k GitHub stars~1.1k tokensUpdated yesterday
    Knowledge ManagementAuto-check passed
  • Capture Conversation

    outline/outline

    Save the current conversation, a decision, or a set of notes as a document in an Outline collection; use when the user wants to keep what was discussed in their knowledge base.

    41k GitHub stars~474 tokensUpdated today
    Knowledge ManagementAuto-check passed
  • Find And Cite

    outline/outline

    Answer questions from the Outline knowledge base with quotes and links to the source documents; use when the user asks what the team knows, documented, or decided about a topic.

    41k GitHub stars~537 tokensUpdated today
    Knowledge ManagementAuto-check passed
  • Xhs Virtual Product

    chenjin-cmd/xhs-virtual-product

    This skill helps plan, select, produce, and market Xiaohongshu (RED) virtual/digital products — templates, knowledge bases, test tools, study materials.

    729 GitHub stars~862 tokensUpdated 10 days ago
    Knowledge ManagementAuto-check passed
  • Openkb

    VectifyAI/OpenKB

    A skill your agent uses when the user asks about content in their OpenKB knowledge base — research topics, concepts compiled from their documents, cross-document synthesis — or mentions openkb, an…

    4.8k GitHub starsUsed in 1 repo~2k tokens
    Knowledge ManagementAuto-check: warnings
  • Learn From Materials

    dmoshehun-prog/learn-from-materials

    Turns books, PDFs, slides and web pages into a source-grounded knowledge base and an interactive learning page in English or Chinese, with quizzes, relationship maps and reusable methodology notes.

    947 GitHub stars~7.9k tokensUpdated 4 days ago
    Knowledge ManagementAuto-check passed

More from BlackBeltTechnology/pi-agent-dashboard

All 70 skills in this repo
  • Browser

    BlackBeltTechnology/pi-agent-dashboard

    Browser automation via the agent-browser CLI. An agent skill from BlackBeltTechnology/pi-agent-dashboard.

    316 GitHub stars~2k tokensUpdated today
    Auto-check passed
  • CI Troubleshoot

    BlackBeltTechnology/pi-agent-dashboard

    Diagnose failed GitHub Actions runs for pi-agent-dashboard: the 11-file workflow taxonomy, affected-test selection, the release pipeline, known failure modes, and how to read gh run logs and…

    316 GitHub stars~3.5k tokensUpdated today
    Auto-check passed
  • Debug Dashboard

    BlackBeltTechnology/pi-agent-dashboard

    Diagnose problems in the running pi-agent-dashboard system: server.log, /api/health, bridge WebSocket connectivity, vitest triage, known-issue FAQ entries.

    316 GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Implement

    BlackBeltTechnology/pi-agent-dashboard

    Disciplined implementation in pi-agent-dashboard: the rebuild matrix (extension→reload, server→restart, client→build+restart, openspec-apply→full rebuild) plus the project's code discipline rules.

    316 GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Pi Dashboard

    BlackBeltTechnology/pi-agent-dashboard

    Monitor and control the pi-dashboard server. An agent skill from BlackBeltTechnology/pi-agent-dashboard.

    316 GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Session To Guideline

    BlackBeltTechnology/pi-agent-dashboard

    Turn a pi session into a Markdown "how-we-did-it" collaboration guideline: reads the session's JSONL transcript and synthesizes a reusable playbook of which prompts worked, what had to be steered…

    316 GitHub stars~3.2k tokensUpdated today
    Auto-check passed

Questions about Kb Search

What does Kb Search do?

Search the local markdown knowledge base for facts, prior decisions, definitions, people, error codes, config flags, and how-we-fixed-it notes. Kb Search is an agent skill from BlackBeltTechnology/pi-agent-dashboard. Search the local markdown knowledge base for facts, prior decisions, definitions, people, error codes, config flags, and how-we-fixed-it notes.

When should I use Kb Search?

Kb Search fits situations like: you hit an unknown term; an unfamiliar entity; an error string; A how do we do X / why did we choose Y question.

How do I install Kb Search in Claude Code?

Run `npx skills add BlackBeltTechnology/pi-agent-dashboard --skill kb-search -a claude-code`. Or copy the skill folder (packages/kb/skill/kb-search in BlackBeltTechnology/pi-agent-dashboard) into .claude/skills/kb-search in your project. Claude Code loads it when a task matches its description.

How do I install Kb Search in Codex?

Run `npx skills add BlackBeltTechnology/pi-agent-dashboard --skill kb-search -a codex`. Or copy the skill folder (packages/kb/skill/kb-search in BlackBeltTechnology/pi-agent-dashboard) into .agents/skills/kb-search in your project. Codex loads it when a task matches its description.

Can I use Kb Search in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add BlackBeltTechnology/pi-agent-dashboard --skill kb-search -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/kb-search, .gemini/skills/kb-search, .github/skills/kb-search and .opencode/skills/kb-search in your project.

What does Kb Search need to run?

SKILL.md names no scripts, command-line tools or credentials: Kb Search is instructions for the agent only.

Does Kb Search access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Kb Search safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Kb Search use?

Kb Search is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Kb Search use?

About 622 tokens (SKILL.md is roughly 2.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Kb Search?

Skills that share tags, products or a category with Kb Search: Knowledge Search (dataelement/bisheng, 12k stars), Capture Conversation (outline/outline, 41k stars), Find And Cite (outline/outline, 41k stars) and Xhs Virtual Product (chenjin-cmd/xhs-virtual-product, 729 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Kb Search?

BlackBeltTechnology (a GitHub organization) maintains it in BlackBeltTechnology/pi-agent-dashboard, which has 315 GitHub stars. The repository holds 70 skills in this directory. The repository was last updated on October 10, 2026.

Source: BlackBeltTechnology/pi-agent-dashboard on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.