From context-manager
Use when running /context-manager:search or when the user asks where something lives in the codebase — searches across all .folder-context.md files for a keyword, symbol, or concept without loading source files.
How this skill is triggered — by the user, by Claude, or both
Slash command
/context-manager:searchThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Searches every `.folder-context.md` in the project for a keyword, symbol name, or concept and returns matching folders and file entries with the relevant snippet. Keeps discovery entirely within context files — no source files loaded.
Searches every .folder-context.md in the project for a keyword, symbol name, or concept and returns matching folders and file entries with the relevant snippet. Keeps discovery entirely within context files — no source files loaded.
Check .claude/context-manager.json exists. If not, tell the user to run context-manager:context-manager first.
If the user invoked the skill with a search term (e.g. /context-manager:search authentication), use that term directly. If invoked with no argument, ask: "What are you looking for?"
Search within these fields of every .folder-context.md:
| Field | Where it appears |
|---|---|
| Folder Purpose | Top-level description of the folder |
| File Role | What the file does |
| File Exports | Exported names and functions |
| File Key logic | Non-obvious behavior descriptions |
| File WIP | In-progress state |
| Subfolder descriptions | One-line summaries in the Subfolders section |
Match case-insensitively. Match partial words (e.g. "auth" matches "authentication", "authorize", "AuthService").
Return results in this order:
Within the same rank, sort by folder depth ascending (root folders first).
Output the results inside a fenced code block (```) so plain spaces are preserved for alignment. Do not use or other HTML entities.
Search: "authentication" — 4 matches
---
src/auth/ [folder]
Handles user authentication, session management, and token validation.
src/auth/auth.ts [exports, role]
Role: Entry point for all auth flows — login, logout, refresh
Exports: AuthService, createSession(), validateToken()
src/middleware/auth-guard.ts [key logic]
Key logic: Validates JWT on every request; skips public routes in auth.config.json
src/api/routes/users.ts [wip]
WIP: Auth middleware not yet wired to these routes
---
Show the matched field(s) only — not the entire file entry. Label which fields matched in brackets.
If no matches: "No matches for '[query]' in context files. The concept may not be documented yet — try /context-manager:audit to refresh context, then search again."
Ask: "Would you like me to navigate to any of these?"
.folder-context.md (and source file if needed) and proceed with the user's task| Mistake | Fix |
|---|---|
| Loading source files during search | Search operates only on .folder-context.md content |
| Case-sensitive matching | Always match case-insensitively |
| Showing the full file entry for every match | Show only the matched fields, not the entire entry |
| Returning zero results without a suggestion | Always suggest audit + retry if nothing is found |
npx claudepluginhub pklawansky/context-manager --plugin context-managerCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.