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 skills add danieleteti/delphi-ai-skills --skill delphi-testinggit clone --depth 1 https://github.com/danieleteti/delphi-ai-skillsWrote 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/skills/danieleteti/delphi-ai-skills/delphi-testing)<a href="https://agentmods.dev/skills/danieleteti/delphi-ai-skills/delphi-testing"><img src="https://agentmods.dev/badge/skills/danieleteti/delphi-ai-skills/delphi-testing/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.
<a href="https://agentmods.dev/skills/danieleteti/delphi-ai-skills/delphi-testing"><img src="https://agentmods.dev/badge/skills/danieleteti/delphi-ai-skills/delphi-testing.svg" alt="Reviewed on agentmods" width="80" 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.00111 | $0.02701 |
| Opus 5.5 | $0.00044 | $0.01080 |
| Sonnet 5.5 | $0.00022 | $0.00540 |
| Haiku 4.5 | $0.00011 | $0.00270 |
Grade A, and why
delphi-testing 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 24d 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 — 205 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Delphi unit testing with DUnitX
DUnitX ships with RAD Studio (...\Studio\<n>.0\source\DUnitX, precompiled units in lib\win32\release and
lib\win64\release). No web framework is assumed. For DelphiMVCFramework integration tests (in-process
server, REST client) use the dmvcframework-testing skill instead. For leak diagnosis outside tests see
delphi-code-smells; for ownership rules see delphi reference/memory.md.
Everything below was compiled and run with dcc32 / dcc64 37.0 (13 Florence) and cross-checked with
23.0 (12 Athens). Differences are labelled. Not checked on 11 Alexandria (no 22.0 tree here). Do not recall DUnitX names: open the unit. The usual
mistake is a plausible attribute that does not exist (TestCaseSource is one).
Critical rules
- The exit code is yours.
ITestRunner.Executenever setsSystem.ExitCode. After it:if not results.AllPassed then System.ExitCode := EXIT_ERRORS;. Without it three failing tests exit 0 and CI stays green.-exit:Pauseonly waits for Enter (and blocks a CI job); it is unrelated to the code. - Zero tests is green. A filter that matches nothing (
-r:Typo) givesTests Found: 0,AllPassedTrue, exit 0. No{$STRONGLINKTYPES ON}givesENoTestsRegistered; a handler that only prints it exits 0. SetExitCodein theexceptbranch and fail whenresults.TestCount = 0. - String asserts ignore case by default.
Assert.AreEqual('ABC','abc')passes; so doesContains. PassFalseasignoreCase, useAssert.NoDiff, or setAssert.IgnoreCaseDefault := False. StartsWith/EndsWithtake the substring first:Assert.StartsWith('Hel', 'Hello').Containstakes the whole string first. A swapped call fails with a confusing message.[WillRaise(EConvertError)]matches the exact class. A descendant fails the test. AddexDescendant.- Leak detection is off by default. The default monitor reports 0 bytes. A leaking test passes. See
reference/runner-ci.mdfor the unit, the define and the search path it needs. With it on, never end a test withAssert.Pass: the test is then reported as leaking (measured). - One fixture instance serves all its tests. Fields survive from one test to the next: reset them in
[Setup]. A parameterless constructor is the fixture setup and silently disables[SetupFixture]; the destructor is the fixture teardown. - Generic
Assert.AreEqual<T>on objects compares references: two instances of your class with equal fields fail. Assert the fields. Arguments typedTStrings/TStringListcompare line by line instead. -xml:needs an absolute path. A relative one raisesEInOutError: Unable to create directory.- Inside a test class
WriteLn(msg)andLog(msg)go to the loggers (a class helper onTObject).WriteLn('a', n)does not compile there; writeSystem.Writelnfor raw console output. [MaxTime]is unreliable on Win64: on 13 it ends in an access violation instead of a timeout.Assert.AreEqual(1, lDict.Count)does not compile on Win64 (E2532;CountisNativeIntin 12 and 13). WriteInteger(lDict.Count). It compiles on Win32, so the error shows up late.
What ships with it
5 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.
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.
- 24d ago First seen · 205 lines · 111 tokens per session scan A 608fdae2a1a1
delphi-testing is a skill published in the GitHub repository danieleteti/delphi-ai-skills (27 stars, last pushed 15d ago), licensed Apache-2.0. It adds 111 tokens to every session and 2,701 once invoked, about $0.0004 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.
delphi-testing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| delphi-testingdanieleteti/delphi-ai-skills | Skill | 27 | 15d ago | Apache-2.0 | A | 111 | Claude Code, Codex |
| intuitive-testsMiaoDX/intuitive-flow | Skill | 49 | 1mo ago | MIT | A | 29 | Claude Code, Codex |
| DUnitX Testing Patternsdelphicleancode/delphi-spec-kit | Skill | 59 | 8mo ago | MIT | A | 22 | Claude Code |
| Delphi Test-Driven Development (TDD) and DUnitXdelphicleancode/delphi-spec-kit | Skill | 59 | 8mo ago | MIT | A | 49 | Claude Code |
| verifyYeachan-Heo/oh-my-claudecode | Skill | 41k | today | MIT | A | 12 | Claude Code |
| moai-ref-testing-pyramidmodu-ai/moai-adk | Skill | 1.3k | today | Apache-2.0 | A | 61 | Claude Code |
| testing-livekit-agentsfcakyon/claude-codex-settings | Skill | 1.2k | today | Apache-2.0 | A | 155 | Claude Code |