一键导入
survey
Explore codebase structure, entry points, tech stack, hotspots, and call graphs
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Explore codebase structure, entry points, tech stack, hotspots, and call graphs
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Search code symbols, find function calls, and analyze codebase
Run the instinct parser catalogue against this session's observe events to surface candidate patterns for promotion to memories. Two-pass: gather candidates, judge intent, write proposals.
Parallel agents with SDLC pipeline per story
Inspect a running swarm — show the agent tree, current tools, halts/pauses, and recent task/message activity for the orchestrator's own swarm.
Systematic debugging workflow for tracking down bugs and issues
Technical design and architecture for implementation
| name | survey |
| description | Explore codebase structure, entry points, tech stack, hotspots, and call graphs |
| triggers | ["survey","codebase structure","what is this codebase","tech stack","entry points","entrypoints","what modules","what packages","code churn","hotspots","call graph","who calls","what calls","orient me","onboard","codebase overview"] |
Recommended model tier: balanced (sonnet) - this skill performs structured queries
Understand the structure, technology, entry points, and change hotspots of a codebase.
Survey describes WHAT the codebase IS — not code problems (use findings for that).
mcp__plugin_aide_aide__survey_stats)Start here. Get an overview of what has been surveyed: total entries, breakdown by analyzer and kind, and per-analyzer freshness (the git commit each analyzer last ran at, and how many commits behind HEAD it is).
Is the codebase surveyed?
→ Uses survey_stats
→ Returns: counts by analyzer (topology, entrypoints, churn, modules) and kind, plus freshness vs git HEAD
If freshness shows an analyzer is commits behind HEAD, re-run survey_run before trusting its data.
mcp__plugin_aide_aide__survey_run)Run analyzers to populate survey data. Three analyzers available:
aide code index)Survey this codebase
→ Uses survey_run (no analyzer param = run all)
→ Returns: entry counts per analyzer, an added/removed diff vs the previous run, and the git commit the run is tagged with
mcp__plugin_aide_aide__survey_list)Browse entries filtered by analyzer, kind, or file path. No search query needed.
Kinds: module, entrypoint, dependency, tech_stack, churn, submodule, subproject, workspace, arch_pattern
What other projects live inside this repo?
→ Uses survey_list with kind=subproject
→ Returns: child project scopes (submodules, nested repos) with identity and whether each has its own .aide store — their files belong to THEIR stores, not this project's
What modules are in this codebase?
→ Uses survey_list with kind=module
→ Returns: all module entries
What technologies does this use?
→ Uses survey_list with kind=tech_stack
→ Returns: detected frameworks, languages, build systems
What files change most?
→ Uses survey_list with kind=churn
→ Returns: high-churn files ranked by commit count
mcp__plugin_aide_aide__survey_search)Full-text search across entry names, titles, and details. Use when looking for specific modules or technologies.
Find anything related to "auth"
→ Uses survey_search with query="auth"
→ Returns: modules, entrypoints, churn entries matching "auth"
mcp__plugin_aide_aide__survey_graph)Build a call graph for a symbol showing callers, callees, or both. BFS traversal over the code index.
Who calls BuildCallGraph?
→ Uses survey_graph with symbol="BuildCallGraph" direction="callers"
→ Returns: graph of calling symbols with file:line locations
What does handleSurveyRun call?
→ Uses survey_graph with symbol="handleSurveyRun" direction="callees"
→ Returns: graph of called symbols
Show call neighborhood of RunTopology
→ Uses survey_graph with symbol="RunTopology" direction="both"
→ Returns: both callers and callees
Parameters:
symbol (required): Function/method namedirection: "both" (default), "callers", "callees"max_depth: BFS hops (default 2)max_nodes: Max nodes (default 50)Requires: Code index must be populated (aide code index).
Check survey status:
survey_stats to see if data existssurvey_run to populateUnderstand the structure:
survey_list kind=module — What are the major modules?survey_list kind=tech_stack — What technologies are used?survey_list kind=workspace — Is this a monorepo?Find entry points:
survey_list kind=entrypoint — Where does execution start?Identify hotspots:
survey_list kind=churn — What files change most? (complexity/bug magnets)Trace call relationships:
survey_graph symbol="handleRequest" — Map the call neighborhooddirection=callers to find who invokes a functiondirection=callees to understand what a function depends on| Question | Tool | Parameters |
|---|---|---|
| "What is this codebase?" | survey_list | kind=module |
| "What tech stack?" | survey_list | kind=tech_stack |
| "Where are the entry points?" | survey_list | kind=entrypoint |
| "What changes most?" | survey_list | kind=churn |
| "Is there an auth module?" | survey_search | query="auth" |
| "Who calls this function?" | survey_graph | symbol=X, direction=callers |
| "What does this call?" | survey_graph | symbol=X, direction=callees |
| Tool | Purpose | Example |
|---|---|---|
| Survey | WHAT the codebase IS | Modules, tech stack, entry points, churn |
| Findings | Code PROBLEMS | Complexity, security issues, duplication |
| Code Search | Symbol DEFINITIONS | Find function signatures, call sites |
Survey gives you the big picture. Code search gives you specific symbols. Findings gives you problems to fix.
aide survey run or use survey_run toolaide code indexBinary location: The aide binary is at .aide/bin/aide. If it's on your $PATH, you can use aide directly.