survey
Skill2 starsChanged 6 months agoMITView on GitHub
Phase 1 of DDS reverse-engineering. Performs lightweight reconnaissance of a legacy codebase to detect the tech stack, enumerate entry points, build a module map, and estimate the cost of full excavation. Output is spec/00-survey.md.
21 other projects use a version of this.
Adopted by
Most recently taken up by
- genkovich/sddtheir own version, first seen Oct 25, 2026
- PKU-DAIR/AutoScitheir own version, first seen Oct 25, 2026
- wheslleyrimar/BuildCLI-Agentstheir own version, first seen Oct 22, 2026
- LazyerIJ/self-clonetheir own version, first seen Oct 17, 2026
- steven112163/dotharnesstheir own version, first seen Oct 15, 2026
- DAIR-AutoResearch/AutoScitheir own version, first seen Oct 15, 2026
Used with
Projects with it also use daily-arxiv, exp-eval and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
LambenthanSkilldaily-arxiv
每日从 arXiv 拉取新论文,过滤相关性,auto-ingest 高优先级论文,检测 SOTA 更新
Also in 5 projects that use this
LambenthanSkillexp-eval
实验判决门:Review LLM 独立评判实验结果 → 4 种判决路径 → 自动更新 claims confidence、ideas status、graph edges
Also in 5 projects that use this
skyllwtSkillexp-pilot-eval
Pilot result evaluation — read pilot results, apply success criteria, update idea page (pilot_result, failure_reason if failed), generate PILOT_VERDICT_REPORT. Called by /ideate Phase 5 after /exp-pilot-run.
Also in 4 projects that use this
skyllwtSkillexp-pilot-run
Pilot experiment execution — read Pilot Spec YAML, write pilot code, run experiment(Confirm with the user before operation and require the applicant to conduct manual inspection), return results. Called by /ideate Phase 5. Does NOT modify wiki pages or judge pass/fail.
Also in 4 projects that use this
phanghonghaoSkillposter
HTML/CSS A4 海报生成。从沙龙/活动 Markdown 文件生成科技风 A4 海报 PDF/PNG。Use when user mentions: poster, 海报, 海报生成, make poster, generate poster, 活动海报, 沙龙海报.
Also in 4 projects that use this
- +6 more from Lambenthan
- +1 more from skyllwt
Other versions21 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 21
- skyllwt/OmegaWiki★ 1.7ksame name
- DAIR-AutoResearch/AutoSci★ 1.7ksame name
- PKU-DAIR/AutoSci★ 1.7ksame name
- skyllwt/AutoSci★ 1.7ksame name
- genkovich/sdd★ 187same name
- SNL-UCSB/literature-survey-skill★ 93same name
- Lambenthan/empiricalwiki★ 85same name
- spacedock-dev/spacedock★ 85same name
- V-Songbird/foreman★ 35same name
- jmylchreest/aide★ 19same name
11 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 3 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 16 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 51
Verify PATH exists and is a directory.
- Distinctive: line 52
Run the folder setup script (path is supplied by the host platform's plugin-root variable):
- Very specific: line 58
Check whether spec/00-survey.md already exists.
- Distinctive: line 140
Do NOT: read source files line-by-line in this phase — surveyor uses breadth-first listing and pattern search only.
- Very specific: line 141
Do NOT: create spec/modules/<name>.md files — that's the excavator's job.
- Distinctive: line 142
DO verify the spec file was actually created before reporting success.
“Common” is measured: kept by at least 6 in 10 of the 16 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
DDS Phase 1: Codebase Reconnaissance
Role
You are a reconnaissance orchestrator. Your job is to dispatch the surveyor sub-agent against the target codebase, capture its output, and present a clean summary so the user can decide which modules to excavate next.
Goal
Produce spec/00-survey.md containing:
- Tech stack — languages, frameworks, runtimes, build systems, deployment hints
- Module map — top-level packages/namespaces/folders with one-line role descriptions
- Entry points — web routes, CLI commands, scheduled jobs, message consumers, batch entry points
- Deployment topology — Dockerfiles, IIS configs, web.config, IaC observed
- Excavation cost estimate — rough effort per module (S/M/L/XL) so the user knows what they're signing up for
This is a fast, breadth-first pass. NO line-by-line analysis happens here. That's /dds:excavate's job.
User Input
$ARGUMENTSCommand Arguments
| Argument | Format | Default | Description |
path | Path to codebase root | . | Where to start reconnaissance |
--depth | --depth N | 3 | Folder-traversal depth for module discovery |
--include-pattern | --include-pattern <glob> | None | Only scan files matching glob (e.g., *.cs) |
--exclude-pattern | --exclude-pattern <glob> | node_modules,vendor,bin,obj,dist,build | Skip matching paths |
Parse $ARGUMENTS:
PATH = first positional argument, default "."
DEPTH = --depth value, default 3
INCLUDE = --include-pattern value, default null
EXCLUDE = --exclude-pattern value, default "node_modules,vendor,bin,obj,dist,build,.git,target,packages"Pre-Flight Checks
- Verify
PATHexists and is a directory. Run the folder setup script (path is supplied by the host platform's plugin-root variable):
bash <plugin-root>/scripts/create-spec-folders.sh- Check whether
spec/00-survey.mdalready exists. If so, ask the user whether to overwrite or append. - Track these phases internally so the user can see progress: directory setup → dispatch surveyor → summarize output.
Workflow
Step 1: Dispatch the Surveyor Sub-Agent
Dispatch a sub-agent using the dds:surveyor agent definition. Pass it the configuration via prompt:
Plugin root: <plugin-root>
Target Path: <PATH>
Traversal Depth: <DEPTH>
Include Pattern: <INCLUDE or "none">
Exclude Pattern: <EXCLUDE>
Your job is to produce spec/00-survey.md. Read README.md and CLAUDE.md
if they exist, for context. Use the available file-listing and file-search
mechanisms to discover:
- Tech stack (language, framework, runtime, build system, package manager)
- Module map (top-level folders/namespaces, with one-line descriptions)
- Entry points (controllers, main(), CLI entry points, scheduled jobs, queue consumers)
- Deployment hints (Dockerfile, IaC, IIS configs, app.config, web.config)
- Excavation cost estimate (S/M/L/XL per module based on file count and complexity heuristics)
CRITICAL:
- This is RECONNAISSANCE only. No line-by-line analysis. No business-rule extraction.
- DO NOT output your findings inline. Create a scratchpad with
<plugin-root>/scripts/create-scratchpad.sh, dump all raw findings there,
then synthesize the polished spec/00-survey.md.
- Every module-map entry MUST cite the source folder path (e.g., [src/Billing/]).
- Every entry-point MUST cite a file (e.g., [src/Controllers/OrderController.cs:42]).A model with strong breadth-first reading and decent pattern-recognition is sufficient — this is reconnaissance, not deep reasoning.
Capture from the sub-agent's response:
- Survey file path (must be
spec/00-survey.md) - Scratchpad file path
- Number of modules discovered
- Number of entry points found
- Detected tech stack summary
Step 2: Summarize for the User
Present a concise summary so the user can plan excavation:
## Survey Complete
| Field | Value |
|---|---|
| **Target** | <PATH> |
| **Tech stack** | <languages, frameworks> |
| **Modules discovered** | <N> |
| **Entry points** | <N> |
| **Survey file** | spec/00-survey.md |
| **Scratchpad** | .specs/scratchpad/<hex>.md |
### Modules (by estimated excavation cost)
| Module | Files | Cost | Folder |
|---|---|---|---|
| billing | 47 | M | src/Billing/ |
| auth | 12 | S | src/Auth/ |
| reports | 213 | XL | src/Reports/ |
| ... |
### Next Steps
1. Review `spec/00-survey.md`
2. Run `/dds:excavate <module-name>` to deep-dive a single module
3. Or run `/dds:excavate --all` to excavate everything (long-running)
4. Once all modules excavated, run `/dds:assemble` to produce the unified Arc42 specConstraints
- Do NOT perform deep code analysis yourself — delegate to the surveyor sub-agent.
- Do NOT read source files line-by-line in this phase — surveyor uses breadth-first listing and pattern search only.
- Do NOT create
spec/modules/<name>.mdfiles — that's the excavator's job. - DO verify the spec file was actually created before reporting success. If missing, re-dispatch the sub-agent.
Success Criteria
spec/00-survey.mdexists and is non-empty- File contains all five required sections (tech stack, module map, entry points, deployment, cost estimate)
- Every entry-point row has a citation
- Module map has at least one entry
- State manifest
spec/.dds-state.jsonupdated with all discovered modules marked assurveyed
Platform Notes
This skill was designed for Claude Code's slash-command + sub-agent model but uses platform-agnostic language where practical. Concrete tool names referenced in agent prompts (file-listing, file-search, file-read) map to whatever your host platform provides — Claude Code's Glob/Grep/Read, OpenCode's equivalents, Cursor's, etc. The <plugin-root> placeholder corresponds to your platform's plugin-directory variable (in Claude Code: ${CLAUDE_PLUGIN_ROOT}).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

