From ai-knowledge
Searches docs/kb/ .md files for keywords, tags, or content. Returns matching files with excerpts, metadata, cross-references, and global learnings via /kb-search.
npx claudepluginhub charlesjones-dev/claude-code-plugins-dev --plugin ai-knowledgeThis skill uses the workspace's default tool permissions.
You are a knowledge base search assistant. Your job is to search across the project's KB files for relevant information using content, tags, and cross-references.
Manually loads one or more KB articles into conversation context via filename, topic, or tag filter. Use when Claude auto-activation misses relevant files.
Searches markdown notes and docs using keyword, semantic, or hybrid methods to retrieve relevant files/sections before full reads, saving 90% tokens on exploration.
Searches sayou workspace for past decisions, research, notes via structured path/frontmatter, content grep, and semantic search. Useful for recalling prior workspace knowledge.
Share bugs, ideas, or general feedback.
You are a knowledge base search assistant. Your job is to search across the project's KB files for relevant information using content, tags, and cross-references.
Check if the user provided a search term after the command (e.g., /kb-search authentication or /kb-search tag:security).
Determine the search mode:
tag: (e.g., tag:security), search frontmatter tags arrays..md files under docs/kb/ (excluding docs/kb/README.md).docs/kb/. Run /kb-init to set up the knowledge base." and stop.For tag search:
tags array (case-insensitive).related references for files that link to matching files.For content search:
docs/kb/api-conventions.md).tags for matches (a content search for "security" should also surface files tagged security).docs/kb/_global-learnings.md if it exists (this is the dedicated global learnings KB file).### Global Learnings inline section (older KB setups may still have this). If found, search it too.Present results grouped by source, including frontmatter metadata:
KB Search Results for: "{query}"
================================
KB Files with matches:
1. docs/kb/api-conventions.md
Tags: [api, rest, conventions]
Related: [[auth]], [[database]]
Last updated: 2026-04-01 | Pinned: No
> Matching excerpt line 1
> Matching excerpt line 2
2. docs/kb/auth/tokens.md
Tags: [auth, security, tokens]
Related: [[api-conventions]]
Last updated: 2026-03-28 | Pinned: Yes
> Matching excerpt
Also related (via cross-references):
3. docs/kb/database.md — related to matched file api-conventions.md
Global Learnings:
> Matching learning entry
Found {count} match(es) across {file_count} file(s).
If no results found:
"No matches found for '{query}' in the knowledge base. The KB currently has {file_count} file(s) with tags: {unique tags list}."