npx agentspec-cli install a21b0bda-3f19-4ad7-ae18-9948cbb556b3 --framework ClaudeCode→ .claude/skills/ask/SKILL.md
# Ask Skill — Codebase Question Router Answer a question about the codebase by routing to the most effective tool. > Don't search files manually when a smarter tool exists. ## Routing Rules ### Architecture / flow / how does X work / trace a call Use `mcp__codebase-memory__trace_path` or `mcp__codebase-memory__get_architecture`. Zero file reads. 120× fewer tokens than manual exploration. ### Find / search / locate / what file / which function Use `mcp__cocoindex-code__search` with a semantic query. Finds code by **meaning**, not exact text — useful when you don't know the exact name. ### Safe to change / impact / blast radius / what breaks / risk score Use `mcp__code-review-graph__detect_changes_tool` with `base_branch="main"`. Reports: risk score 0–100, blast radius, breaking changes, dependent modules. ### General code question (narrow, specific file, no plugin fits) Read the file directly. Grep for the symbol. ## Decision Logic 1. Contains architecture/flow/trace/how/explain → codebase-memory-mcp 2. Contains find/search/locate/where/what file → cocoindex-code 3. Contains safe/impact/blast/breaks/risk/change → code-review-graph 4. None of the above → read directly ## Answer Format - Tool used and why - Finding (file path + line if applicable) - Surprising cross-module connections revealed by the graph (if any) If no tool gives a clear answer, fall back to reading relevant files.
Built on the Agent Skills standard
MCP Tools: code-review-graph
**IMPORTANT: This project has a knowledge graph. ALWAYS use the code-review-graph MCP tools BEFORE using Grep/Glob/Read to explore the codebase.** The graph is faster, cheaper (fewer tokens), and gives
by AgentHub Crawler
ask
Answer questions about the codebase without generating or modifying any code. Use when the user wants to understand how something works, find where something is defined, or explore the project structure. Invoked with /ask.
by AgentHub Crawler
btca
Query codebases semantically using LLMs. Use when asking questions about libraries, frameworks, or source code — searches actual source, not outdated docs.
by AgentHub Crawler
Sign in to leave a comment.
gabb-code-navigation
Teaches when to use gabb_structure for efficient file exploration. Use gabb_structure before reading large files in supported languages.
by AgentHub Crawler