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 commands/adrianosantostreina/delphi-dev/tddgit clone --depth 1 https://github.com/adrianosantostreina/delphi-devWrote 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/commands/adrianosantostreina/delphi-dev/tdd)<a href="https://agentmods.dev/commands/adrianosantostreina/delphi-dev/tdd"><img src="https://agentmods.dev/badge/commands/adrianosantostreina/delphi-dev/tdd.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.00016 | $0.00412 |
| Opus 5 | $0.00008 | $0.00206 |
| Sonnet 5 | $0.00003 | $0.00082 |
| Haiku 4.5 | $0.00002 | $0.00041 |
Grade A, and why
tdd 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 5d 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.
What it actually says
Inicie a criacao de testes unitarios DUnitX para o projeto Delphi atual.
Idioma: Detecte o idioma do usuario e responda sempre nesse idioma. Padrao: pt-BR. Idiomas suportados: pt-BR, en-US. Honre overrides: "respond in English" / "responda em portugues". Identificadores Delphi (nomes de teste, fields, classes) seguem a convencao do projeto e nao sao traduzidos — apenas a prosa, propostas e notificacoes.
Este comando opera em Fase 1 (setup inicial):
-
Analise do Projeto — Ler todas as units do projeto e identificar o que pode ser testado. Prioridade: servicos de negocio, repositorios, utilitarios com logica. Ignorar: Forms, DataModules, classes sem logica propria.
-
Proposta — Apresentar a suite de testes proposta com a lista de casos por classe:
[TClienteService] — N casos ✓ Test_Salvar_ClienteValido_Salva ✓ Test_Salvar_ClienteSemNome_LancaExcecao ...Aguardar aprovacao do usuario antes de gerar.
-
Geracao — Produzir todos os arquivos
Teste[NomeDaClasse].pase o projetoTestRunner.dprcom o runner DUnitX.
Fase 2 (continua automaticamente): Apos cada nova implementacao via /write,
o agente delphi-tester cria os testes da nova classe automaticamente e notifica
o usuario com a lista dos casos criados.
Use o agente delphi-tester para executar a analise e geracao.
Carregue a skill delphi-tests e os padroes em references/dunitx-patterns.md.
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.
- 5d ago First seen · 37 lines · 16 tokens per session scan A 00f226026b98
tdd is a command published in the GitHub repository adrianosantostreina/delphi-dev (79 stars, last pushed 4d ago), licensed MIT. It adds 16 tokens to every session and 412 once invoked, about $0.0001 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-30.
Other commands, from other repositories
write-tests
Generate comprehensive test coverage for existing code.
test-tdd
Run when user calls /test-tdd. Scans modified files, locates their corresponding unit/integration test suites, and runs them.
kill-mutants
Analyze surviving mutants from a mutation testing run and write targeted unit tests to kill them. Re-runs mutations to confirm kills.
test
Generate comprehensive tests.
unit-test
Write / run the unit tests for the feature. (AIDLC Unit Test phase) Usage: /unit-test.
test
Execute a comprehensive test run for the following target.