Routes code research queries to ChunkHound for architecture, data flows, design patterns, and semantic analysis; native grep/glob for simple string/file searches. For onboarding and understanding codebases.
How this skill is triggered — by the user, by Claude, or both
Slash command
/chunkhound-integration:code-research-routingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Route code investigation queries to the appropriate tool based on query characteristics.
Route code investigation queries to the appropriate tool based on query characteristics.
Use mcp__plugin_chunkhound-integration_ChunkHound__code_research for questions requiring semantic understanding:
| Query Pattern | Example | Why ChunkHound |
|---|---|---|
| Architecture questions | "How does the payment system work?" | Multi-file relationships |
| Dependency discovery | "Find all components that use UserService" | Semantic traversal |
| Pattern recognition | "What design patterns are used here?" | Cross-file analysis |
| Data flow mapping | "How does data flow from API to database?" | Architectural synthesis |
| Onboarding queries | "I'm new, where should I start?" | Broad exploration |
| Implementation search | "How is authentication implemented?" | Concept-based discovery |
Use Grep, Glob, or Read for direct, targeted queries:
| Query Pattern | Example | Why Native |
|---|---|---|
| Known file lookup | "Show me package.json" | Direct path → Read |
| File pattern search | "Find all *.test.ts files" | Pattern match → Glob |
| Simple string search | "Search for 'TODO' comments" | Literal string → Grep |
| Known symbol lookup | "Find function calculateTotal" | Exact identifier → Grep |
Before choosing a tool, ask:
| Tool | Purpose | When to Use |
|---|---|---|
mcp__plugin_chunkhound-integration_ChunkHound__code_research | Deep code research with LLM synthesis | Architecture, implementations, relationships |
mcp__plugin_chunkhound-integration_ChunkHound__search_semantic | Find code by meaning/concept | "authentication logic", similar functionality |
mcp__plugin_chunkhound-integration_ChunkHound__search_regex | Find exact code patterns | Function names, imports, specific syntax |
mcp__plugin_chunkhound-integration_ChunkHound__health_check | Check server health status | Verify MCP connection |
mcp__plugin_chunkhound-integration_ChunkHound__get_stats | Get database statistics | Check index health (file/chunk counts) |
If ChunkHound tools are unavailable:
/plugin list/mcp/chunkhound-statusnpx claudepluginhub shopwarelabs/ai-coding-tools --plugin chunkhound-integrationResearches codebase questions using parallel specialized agents, documenting existing code structure and behavior without suggesting changes.
Maps codebase structure, patterns, symbols, and dependencies using ast-grep and bash scripts. Outputs factual maps with paths/line numbers to .artifacts/research/.
Guides systematic codebase exploration through collaborative dialogue, starting with clarifying questions before investigating architecture, patterns, and implementation details.