By 0xrdan
Persistent project knowledge for Claude Code - captures patterns, quirks, and decisions
Display knowledge base status and recent learnings
Disable learning mode
Enable learning mode as a reminder to extract insights
Clear the knowledge base and start fresh
Extract and persist insights from the current conversation to the knowledge base
Display knowledge base status and recent learnings
Disable learning mode
Enable learning mode as a reminder to extract insights
Clear the knowledge base and start fresh
Extract and persist insights from the current conversation to the knowledge base
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Persistent project knowledge for Claude Code - Captures patterns, quirks, and decisions that survive session boundaries.
Claude Knowledge builds a persistent understanding of your project by capturing:
These insights persist across sessions and context compaction, so Claude remembers what it learned even in new conversations.
# Add the marketplace (one-time)
/plugin marketplace add 0xrdan/claude-plugins
# Install the plugin
/plugin install claude-knowledge
# Restart Claude Code to activate
/learn to extract insights from the conversation/knowledge to view accumulated learningsThat's it! Knowledge persists automatically to the knowledge/ directory.
| Command | Description |
|---|---|
/learn | Extract insights from current conversation |
/learn --deep | Thorough analysis with forked context |
/learn-on | Enable learning mode (reminder flag) |
/learn-off | Disable learning mode |
/knowledge | View knowledge base status |
/learn-reset | Clear all knowledge (requires confirmation) |
When you run /learn, Claude analyzes the conversation looking for:
Each insight is categorized and saved to:
knowledge/learnings/patterns.mdknowledge/learnings/quirks.mdknowledge/learnings/decisions.md## Quirk: Auth tokens require base64 padding
- **Discovered:** 2026-01-08
- **Location:** src/auth/tokenService.ts
- **Behavior:** JWT tokens use non-standard base64 without padding
- **Workaround:** Use the custom `decodeToken()` helper instead of atob()
- **Confidence:** high
Enable learning mode as a reminder to extract insights:
/learn-on # Enable - /knowledge will remind you to run /learn
/learn-off # Disable
Note: In v0.1.0, learning mode is a reminder flag only. You must still run /learn manually.
By default, knowledge is gitignored. To share with your team:
knowledge/.gitignorelearnings/If you previously used claude-router's knowledge features:
knowledge/learnings/ files are compatibleclaude-knowledge:learnRecommended: Use one plugin for knowledge management:
/learn must be called explicitlyknowledge/
├── state.json # Learning mode state
└── learnings/
├── patterns.md # What works well
├── quirks.md # Gotchas and oddities
└── decisions.md # Choices with rationale
MIT License - see LICENSE for details.
Built for the Claude Code community | Report Issues
npx claudepluginhub 0xrdan/claude-plugins --plugin claude-knowledgeIntelligent model routing for Claude Code - routes queries to optimal Claude model (Haiku/Sonnet/Opus) based on complexity, with persistent knowledge system, context forking, and multi-turn awareness
Long-term memory for Claude Code. Recalls architecture, conventions, and decisions across sessions, plus an episodic observation log of what happened — so Claude explains your codebase without file traversal, follows your patterns, learns from corrections, and never re-asks what it already learned.
I (Claude) act as you - Build knowledge base from your notes.
Persistent memory system for Claude Code with SQLite, FTS5, and vector search
Persistent memory across Claude Code sessions using Supermemory
Persistent memory across Claude Code sessions using Cognis
Personal knowledge graph for Claude Code — remembers decisions, searches past work, captures sessions