Add new knowledge entry to the knowledge base with structured metadata and relationships
Add structured knowledge entries to your knowledge base with auto-categorization, relationship mapping, and cross-linking. Use when capturing important decisions, patterns, or learnings for future discovery.
/plugin marketplace add greyhaven-ai/claude-code-config/plugin install knowledge-base@grey-haven-plugins<type> <title>Add knowledge entry: $ARGUMENTS
<ultrathink>
Knowledge captured is knowledge preserved. Every important decision, pattern, or learning deserves a permanent home in the knowledge base where it can be discovered and connected.
</ultrathink>
<megaexpertise type="knowledge-curator">
The assistant should use the knowledge-curator agent to create structured, well-organized knowledge entries with proper categorization, tagging, and relationship mapping.
</megaexpertise>
<context>
Arguments: $ARGUMENTS
Working directory: !pwd
Knowledge base exists: !test -d .claude/knowledge && echo "yes" || echo "no"
Available types: metadata, qa, code_index, patterns, plans, concepts, memory_anchors
</context>
<requirements>
Launch Knowledge Curator Agent:
Use the Task tool with subagent_type="general-purpose" to invoke the knowledge-curator agent.
Prompt:
"Create a new knowledge base entry with the following details:
- Type: [extracted type]
- Title: [extracted title]
Please:
1. Search for related existing entries
2. Generate proper YAML frontmatter with UUID and timestamps
3. Create the markdown file in the appropriate category directory
4. Suggest cross-links to related entries
5. Update the knowledge base manifest
6. Provide the file path and next steps"
Present Results:
The assistant should make knowledge capture effortless and ensure all entries are properly structured, searchable, and connected.