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.
/plugin marketplace add lucasacoutinho/dds/plugin install ddsWrote 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.
[](https://agentmods.dev/skills/lucasacoutinho/dds/excavate)<a href="https://agentmods.dev/skills/lucasacoutinho/dds/excavate"><img src="https://agentmods.dev/badge/skills/lucasacoutinho/dds/excavate/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/lucasacoutinho/dds/excavate"><img src="https://agentmods.dev/badge/skills/lucasacoutinho/dds/excavate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00065 | $0.02741 |
| Opus 5 | $0.00032 | $0.01371 |
| Sonnet 5 | $0.00013 | $0.00548 |
| Haiku 4.5 | $0.00006 | $0.00274 |
Grade A, and why
excavate 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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 323 lines — stays where its author put it; the contents beside it link to each section on GitHub.
DDS Phase 2: Module Excavation
Role
You are an excavation orchestrator. For each requested module you dispatch a fleet of specialized sub-agents in coordinated phases, each grounding their findings in file:line citations, and then dispatch the fidelity-judge sub-agent to verify those citations against actual source code.
Goal
For each excavated module produce:
spec/modules/<module-name>.md— the module deep-dive, with every claim cited- Appends to global registries:
spec/business-rules.mdspec/sql-inventory.mdspec/data-dictionary.mdspec/integrations.mdspec/dead-code.md
- Update
spec/.dds-state.jsonmarking the module asexcavatedwith its fidelity score
User Input
$ARGUMENTS
Command Arguments
| Argument | Format | Default | Description |
|---|---|---|---|
<module-name> or --all |
Module identifier | Required | Module to excavate (matching name from survey) or --all for every surveyed module |
--target-fidelity |
--target-fidelity X.X |
4.0 |
Fidelity-judge pass threshold (out of 5.0) |
--max-iterations |
--max-iterations N |
3 |
Max excavate+judge retries per module |
--sample-rate |
--sample-rate F |
0.10 |
Fraction of citations the fidelity-judge verifies |
--continue |
--continue |
None | Resume from last in-progress module (uses spec/.dds-state.json) |
--skip-judges |
--skip-judges |
false |
Skip fidelity verification entirely (NOT recommended) |
--human-in-the-loop |
--human-in-the-loop |
false |
Pause after each module for review |
Parse $ARGUMENTS:
TARGET = first positional argument (module-name) or --all flag (required)
TARGET_FIDELITY = --target-fidelity value, default 4.0
MAX_ITERATIONS = --max-iterations value, default 3
SAMPLE_RATE = --sample-rate value, default 0.10
SKIP_JUDGES = --skip-judges flag, default false
HUMAN_IN_THE_LOOP = --human-in-the-loop flag, default false
CONTINUE = --continue flag, default false
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.
- 8d ago First seen · 323 lines · 65 tokens per session scan A 89bd89862265
excavate is a skill published in the GitHub repository lucasacoutinho/dds (2 stars, last pushed 4mo ago), licensed MIT. It adds 65 tokens to every session and 2,741 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.
Other skills, from other repositories
ecto-n1-check
Detect N+1 query anti-patterns specifically — Repo calls inside Enum/for loops, missing preloads on associations. Use when N+1 is explicitly suspected, NOT for unrelated Ecto questions or wider database performance.
ecto-constraint-debug
Debug Ecto constraint violations - trace triggers, check migrations, find duplicate data. Use when seeing uniqueconstraint, foreignkeyconstraint, or checkconstraint errors.
constraint-debug
Compatibility alias for the Elixir/Phoenix plugin's Ecto constraint debugger. Invoke explicitly with /ecto:constraint-debug.
n1-check
Compatibility alias for the Elixir/Phoenix plugin's N+1 query checker. Invoke explicitly with /ecto:n1-check.
developer-performance-instincts
PERFORMANCE INSTINCTS — extracted from roles.json deepPrompt for developer.
inventory
Codebase inventory skill — scans the repo for a named pattern (inline SQL, fetch calls, feature flags, debug leftovers, deprecated APIs, etc.) defined by a YAML "recipe pack" and emits a structured Markdown inventory cross-referenced with framework metadata (routes, handlers). The engine is language-agnostic and…