Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
By 0xrdan
Persistent project knowledge for Claude Code - captures patterns, quirks, and decisions
npx claudepluginhub 0xrdan/claude-plugins --plugin claude-knowledgeDisplay 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
Share bugs, ideas, or general feedback.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Long-term memory for Claude Code. Recalls architecture, conventions, and decisions across sessions — so Claude explains your codebase without file traversal, follows your patterns, and never re-asks what it already learned.
Persistent memory across Claude Code sessions using Cognis
Persistent memory across Claude Code sessions using Supermemory
Persistent memory system for Claude Code with enforced context
Self-improving Claude Code plugin — learns from corrections across sessions via reflexio
Personal knowledge graph for Claude Code — remembers decisions, searches past work, captures sessions
Intelligent 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
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