survey

survey is a skill for Claude Code from lucasacoutinho/dds. It costs 51 tokens per session (1,563 once invoked), scanned A, original, MIT.

A reconnaissance step for an unfamiliar or older codebase. It records the technologies, main modules, ways the system starts, deployment files, and an estimate of the work needed for deeper analysis.

In plain words
What is it for?
Use it to survey a legacy project and create spec/00-survey.md. It helps identify languages, frameworks, entry points such as web routes or scheduled jobs, deployment setup, and module size.
Why use it?
It gives you a quick map before anyone spends time reading code in detail. This helps decide which parts to examine first and what the larger investigation may involve.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the dds plugin — 3 skills, 8 agents shipped together

Good fit Use it to survey a legacy project and create spec/00-survey.md. It helps identify languages, frameworks, entry points such as web routes or scheduled jobs, deployment setup, and module size.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add lucasacoutinho/dds
Claude Code
/plugin install dds

Made for: Claude Code.

Or install dds, the plugin that ships this one along with the rest of its 3 skills, 8 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for survey

README.md
[![agentmods](https://agentmods.dev/badge/skills/lucasacoutinho/dds/survey.svg)](https://agentmods.dev/skills/lucasacoutinho/dds/survey)
Your own site
<a href="https://agentmods.dev/skills/lucasacoutinho/dds/survey"><img src="https://agentmods.dev/badge/skills/lucasacoutinho/dds/survey.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,563 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.01563
Opus 5 $0.00026 $0.00781
Sonnet 5 $0.00010 $0.00313
Haiku 4.5 $0.00005 $0.00156

Measured 7d ago against content hash 0c909872579c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

survey scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/survey/SKILL.md · 155 lines

How it starts

The opening of the file, as written. The whole thing — 155 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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:

  1. Tech stack — languages, frameworks, runtimes, build systems, deployment hints
  2. Module map — top-level packages/namespaces/folders with one-line role descriptions
  3. Entry points — web routes, CLI commands, scheduled jobs, message consumers, batch entry points
  4. Deployment topology — Dockerfiles, IIS configs, web.config, IaC observed
  5. 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

$ARGUMENTS

Command 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

  1. Verify PATH exists and is a directory.

  2. Run the folder setup script (path is supplied by the host platform's plugin-root variable):

    bash <plugin-root>/scripts/create-spec-folders.sh
    
  3. Check whether spec/00-survey.md already exists. If so, ask the user whether to overwrite or append.

Read the full file on GitHub · 155 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 155 lines · 51 tokens per session scan A 0c909872579c

Subscribe to this mod's changes

survey is a skill published in the GitHub repository lucasacoutinho/dds (2 stars, last pushed 3mo ago), licensed MIT. It adds 51 tokens to every session and 1,563 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

release-it

Build production-ready systems with stability patterns: circuit breakers, bulkheads, timeouts, and retry logic. Use when the user mentions "production outage", "circuit breaker", "deployment pipeline", "chaos engineering", "retry storm", "health checks", "my service keeps crashing", "prevent cascading failures", or…

wondelai/skills · 131 tokens

tidewave-integration

Tidewave MCP runtime tools — debugging, smoke testing, live state inspection, SQL queries, hex docs. Use when evaluating code in a running Phoenix app.

oliver-kriska/claude-elixir-phoenix · 38 tokens

debug

Interactive debugging workflow with hypothesis-driven probe loop. Use when: unknown bugs, script errors, silent failures, troubleshooting. Not for: known bugs (use bug-fix), GitHub issue analysis (use issue-analyze), code understanding (use code-explore). Output: debug report with probe journal + root cause + fix.

sd0xdev/sd0x-harness · 67 tokens

git-investigate

Git history investigation. Use when: tracking code changes, finding where bugs were introduced, root cause analysis. Not for: code exploration (use code-explore), issue analysis (use issue-analyze). Output: history trace + root cause report.

sd0xdev/sd0x-harness · 53 tokens

analyze

Deep-dive codebase analysis that explains how things actually work — business rules, architecture patterns, auth flows, data models, integrations, and performance hotspots. Use whenever the user asks "how does X work", "map the Y flow", "what are the business rules for Z", "trace the auth path", "explore the codebase…

rsmdt/the-startup · 118 tokens

simplify

Wrap-up refactoring — simplify code, eliminate duplication, preserve behavior.

sd0xdev/sd0x-harness · 16 tokens