delphi-build

delphi-build is a skill for Claude Code, Codex from danieleteti/delphi-ai-skills. It costs 152 tokens per session (3,447 once invoked), scanned A, original, Apache-2.0.

A command-line build guide for Delphi projects using RAD Studio tools such as MSBuild and the Delphi compilers. It covers project files, build configurations, target platforms, compiler messages, warnings, and process exit codes.

In plain words
What is it for?
Use it to compile and verify Delphi projects from scripts or continuous-integration systems for Windows targets.
Why use it?
It prevents builds from failing because the RAD Studio environment was not loaded or because the wrong project property was used. It also helps continuous-integration jobs detect failed builds.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to compile and verify Delphi projects from scripts or continuous-integration systems for Windows targets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/danieleteti/delphi-ai-skills/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 danieleteti/delphi-ai-skills --skill delphi-build
Clone the repo
git clone --depth 1 https://github.com/danieleteti/delphi-ai-skills

Made for: Claude Code, Codex.

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/danieleteti/delphi-ai-skills/delphi-build/github.svg)](https://agentmods.dev/skills/danieleteti/delphi-ai-skills/delphi-build)
Your own site
<a href="https://agentmods.dev/skills/danieleteti/delphi-ai-skills/delphi-build"><img src="https://agentmods.dev/badge/skills/danieleteti/delphi-ai-skills/delphi-build/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for delphi-build

Your own site · 80×15
<a href="https://agentmods.dev/skills/danieleteti/delphi-ai-skills/delphi-build"><img src="https://agentmods.dev/badge/skills/danieleteti/delphi-ai-skills/delphi-build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 152 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,447 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.00152 $0.03447
Opus 5.5 $0.00061 $0.01379
Sonnet 5.5 $0.00030 $0.00689
Haiku 4.5 $0.00015 $0.00345

Measured 21d ago against content hash d511f448f57b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 21d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/build.bat), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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 · 181 lines

How it starts

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

Building Delphi from the command line

For an agent that must compile to verify its own work. Nothing here is recalled. Every command, switch, error code and default below was run on this machine against the Delphi 13 Florence tools (Studio\37.0, compiler 37.0); where it was also run against 12 Athens (Studio\23.0, compiler 36.0) it says so. A claim marked not run was read from a shipped file, not executed.

The test projects were small console programs with a hand-written .dproj modelled on Embarcadero's own template (ObjRepos\en\DelphiWin32\SDIApp\SDIAPP.dproj) and on a real IDE-saved one from the DelphiMVCFramework samples. No IDE was running.


Critical rules

  1. Never call msbuild bare. Run scripts/build.bat, or call ...\bin\rsvars.bat first. Without it msbuild is not on PATH (cmd answers 9009). With PATH fixed but BDS undefined, the .dproj's guarded Import of CodeGear.Delphi.Targets is silently skipped and you get error MSB4057: the target "Build" does not exist in the project - it reads like a broken project; it is a missing environment.
  2. The property is Config, not Configuration. /p:Configuration=Release is silently ignored and Debug is built (the compiler line still says -DDEBUG). Write /p:Config=Release.
  3. Pass /p:Platform= yourself. The default (Win32 or Win64) is written in the .dproj, not in the targets: a real IDE-saved console sample defaults to Win64. A leaked PLATFORM=x64 environment variable moves the output to .\x64\Debug; rsvars.bat blanks PLATFORM, which is one more reason to always run it.
  4. The exit code and the first error are the verdict. msbuild exits 0 or 1; so does dcc. Warnings and hints do not fail a build: exit 0, exe produced. "It built" never means "no warnings".
  5. There is no warnings-as-errors switch. Promote one warning at a time, by its name: -W^NO_RETVAL (dcc), /p:DCC_NO_RETVAL=error (msbuild), {$WARN NO_RETVAL ERROR} (source). The W-number forms (-W+W1035, -W^W1035) are rejected with F1030 Invalid compiler directive.
  6. dcc never creates a directory. A missing -E/-NU folder is F2039 Could not create output file. msbuild creates its output folders itself.
  7. Win64 is dcc64.exe. dcc32 only targets Win32; there is no dcc32 for Win64.
  8. A /p: value replaces the .dproj's own value completely. /p:DCC_Define=FOO on a project that has DEBUG;$(DCC_Define) yields -DFOO only: DEBUG is gone and {$IFDEF DEBUG} code vanishes.
  9. The Studio folder number is not the compiler version. 16.0 -> compiler 29.0, 23.0 -> 36.0, 37.0 -> 37.0. Ask dcc32 --version.
  10. A green build proves the names and types resolve. Nothing else. See What a compile does not prove.

Read the full file on GitHub · 181 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 21d ago First seen · 181 lines · 152 tokens per session scan A d511f448f57b

Subscribe to this mod's changes

delphi-build is a skill published in the GitHub repository danieleteti/delphi-ai-skills (26 stars, last pushed 13d ago), licensed Apache-2.0. It adds 152 tokens to every session and 3,447 once invoked, about $0.0006 per session on Opus 5.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-11-08.

Related

delphi-build compared with skills from other repositories

delphi-build next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
delphi-builddanieleteti/delphi-ai-skillsSkill2613d agoApache-2.0A152Claude Code, Codex
fix-ciYeachan-Heo/oh-my-claudecodeSkill41ktodayMITA55Claude Code
maintain-verification-skillYeachan-Heo/oh-my-claudecodeSkill41ktodayMITA42Claude Code
hns-workflow-ci-loopmodu-ai/moai-adkSkill1.3ktodayApache-2.0A76Claude Code
babysit-prfcakyon/claude-codex-settingsSkill1.2ktodayApache-2.0A56Claude Code
blueprint-repo-cireceptron/mulmoterminalSkill282todayMITA41Claude Code, Codex
land-and-deployFlorianBruniaux/claude-code-ultimate-guideSkill7.5kyesterdayCC-BY-SA-4.0A43Claude Code