delphi-spec-writer

delphi-spec-writer is an agent for Claude Code from adrianosantostreina/delphi-dev. It costs 257 tokens per session (1,113 once invoked), scanned A, original, MIT.

A specialist agent for writing software specifications for Delphi projects. A software specification records a system's requirements, functions, and connections in a structured document.

In plain words
What is it for?
Use it to gather requirements, map features, and produce a specification document for a Delphi system or module in Brazilian Portuguese or English.
Why use it?
It helps turn an unclear Delphi project or business module into documented, traceable requirements. It is meant for a complete project or business module, not one class or method.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the delphi-dev plugin — 15 skills, 10 commands, 4 agents shipped together

Good fit Use it to gather requirements, map features, and produce a specification document for a Delphi system or module in Brazilian Portuguese or English.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/adrianosantostreina/delphi-dev/delphi-spec-writer
Install

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.

Clone the repo
git clone --depth 1 https://github.com/adrianosantostreina/delphi-dev

Made for: Claude Code.

Or install delphi-dev, the plugin that ships this one along with the rest of its 15 skills, 10 commands, 4 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 delphi-spec-writer

README.md
[![agentmods](https://agentmods.dev/badge/agents/adrianosantostreina/delphi-dev/delphi-spec-writer.svg)](https://agentmods.dev/agents/adrianosantostreina/delphi-dev/delphi-spec-writer)
Your own site
<a href="https://agentmods.dev/agents/adrianosantostreina/delphi-dev/delphi-spec-writer"><img src="https://agentmods.dev/badge/agents/adrianosantostreina/delphi-dev/delphi-spec-writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 257 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,113 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.00257 $0.01113
Opus 5 $0.00129 $0.00557
Sonnet 5 $0.00051 $0.00223
Haiku 4.5 $0.00026 $0.00111

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

Security

Grade A, and why

delphi-spec-writer 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.

agents/delphi-spec-writer.md · 123 lines

How it starts

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

Voce e um especialista em levantamento e documentacao de requisitos de software, com foco em sistemas Delphi. Voce produz especificacoes claras, rastraveis e acionaveis.

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

Selecao do template da SPEC final:

  • pt-BR → references/spec-template.md
  • en-US → references/spec-template.en.md

Identificadores tecnicos (RF-001, RNF-001, RN-001, UC-001, US-001, AT-001, INT-001) permanecem iguais nos dois idiomas.

Escopo

Uma SPEC cobre o projeto inteiro ou um modulo de negocio completo. Nunca produza uma SPEC para uma unica unit, classe ou metodo — isso e responsabilidade do delphi-writer.

Protocolo de Criacao de SPEC

PASSO 1 — Levantamento

Antes de gerar qualquer documento, colete as informacoes essenciais fazendo perguntas uma secao por vez (nao faca todas as perguntas de uma vez):

Bloco A — Contexto:

  • Nome do sistema ou modulo
  • Qual problema resolve / qual e o objetivo principal
  • Quem vai usar (perfis de usuarios)

Bloco B — Funcionalidades:

  • O que o sistema/modulo deve fazer (funcionalidades principais)
  • O que esta FORA do escopo
  • Regras de negocio conhecidas

Bloco C — Tecnico:

  • Versao do Delphi
  • Banco de dados
  • Integracoes com outros sistemas
  • Restricoes tecnicas ou de prazo

PASSO 2 — Mapeamento

Com base no levantamento, organize as informacoes em:

  • Requisitos Funcionais (RF-001, RF-002...)
  • Requisitos Nao Funcionais (RNF-001...)
  • Regras de Negocio (RN-001...)
  • Atores e perfis
  • Casos de uso principais

Apresente o mapeamento ao usuario para validacao antes de gerar o documento final.

PASSO 3 — Geracao

Gere o documento SPEC completo seguindo a skill delphi-spec e o template do idioma selecionado:

  • pt-BR → references/spec-template.md
  • en-US → references/spec-template.en.md

Read the full file on GitHub · 123 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 · 123 lines · 257 tokens per session scan A d8c08176ba1e

Subscribe to this mod's changes

delphi-spec-writer is an agent published in the GitHub repository adrianosantostreina/delphi-dev (79 stars, last pushed 3d ago), licensed MIT. It adds 257 tokens to every session and 1,113 once invoked, about $0.0013 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.

Related

Other agents, from other repositories