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-firedacgit 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-firedac)<a href="https://agentmods.dev/skills/danieleteti/delphi-ai-skills/delphi-firedac"><img src="https://agentmods.dev/badge/skills/danieleteti/delphi-ai-skills/delphi-firedac/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-firedac"><img src="https://agentmods.dev/badge/skills/danieleteti/delphi-ai-skills/delphi-firedac.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.00156 | $0.02234 |
| Opus 5.5 | $0.00062 | $0.00894 |
| Sonnet 5.5 | $0.00031 | $0.00447 |
| Haiku 4.5 | $0.00016 | $0.00223 |
Grade A, and why
delphi-firedac 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 — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.
FireDAC in plain Delphi
For Delphi code that uses FireDAC directly: VCL, FMX, console, service, library. Not for
DelphiMVCFramework TMVCActiveRecord code: that has its own skills, start at dmvcframework.
Language and RTL questions (ownership, try/finally, threads): delphi.
Everything here was run on Delphi 13 (dcc32 37.0) and, unless a line says otherwise, gave the same
result on Delphi 12 (36.0). Every run used the SQLite driver (in-memory or file). Lines marked
"SQLite only" may differ on other servers; "not verified" means exactly that.
Critical rules
- A missing FireDAC unit is a run-time error, not a compile error. The program builds, then the first
OpenraisesObject factory for class {...} is missing ... include unit [FireDAC.X]. The message names the unit. A code-only program needsFireDAC.Stan.Def,FireDAC.Stan.Async,FireDAC.DApt, a driver unit,FireDAC.Comp.Client. Table below, details inreference/uses-and-drivers.md. Close,Freeor a pooledClosewith an open transaction COMMITS.TxOptions.DisconnectActiondefaults toxdCommit;Isolationdefaults toxiUnspecified. An exception does not end the transaction. Usetry ... Commit except Rollback; raise end. For the opposite default setDisconnectAction := xdRollback.- Pooling needs a named connection definition, with
Pooled=Trueinside the definition and nothing else on the component.Params.Pooled := Trueon a private connection raises-507. When the pool is full the nextOpenraises-708at once; it does not wait. Defaults:POOL_MaximumItems=50,POOL_CleanupTimeout=30000,POOL_ExpireTimeout=90000. AddFireDAC.Stan.Pooltouses. RecordCountright afterOpenis 50, not the row count. DefaultRecordCountMode = cmVisible,Mode = fmOnDemand,RowsetSize = 50. Count withselect count(*); never size a loop with it.ApplyUpdatesreturns the number of FAILED rows and does not raise. It is not atomic. With the defaultAutoCommitUpdates = Falsea secondApplyUpdatessends the inserts again (duplicate rows). CallCommitUpdatesafter success.Connection.ApplyUpdates([...])is deprecated.- Array DML is
Q.Execute(ATimes, AOffset).Q.ExecSQL(5, 0)does not compile;Executewith no arguments inserts ONE row and says nothing. - Ownership.
Param.AsStream := ShandsSto the parameter (freeing it yourself is a double free).LoadFromStreamcopies, you free.C.ExecSQL(sql, RS)returns an openTFDQueryyou must free. - Macros eat text.
&and!inside SQL start a macro even in a quoted literal:select 'R&B'returnsR.!nameis pasted raw: injection. Values go in parameters; macros only for identifiers you control. Turn it off withResourceOptions.MacroCreate := False; MacroExpand := Falsebefore assigning the SQL. Openis for SELECT,ExecSQLfor everything else. The wrong one raises (-308/-310), andOpenon an INSERT runs the INSERT first.- NULL needs a type.
ParamByName('x').Clearon a fresh parameter raises-335; setDataTypefirst. - One
TFDConnectionper thread. Share the connection definition (pooled), not the connection object. - The
OnExecuteErrorevent isprocedure of object. No anonymous method. - Non-console, non-VCL programs (services) must call
FDManager.SilentMode := True, or include a wait unit, or the firstOpenfails with theTFDGUIxWaitCursorfactory error.
What ships with it
8 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 · 130 lines · 156 tokens per session scan A 51ebdfe741e8
delphi-firedac is a skill published in the GitHub repository danieleteti/delphi-ai-skills (27 stars, last pushed 15d ago), licensed Apache-2.0. It adds 156 tokens to every session and 2,234 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.
delphi-firedac compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| delphi-firedacdanieleteti/delphi-ai-skills | Skill | 27 | 15d ago | Apache-2.0 | A | 156 | Claude Code, Codex |
| PostgreSQL Databasedelphicleancode/delphi-spec-kit | Skill | 59 | 8mo ago | MIT | A | 34 | Claude Code |
| Firebird Databasedelphicleancode/delphi-spec-kit | Skill | 59 | 8mo ago | MIT | A | 24 | Claude Code |
| Dext Framework Patternsdelphicleancode/delphi-spec-kit | Skill | 59 | 8mo ago | MIT | A | 32 | Claude Code |
| MySQL Databasedelphicleancode/delphi-spec-kit | Skill | 59 | 8mo ago | MIT | C | 31 | Claude Code |
| horse-database-poolingHashLoad/horse | Skill | 1.4k | today | MIT | A | 30 | Claude Code, Codex |
| durable-objectsfcakyon/claude-codex-settings | Skill | 1.2k | today | Apache-2.0 | A | 22 | Claude Code |