kb-learn
This skill uses Claude hooks which can execute code automatically in response to events. Review carefully before installing.
/kb-learn
Contents
- 1. Configuration
- 2. Routing
- 2a. Agents
- 3. KB Discovery
- 3a. Concept Evolution
- 4. Update KB
- 4a. Structure Health Check
- 5. User Approval
- 6. Naming and Folders
1. Configuration
On first invocation, check for config at .claude/knowledge-base/config.json.
No config: Tell user "Run /kb-bootstrap to set up your knowledge base." and stop.
More from farzadshbfn/knowledge-skills
kb-find
Read-only KB discovery with progressive 4-tier loading and --challenge mode for counter-evidence.
10kb-view
Opens the KB viewer in the browser. Starts a local HTTP server that renders all configured knowledge bases with working links, fuzzy search, and knowledge graph visualization.
10kb-monitor
Monitors KB usage patterns and skill health. Activates when KB access tracking detects frequently-read content that could become a skill, or when user corrections suggest a skill is underperforming. Also triggers on `this isn't working right`, `this skill keeps getting X wrong`, `convert this to a skill`, or `what should become a skill`. Tracks cross-session observations via memory.
8kb-bootstrap
Sets up the knowledge base for a project or initializes the global (god) KB config. Creates the KB config, directory structure, and appends minimal instructions to the project's CLAUDE.md. Run this once when first using KB skills in a new project. Use --global to set up the global read-only KB.
7kb-mint
Mints skills from KB topics, packages skills into plugins, and prepares them for Cowork. Use when asked to create a skill from KB content, convert to a plugin, package for distribution, or make something cowork-ready. Also triggers on `convert this to a skill`, `package as plugin`, `mint a skill`, or `make this a plugin`.
6kb-compact
Compacts KB directories — extracts legacy, unifies terminology, splits oversized notes, fixes indexes, reconciles with skill folders. Default: single directory. Use --deep for recursive bottom-up traversal.
6