Skip to content

minakoto00/kb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kb

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.

Quickstart

Install from the canonical skills.sh directory:

npx skills add minakoto00/kb --skill kb

Then in Claude Code, run /kb once to complete first-run setup. After that, the nine /kb-* commands are available.

Branded install

npx @minakoto00/skills install kb

Available commands

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.

Manual install

For local development:

git clone https://github.com/minakoto00/kb.git
cd kb
bash install-skill.sh

Development

python3 -m pytest tests/ -v

Tests run from a repository checkout only. The installer does not symlink tests/ into the user home.

License

MIT

About

Knowledge base skill implementation based on Andrej Karpathy's idea file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors