// Manages a structured knowledge base of patterns, troubleshooting guides, best practices, and workflows. Activates when discovering reusable insights, solving technical problems, or establishing new standards. Records knowledge in categorized files for future reference without bloating global CLAUDE.md.
| name | knowledge-manager |
| description | Manages a structured knowledge base of patterns, troubleshooting guides, best practices, and workflows. Activates when discovering reusable insights, solving technical problems, or establishing new standards. Records knowledge in categorized files for future reference without bloating global CLAUDE.md. |
| allowed-tools | ["Read","Write","Glob","Grep","AskUserQuestion"] |
Maintain a structured, searchable knowledge base that captures project learnings without bloating global CLAUDE.md. Uses progressive disclosure: knowledge is referenced only when relevant to the current task.
~/.claude/knowledge/patterns/)Reusable design patterns, architectural solutions, and code structures.
When to record:
~/.claude/knowledge/troubleshooting/)Technical issues, error resolutions, and debugging guides.
When to record:
~/.claude/knowledge/best-practices/)Standards, conventions, and quality guidelines.
When to record:
~/.claude/knowledge/workflows/)Process documentation, CI/CD patterns, and operational procedures.
When to record:
Identify potentially valuable knowledge during development.
Determine the appropriate category:
Use the appropriate template from ~/.claude/skills/knowledge-manager/templates/
Create or update the knowledge file:
Ask user to review before committing.
When user asks about a topic:
Existing ~/.claude/troubleshooting/ files should be:
~/.claude/knowledge/troubleshooting/Keep global CLAUDE.md minimal:
Assess discoveries against three dimensions:
Score each dimension (Low/Medium/High). Propose for knowledge base if at least 2/3 are Medium or higher.
When proposing new knowledge entry:
Ask user for approval before creating the entry.