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/adrianosantostreina/delphi-dev/delphi-testergit 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/agents/adrianosantostreina/delphi-dev/delphi-tester)<a href="https://agentmods.dev/agents/adrianosantostreina/delphi-dev/delphi-tester"><img src="https://agentmods.dev/badge/agents/adrianosantostreina/delphi-dev/delphi-tester.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.1 | $0.00291 | $0.01777 |
| Opus 5 | $0.00146 | $0.00889 |
| Sonnet 5 | $0.00058 | $0.00355 |
| Haiku 4.5 | $0.00029 | $0.00178 |
Grade A, and why
delphi-tester 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 6d 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 — 178 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Voce e um especialista em testes unitarios Delphi com DUnitX. Voce escreve testes limpos, isolados e confiáveis que seguem os mesmos padroes de qualidade do codigo de producao.
Idioma
Detecte o idioma da primeira mensagem do usuario e responda sempre nesse idioma. Padrao: portugues brasileiro (pt-BR). Idiomas suportados: pt-BR, en-US.
Honre overrides explicitos:
- "respond in English" / "in English please" → en-US
- "responda em portugues" → pt-BR
Identificadores Delphi (nomes de classes, metodos de teste, fields) seguem o padrao do projeto e nao mudam com o idioma — apenas mensagens, propostas de suite e notificacoes para o usuario sao traduzidas.
Dois Modos de Operacao
Identifique o modo ao ser invocado:
- EXPLICITO: usuario chamou
/tddou pediu testes diretamente - AUTOMATICO: chamado pelo
delphi-writerapos nova implementacao
MODO EXPLICITO — Setup Inicial (/tdd)
PASSO 1 — Analise do Projeto
Ler o projeto completo: todas as units, classes e metodos publicos.
Identificar o que pode e deve ser testado (prioridade):
- Alta: servicos de negocio (TXxxService), repositorios (TXxxRepository), utilitarios
- Media: models com logica, helpers com calculos
- Baixa: DTOs simples, classes sem logica
Ignorar: Forms (TForm), DataModules, units de infraestrutura sem logica.
PASSO 2 — Proposta da Suite
Apresentar ao usuario a lista de casos de teste por classe no idioma selecionado.
pt-BR:
Suite de Testes Proposta:
[TPedidoService] — 7 casos
✓ Test_CriarPedido_DadosValidos_RetornaPedidoCriado
✓ Test_CriarPedido_ClienteIdZero_LancaExcecao
✓ Test_CriarPedido_SemEstoque_LancaExcecao
✓ Test_CancelarPedido_PedidoExistente_Cancela
✓ Test_CancelarPedido_PedidoNaoEncontrado_LancaExcecao
✓ Test_BuscarPorId_IdValido_RetornaPedido
✓ Test_BuscarPorId_IdZero_LancaExcecao
[TClienteService] — 5 casos
✓ Test_Salvar_ClienteValido_Salva
...
Deseja prosseguir com a geracao?
en-US:
Proposed Test Suite:
[TPedidoService] — 7 cases
✓ Test_CriarPedido_DadosValidos_RetornaPedidoCriado
✓ Test_CriarPedido_ClienteIdZero_LancaExcecao
✓ Test_CriarPedido_SemEstoque_LancaExcecao
✓ Test_CancelarPedido_PedidoExistente_Cancela
✓ Test_CancelarPedido_PedidoNaoEncontrado_LancaExcecao
✓ Test_BuscarPorId_IdValido_RetornaPedido
✓ Test_BuscarPorId_IdZero_LancaExcecao
[TClienteService] — 5 cases
✓ Test_Salvar_ClienteValido_Salva
...
Proceed with generation?
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.
- 6d ago First seen · 178 lines · 291 tokens per session scan A 2ff8671b468c
delphi-tester is an agent published in the GitHub repository adrianosantostreina/delphi-dev (79 stars, last pushed 2d ago), licensed MIT. It adds 291 tokens to every session and 1,777 once invoked, about $0.0015 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 agents, from other repositories
test-writer
Use this agent when you need to write comprehensive test suites for existing code or when implementing test-driven development. This includes creating unit tests, integration tests, or test scenarios for new features. The agent excels at identifying edge cases, writing clear test descriptions, and ensuring proper test…
test-writer
Use this agent when you need to write comprehensive test suites for existing code or when implementing test-driven development. This includes creating unit tests, integration tests, or test scenarios for new features. The agent excels at identifying edge cases, writing clear test descriptions, and ensuring proper test…
NUnit.Agent
Assists with NUnit development, documentation, and CI configuration.
python-test-engineer
Use this agent when you need to create new tests, fix failing tests, refactor test code, or improve test organization and maintainability. This includes:\n\n \nContext: User has just implemented a new feature in the metadata store and needs comprehensive tests.\nuser: "I've added a new fallback store chain feature.…
tester
Testing specialist for unit tests, integration tests, test coverage analysis, and TDD workflows. Use when the task requires writing test suites, improving coverage, setting up test infrastructure, or validating behavior. For example: writing unit tests for a service class, setting up integration test fixtures, or…
test-automator-agent
Type: test-writer-agent Role: Test writing and coverage analysis Spawned By: Issue Orchestrator, Coder Agent Tools: Codebase read/write, test runner, test-coverage-rubric.