ask
免费Route a codebase question to the right tool — structural graph, semantic search, or risk analysis. Use when you need to find or understand code without knowing exact file names.
中文简介正在准备中。当前显示原文说明。
Structural graph tools for live codebase navigation — trace call paths, detect change blast radius, find dead code, query architecture. Use before reading files. 120x fewer tokens than file exploration.
中文简介正在准备中。当前显示原文说明。
实测评分 未实测
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Zero-file-read structural analysis. Always try these tools BEFORE reading files for structural questions.
| Question | Tool |
|---|---|
What calls foo()? | trace_path(function_name="foo", direction="inbound") |
What does foo() call? | trace_path(function_name="foo", direction="outbound") |
| Full call chain | trace_path(direction="both", depth=3) |
| Impact of my change | detect_changes(base_branch="main") |
| Architecture overview | get_architecture |
| Find by name/pattern | search_graph(name_pattern="Auth.*") |
| Find by label | search_graph(label="Class") |
| Dead code | search_graph(max_degree=0, label="Function") |
| Custom query | query_graph(query="MATCH (n:Function)-[:CALLS]->(m) RETURN n.name, m.name LIMIT 20") |
| Execution flows | list_flows → get_affected_flows |
| ADR management | manage_adr(mode="get") |
index_repository(repo_path=".") — first run only (~6s for 500 files)list_projects — verify indexedget_architecture — architecture mapdetect_changes(base_branch="main") → risk score + blast radiusget_affected_flows → which execution paths breaktrace_path on highest-risk functionsget_architecture → community map, entry pointssearch_graph(name_pattern="<keyword>") → find relevant nodestrace_path → traverse from found nodesget_code_snippet(qualified_name="<name>") → source with contextsearch_graph(relationship="HTTP_CALLS") filters by degree — use query_graph for actual edge inspectionquery_graph has a 200-row cap — use search_graph with degree filters for countstrace_path requires exact qualified names — use search_graph(name_pattern=...) firstdirection="outbound" misses cross-service callers — use direction="both"has_more and paginate with offsetGraph auto-updates via background git polling (5–60s adaptive). For immediate refresh:
index_repository(repo_path=".", mode="fast")
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Route a codebase question to the right tool — structural graph, semantic search, or risk analysis. Use when you need to find or understand code without knowing exact file names.
中文简介正在准备中。当前显示原文说明。
Auto-configure CLAUDE.md and claude/ knowledge docs for a new project. Use when setting up Brain Bootstrap in a new repository. Discovers the codebase, fills in templates, and writes project-specific configuration.
中文简介正在准备中。当前显示原文说明。
Use before any new feature, component, or behavioral change — when you need to explore requirements and design before writing code
中文简介正在准备中。当前显示原文说明。
Activate safety guards for the session. Use /careful before critical operations — blocks rm -rf, DROP TABLE, git push --force, kubectl delete namespace, docker system prune via PreToolUse hook.
中文简介正在准备中。当前显示原文说明。
Generate a user-facing changelog from git commits — categorize, filter noise, translate to user language. Runs in isolated fork context.
中文简介正在准备中。当前显示原文说明。
Save session state before context gets full or before ending. Writes current task state, branch, and loaded docs to claude/tasks/todo.md so the next session can resume cleanly.
中文简介正在准备中。当前显示原文说明。