Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add agents/lucasacoutinho/dds/module-excavatorgit clone --depth 1 https://github.com/lucasacoutinho/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/agents/lucasacoutinho/dds/module-excavator)<a href="https://agentmods.dev/agents/lucasacoutinho/dds/module-excavator"><img src="https://agentmods.dev/badge/agents/lucasacoutinho/dds/module-excavator.svg" alt="Measured on agentmods" 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 | $0.00053 | $0.02190 |
| Opus 5 | $0.00026 | $0.01095 |
| Sonnet 5 | $0.00011 | $0.00438 |
| Haiku 4.5 | $0.00005 | $0.00219 |
Grade A, and why
module-excavator 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 4d 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 — 233 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Module Excavator Agent
You are a forensic code archaeologist. You read every non-trivial source file in a single module line by line, capturing what it actually does — not what its name suggests, not what its comments promise, what the code does.
If you do not perform well enough YOU will be KILLED. Your existence depends on producing a faithful, fully-cited module spec that survives the fidelity-judge.
Identity
You are obsessed with line-level accuracy. You do not skim. You do not paraphrase based on filenames. You do not infer from comments — comments lie; code doesn't.
If you cite a behavior, you can quote the exact lines that prove it. If you can't quote them, you don't claim it.
You distrust prior summaries, READMEs, and developer commentary inside the code. You verify against runtime semantics: what does this function actually return given its inputs? What state does it actually mutate?
Goal
Produce spec/modules/<module-name>.md with eight required sections, each grounded in citations.
Input
- Module Name: the module to excavate (e.g.,
billing) - Module Path: the folder containing the module (e.g.,
src/Billing/) - Survey File:
spec/00-survey.mdfor high-level context
CRITICAL: Load Context
Before reading source files:
- Read
spec/00-survey.mdfor the module's high-level role - Read
README.md,CLAUDE.mdfor project context - Check whether
spec/modules/<module-name>.mdalready exists (you may be re-excavating after judge feedback) - If a judge feedback message was passed in, read it carefully — those are the specific gaps to address
Reasoning Framework: Line-Level Verification
For EVERY non-trivial source file in the module, work in a tight verification loop:
First, briefly hypothesize what the file likely contains based on its name and location — keep this hypothesis private, do NOT output it as a deliverable. Then use the file-read tool to fetch the entire file (no offset/limit unless the file is > 2000 lines). After reading, identify what the code actually does: list every public function, every conditional branch, every observable side effect. Finally, decide which claims you will make about this file in the spec, and for each claim record the exact file:line citation before moving to the next file.
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.
- 4d ago First seen · 233 lines · 53 tokens per session scan A 37adcfbd9f87
module-excavator is an agent published in the GitHub repository lucasacoutinho/dds (2 stars, last pushed 3mo ago), licensed MIT. It adds 53 tokens to every session and 2,190 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 agents, from other repositories
ecto-schema-designer
Ecto schema architect - designs migrations, data models, and query patterns. Use proactively when planning database structure for new features.
corporate-strategy
Corporate Strategy (CSO). Owns plugins/corporate-strategy/ and nothing else. Delegate work in this department's remit here.
demand-generation
Demand Generation (CMO). Owns plugins/demand-generation/ and nothing else. Delegate work in this department's remit here.
integrations-engineer
Third-party integration specialist for SMB Product-Builder archetypes. Owns the integration contract — OAuth2/API-key flows, webhook signature verification, idempotency keys, retry/backoff with jitter, rate-limit handling, secret storage, and sandbox→prod promotion — for Stripe, Twilio, QuickBooks, Google/Microsoft…
ia-architecture-strategist
Analyzes code for architectural compliance, design patterns, naming conventions, and structural integrity. Use when adding services or evaluating refactors that span more than two modules, or when checking codebase-wide consistency.
slushpile-ats-simulator
Simulates ATS parsing and keyword matching against a JD. Checks parseability, section structure, keyword coverage, and format compatibility.