kb is an LLM-maintained knowledge base skill for Claude Code. It provides nine /kb-* slash commands that let an agent ingest sources into a wiki, query the KB, maintain provenance, and prune staleness.
Install from the canonical skills.sh directory:
npx skills add minakoto00/kb --skill kbThen in Claude Code, run /kb once to complete first-run setup. After that, the nine /kb-* commands are available.
npx @minakoto00/skills install kb| Command | Purpose |
|---|---|
/kb-bootstrap |
Initialize a new KB in the current directory. |
/kb-ingest |
Ingest a file or URL into the KB. |
/kb-reingest |
Re-process an updated source. |
/kb-query |
Ask a question; saves a synthesized answer with citations to output/. |
/kb-promote |
Promote a query output into wiki/synthesis/. |
/kb-lint |
Health check: schema, broken links, orphans, staleness. |
/kb-contradictions |
Semantic contradiction sweep (token-expensive). |
/kb-prune |
Find and deprecate outdated or low-confidence pages. |
/kb-rebuild |
Regenerate the wiki from raw sources. |
For local development:
git clone https://github.com/minakoto00/kb.git
cd kb
bash install-skill.shpython3 -m pytest tests/ -vTests run from a repository checkout only. The installer does not symlink tests/ into the user home.
MIT