Help us improve
Share bugs, ideas, or general feedback.
Auto-discovered marketplace from ourines/claude-code-learn
npx claudepluginhub ourines/claude-code-learnResearch topics and build a persistent knowledge base for Claude Code.
Share bugs, ideas, or general feedback.
Persistent knowledge base for Claude Code. Research topics, save structured knowledge, and let Claude maintain it automatically.
/claude-code-learn:learn <topic> — Quick research using available tools, save to ~/.claude/learnings//claude-code-learn:deep-learn <topic> — Deep research using parallel agents (subagents or team), comprehensive coverage/claude-code-learn:recall <topic> — Load saved knowledge into session context (silent, no lecture)/claude-code-learn:forget <topic> — Remove saved knowledgeStep 1: Add the marketplace in Claude Code:
/plugin marketplace add ourines/claude-code-learn
Step 2: Install the plugin:
/plugin
Navigate to Discover tab, find claude-code-learn, and enable it.
Or install via CLI:
claude plugin install claude-code-learn@ourines/claude-code-learn
Step 3: Create the knowledge directory:
mkdir -p ~/.claude/learnings
Restart Claude Code to activate.
Clone and install:
git clone https://github.com/ourines/claude-code-learn.git
cd claude-code-learn
chmod +x install.sh
./install.sh
Then start Claude Code with the plugin loaded:
claude --plugin-dir /path/to/claude-code-learn
install.sh does two things:
~/.claude/learnings/ for knowledge storage~/.claude/plugins/claude-code-learn# 1. Clone or download the repo
git clone https://github.com/ourines/claude-code-learn.git
# 2. Symlink to plugins directory
ln -s /path/to/claude-code-learn ~/.claude/plugins/claude-code-learn
# 3. Create knowledge directory
mkdir -p ~/.claude/learnings
# 4. Start with plugin flag
claude --plugin-dir /path/to/claude-code-learn
Hooks and MCP servers are auto-configured when the plugin is active — no manual settings.json editing needed.
Quick single-agent research. Adapts strategy based on topic type:
| Topic Type | Primary Tools | Focus |
|---|---|---|
| Library/Framework | Context7, GitHub grep, WebSearch | APIs, patterns, pitfalls, versions |
| Concept/Pattern | WebSearch, WebFetch | Principles, tradeoffs, implementations |
| Tool/CLI | WebSearch, WebFetch | Commands, config, recipes |
| Language Feature | WebSearch, Context7 | Syntax, constraints, best practices |
Multi-agent deep research. Claude autonomously decides:
Output includes an Advanced Topics section and research_depth: "deep" marker in frontmatter.
Silently loads knowledge into session context. Does not recite the file — just confirms:
Loaded knowledge on "TanStack Router" (verified 2026-02-11, confidence: high).
Shares details only when asked.
Deletes knowledge file. If MCP memory is available, also cleans up the knowledge graph. If not, skips gracefully.
At session start, the hook scans ~/.claude/learnings/ and outputs a compact summary:
[claude-code-learn] 3 topic(s) in knowledge base: TanStack Router, Go concurrency, Redis Streams.
Stale (>90d): Go concurrency.
[Knowledge maintenance] When a topic above is relevant...
[Auto-recall] Project dependencies match saved knowledge. READ now: ~/.claude/learnings/tanstack-router.md.
The hook also detects project dependencies (package.json, go.mod, requirements.txt, Cargo.toml) and matches them against saved knowledge. When a match is found, Claude is instructed to load the relevant files immediately rather than waiting for the user to ask.
Claude proactively saves knowledge without user intervention through two hooks: