Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/blackbelttechnology/pi-agent-dashboard/kb-setupnpx skills add BlackBeltTechnology/pi-agent-dashboard --skill kb-setupgit clone --depth 1 https://github.com/BlackBeltTechnology/pi-agent-dashboardWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/blackbelttechnology/pi-agent-dashboard/kb-setup)<a href="https://agentmods.dev/skills/blackbelttechnology/pi-agent-dashboard/kb-setup"><img src="https://agentmods.dev/badge/skills/blackbelttechnology/pi-agent-dashboard/kb-setup.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00089 | $0.00809 |
| Opus 5 | $0.00044 | $0.00404 |
| Sonnet 5 | $0.00018 | $0.00162 |
| Haiku 4.5 | $0.00009 | $0.00081 |
Grade A, and why
kb-setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.
kb-setup — bring up the project knowledge base
@blackbelt-technology/pi-dashboard-kb builds a zero-token, local SQLite/FTS5
index over this project's markdown so kb-search can retrieve before answering.
This SKILL does the one-time bring-up. Retrieval is pull (the agent calls
kb); nothing is auto-injected.
When to Use
- User asks to set up / init / configure the knowledge base.
- No
.pi/dashboard/knowledge_base.jsonexists yet and the project has docs. - User wants to add a doc source (local dir, npm package docs, git handbook).
Procedure
- Detect existing config. Check
.pi/dashboard/knowledge_base.json(project) and~/.pi/dashboard/knowledge_base.json(global). Runkb configto see the resolved layering. If a project config already exists and is healthy, skip to step 5 (smoke search) unless the user wants changes. - Choose scope + sources. Ask (if unclear) whether to write project or
global config. Pick
sources[]:- local doc dir:
{ "kind": "filesystem", "ref": "docs", "priority": 10 }(higher priority = preferred when the same content appears in two roots) - AGENTS.md / CLAUDE.md: covered by
indexAgentsFiles: true(default on) - source-tree
*.md: covered byincludeSourceMarkdown: true(default on) - remote sources (npm/git/https) require trust-on-first-use — defer unless the user explicitly asks; remote resolvers land in a later phase.
- local doc dir:
- Scaffold.
kb init [--global] [--source <ref>]... [--dry-run]. Review the--dry-runoutput with the user, then run for real.kb initrefuses to clobber an existing config without--force, and gitignores thedbPath. - Index.
kb index→ reports files scanned / changed / chunks. First run is the cold index; later runs are incremental (mtime → sha256). - Smoke search.
kb search "<a real term from the docs>" --limit 5and confirm ranked{path, headingPath, score, snippet}come back. If empty, checkkb configshows the rightsourcesand that the dir has.mdfiles. - Point the user at the
kb-searchSKILL for everyday retrieval.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 57 lines · 89 tokens per session scan A 90298c243170
kb-setup is a skill published in the GitHub repository BlackBeltTechnology/pi-agent-dashboard (274 stars, last pushed today), licensed MIT. It adds 89 tokens to every session and 809 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
ask-user
Ask the human structured questions via nui HITL instead of plain chat text.
kungfu-agent-onboarding
Use when a user asks to understand, start, inspect, extend, or safely operate installed Kungfu; verify the installed pack, select one intent route, personalize the explanation, and propose one smallest safe next action.
workflow-helper
Guidance for creating, managing and executing workflow automations that chain multiple tools and agents together. Use when the user asks about building, listing, running or composing workflows and automated task pipelines.
goga-cookbook
Principles for applying DSL specification in cell and CODEMANIFEST design.
goga-plan-by-design
Compile a design document into a ralphex execution plan.
goga-review-plan
Verify execution plan completeness and correctness.