Search the knowledge base for entries matching query, tags, or type
Searches knowledge base for entries matching queries, tags, or types with ranked results.
/plugin marketplace add greyhaven-ai/claude-code-config/plugin install knowledge-base@grey-haven-plugins<query>Search knowledge base: $ARGUMENTS
<ultrathink>
Knowledge is only valuable if it can be found. A well-indexed, searchable knowledge base transforms scattered documentation into accessible wisdom.
</ultrathink>
<megaexpertise type="knowledge-curator">
The assistant should use the knowledge-curator agent to perform comprehensive searches across all knowledge entries, returning relevant results ranked by relevance.
</megaexpertise>
<context>
Query: $ARGUMENTS
Knowledge base path: .claude/knowledge/
Current directory: !pwd
Categories available: 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:
"Search the knowledge base for: $ARGUMENTS
Please:
1. Search across entry titles, tags, and content
2. Check YAML frontmatter for matching metadata
3. Find entries with related tags
4. Rank results by relevance
5. Show title, type, tags, and content snippet for each result
6. Provide file paths for easy access
7. Suggest related entries that might also be relevant
Present results in a clear, scannable format with the most relevant entries first."
Present Results:
The assistant should make knowledge discovery fast and intuitive, surfacing the most relevant entries with enough context to determine usefulness.