Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By charlesjones-devv2.0.1MITIn 1 marketplace
Turns team learnings into Claude Code rules stored in git, so each article loads when Claude opens matching files. Auto-capture adds to it as you work unless you turn it off at setup.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Keeps a team knowledge base in git as Claude Code rules. Each article loads when Claude works on the files it covers, in every session, or on demand from a short index, so the knowledge reaches Claude without anyone asking for it. With auto-capture on, Claude also adds to it as you work.
The plugin writes what your team learns (things that didn't work, conventions, client requirements, codebase gotchas) into short topic articles and stores them where Claude Code loads them natively:
.claude/rules/kb/ with paths frontmatter. Claude Code loads one when Claude reads, writes or edits a matching file, and Claude also reads one when a task matches its keywords in the index..claude/rules/kb/ without paths. Claude Code loads them at the start of every session, so keep them few and short. _global-learnings.md is one..claude/kb/. They're for knowledge that isn't tied to file paths, such as release steps or an external system. Claude reads one when a task matches its keywords in the index.An always-loaded index rule, .claude/rules/kb/_index.md, lists every scoped and on-demand article in one line with its keywords (and, for scoped ones, its paths). Whenever Claude reads an article from the index, or a scoped article loads because Claude opened a matching file, Claude says so in one line, such as 📖 Loaded KB: conventions/api.md, so you know which knowledge is in play. Pinned articles load without a notice.
Because the knowledge base is made of ordinary rule files, Claude Code loads it for everyone who clones the repository, with or without the plugin. The plugin adds the commands that write, query and maintain it.
The approach is inspired by Karpathy's LLM Wiki pattern, where the LLM does the filing and cross-referencing.
Claude Code already has three ways to remember things. This plugin builds on rules and works whether auto memory is on or off.
| What it holds | Shared | Loads | |
|---|---|---|---|
| CLAUDE.md | Instructions for every session: build commands, layout, conventions that apply everywhere | Through git | Every session |
| Auto memory (can be turned off) | Notes Claude writes for itself on your machine: your preferences, corrections, project context | No, one machine | First 200 lines of MEMORY.md every session |
Rules (.claude/rules/) | Topic files, optionally scoped to paths | Through git | Every session, or when matching files are touched |
| This plugin | Team knowledge, written as rules plus an index of articles that aren't pinned. Claude adds to it as you work when auto-capture is on | Through git | Per article: scoped, pinned or on demand |
Auto memory and auto-capture both save as you work, but auto memory keeps personal notes on one machine and skips what Claude can work out from the code, while auto-capture writes team rules into the repository for everyone. Auto-capture works with auto memory off. Keep CLAUDE.md for what every session needs, and use /kb-add --absorb to move area-specific sections out of it into scoped articles.
| Command | Description |
|---|---|
/kb-init [auto=on|off] [agents=off] | Set up .claude/rules/kb/ and .claude/kb/, turn on auto-capture for you (auto=off to skip), and add a short AGENTS.md section for Codex and Cursor (agents=off to skip). On an existing knowledge base, report auto-capture and switch it with auto=on or auto=off |
/kb-migrate [--dry-run] [auto=off] [agents=off] | Move a 1.x knowledge base (CLAUDE.md table and docs/kb/) to the new layout, turn on auto-capture for you (auto=off to skip), and add the AGENTS.md section (agents=off to skip). Also fix references to renamed or removed marketplace commands. On a 2.x knowledge base, check and repair the format and run the same command check |
/kb-add [note | path, glob or URL ... | --absorb] | Add a note, project files, a folder, another repo or a web page. --absorb reviews CLAUDE.md and docs/ for content to move |
/kb-learn [auto <learning> | focus] | Review what the current conversation taught and save it. Claude also runs it on its own (auto) for auto-capture, or when you ask it to save something to the knowledge base |
/kb-discover [paths ...] [--focus topic,topic] | Write down conventions found in the source code |
/kb-query <question> | search <terms> | tag:<tag> | list | Answer from the knowledge base with citations, search it, or list every article and how it loads |
/kb-prune [remove <article> | organize] | Find and fix duplicates, contradictions, broken links, stale articles and globs that match nothing. Remove one article, or sort articles into folders |
7-day copy clicks
npx claudepluginhub charlesjones-dev/ai-agent-plugins --plugin ai-knowledgeBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground