Searches, navigates, and extracts code using structural queries (AST patterns, symbol lookups, cross-file references) via an MCP-backed code search server.
How this skill is triggered — by the user, by Claude, or both
Slash command
/codebase-intelligence:structured-code-search-mcpThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use when an agent needs to search, navigate, or extract code using structural queries — AST patterns, symbol lookups, or cross-file reference tracing — beyond what simple grep or glob can provide, via an MCP-backed code search server.
Use when an agent needs to search, navigate, or extract code using structural queries — AST patterns, symbol lookups, or cross-file reference tracing — beyond what simple grep or glob can provide, via an MCP-backed code search server.
npx -y ...@latest execution.Choose the right tool for the query:
| Need | Tool |
|---|---|
| Text/boolean search across files | search_code |
| Structural pattern (function shape, class with field) | query_code |
| Extract a specific file, range, or symbol | extract_code |
| List all symbols in target files | symbols_code |
Bound scope before searching — set base path and default paths to the workspace. Set a result limit before running broad queries (e.g., max 20 results).
Iterate from broad to narrow:
search_code or symbols_code to identify candidate files.query_code to narrow to the specific structural pattern.extract_code to retrieve the exact code range needed.Filter methods at the server — use allowlists for read/search methods. Block write and edit methods by default; only enable if code modification is explicitly part of the task.
Handle transport — support stdio or HTTP intentionally; set connect and tool call timeouts.
Debug minimally — enable debug logs only long enough to capture connection, tool discovery, and failed calls. Disable after diagnosis.
search_code — text/boolean search with session dedup and result limits.query_code — AST/structural search for code shapes.extract_code — file/line/symbol extraction after search narrows scope.symbols_code — symbol inventory for target files.Exact tool names and schemas vary by implementation. Read the server's tool list before assuming names.
references/code-search-tool-selection.mdnpx claudepluginhub yeaight7/agent-powerups --plugin codebase-intelligenceGuides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.
Runs a structured interview session to sharpen plans or designs, producing ADRs and a glossary as output.
Applies curated color/font themes to slides, docs, and HTML artifacts. Includes 10 preset themes and can generate custom themes on demand.
2plugins reuse this skill
First indexed Jul 28, 2026