delphi-build

delphi-build is a skill for Claude Code from adrianosantostreina/delphi-dev. It costs 108 tokens per session (538 once invoked), scanned A, original, MIT.

A command-line build assistant for Delphi projects, using tools such as MSBuild and dcc32 to compile code. It records the build output in a log and uses that log to identify compilation errors.

In plain words
What is it for?
Use it to compile Delphi applications, investigate missing units or undeclared identifiers, handle long command-line errors, and build Android or iOS targets.
Why use it?
It makes failed builds easier to diagnose by focusing on the first real error instead of relying only on a success or failure code.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

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

Good fit Use it to compile Delphi applications, investigate missing units or undeclared identifiers, handle long command-line errors, and build Android or iOS targets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/adrianosantostreina/delphi-dev/delphi-build
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.

Any agent
npx skills add adrianosantostreina/delphi-dev --skill delphi-build
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-build

README.md
[![agentmods](https://agentmods.dev/badge/skills/adrianosantostreina/delphi-dev/delphi-build.svg)](https://agentmods.dev/skills/adrianosantostreina/delphi-dev/delphi-build)
Your own site
<a href="https://agentmods.dev/skills/adrianosantostreina/delphi-dev/delphi-build"><img src="https://agentmods.dev/badge/skills/adrianosantostreina/delphi-dev/delphi-build.svg" alt="Measured on agentmods" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 538 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00108 $0.00538
Opus 5 $0.00054 $0.00269
Sonnet 5 $0.00022 $0.00108
Haiku 4.5 $0.00011 $0.00054

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

Security

Grade A, and why

delphi-build 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.

skills/delphi-build/SKILL.md · 47 lines

What it actually says

Delphi Build

Idioma de saída

Detecte o idioma da primeira mensagem. Padrão: pt-BR. Respeite overrides explícitos.

Princípio

Compilar via .bat que chama rsvars.bat + msbuild, redirecionando a saída para um arquivo de log, e depois ler o log para diagnosticar erros. Nunca confie apenas no exit code — o log tem o erro real (E2003/E2065/etc.).

Referência completa

  • knowledge/core/build-via-bat-com-log.md — template do .bat com log + catálogo de erros comuns (E2003 unit não encontrada, E2065 identificador não declarado, etc.)
  • knowledge/core/msb6003-command-line-too-long.md — erro MSB6003 (linha de comando longa demais): causa e contorno
  • knowledge/fmx/android-deploy-e8712-buildtools.md — erro E8712 e Android build-tools no deploy mobile

Fluxo recomendado

  1. Localizar/gerar o build.bat que redireciona saída para build_log.txt
  2. Rodar o build
  3. Ler build_log.txt e diagnosticar o primeiro erro (os seguintes costumam ser cascata)
  4. Corrigir a causa raiz quando óbvia (uses faltando, typo de identificador, tipo/parâmetro)
  5. Recompilar até Build OK

Erros frequentes (consultar o catálogo completo)

Erro Causa típica
E2003 Unit não encontrada — falta no uses ou no search path
E2065 Identificador não declarado — typo ou unit faltando
MSB6003 Linha de comando muito longa — reduzir paths/defines
E8712 Android build-tools / SDK desalinhado com a versão do Delphi
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. 8d ago First seen · 47 lines · 108 tokens per session scan A 31dd0a70e0cf

Subscribe to this mod's changes

delphi-build is a skill published in the GitHub repository adrianosantostreina/delphi-dev (79 stars, last pushed 4d ago), licensed MIT. It adds 108 tokens to every session and 538 once invoked, about $0.0005 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 skills, from other repositories

matlab

Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 42 tokens

ast-grep

Guide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search codebases using Abstract Syntax Tree (AST) patterns, find specific code structures, or perform complex code queries that go beyond simple text search. This skill should be used when users ask to search for…

JanDeDobbeleer/oh-my-posh · 80 tokens

platform-detection

Identify a .NET project's test platform, framework, command mode, and SDK-style vs classic project system. Use only for "which test platform/framework?", "VSTest or MTP?", or "what runner does this project use?", including bridge settings, UseVSTest opt-outs, and incompatible or conflicting VSTest/MTP configuration.…

dotnet/skills · 146 tokens

unity-version-split

Split a C# file into Unity 6.5+ and pre-Unity 6.5 variants. Use when a file needs different implementations for different Unity versions due to API changes (e.g., EntityId vs int, GetEntityId vs GetInstanceID).

IvanMurzak/Unity-MCP · 59 tokens

omh-rust

This is a Hermes-native rust workflow skill.

rlaope/oh-my-hermes · 69 tokens

axiom-concurrency

Use when writing ANY async code, actors, threads, or seeing ANY concurrency error. Covers Swift 6 concurrency, @MainActor, Sendable, data races, async/await patterns.

CharlesWiltgen/Axiom · 43 tokens