exewatch-delphi

exewatch-delphi is a skill for Claude Code, Codex from danieleteti/delphi-ai-skills. It costs 123 tokens per session (2,910 once invoked), scanned A, original, Apache-2.0.

A Delphi integration guide for ExeWatch, an application-monitoring service that collects logs, crashes, timings, counters, gauges, and breadcrumbs. It covers the ExeWatch SDK and its setup and shutdown rules.

In plain words
What is it for?
Use it when adding or debugging ExeWatch logging, crash reports, production stack traces, performance measurements, or offline event storage in a Delphi app.
Why use it?
It helps avoid losing monitoring data or raising errors when code runs before monitoring is initialized or after it is closed. It also accounts for differences between the SDK code and older documentation.

Skill for Claude CodeCodex

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

Good fit Use it when adding or debugging ExeWatch logging, crash reports, production stack traces, performance measurements, or offline event storage in a Delphi app.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/danieleteti/delphi-ai-skills/exewatch-delphi
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 exewatch-delphi
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 exewatch-delphi

README.md
[![agentmods](https://agentmods.dev/badge/skills/danieleteti/delphi-ai-skills/exewatch-delphi/github.svg)](https://agentmods.dev/skills/danieleteti/delphi-ai-skills/exewatch-delphi)
Your own site
<a href="https://agentmods.dev/skills/danieleteti/delphi-ai-skills/exewatch-delphi"><img src="https://agentmods.dev/badge/skills/danieleteti/delphi-ai-skills/exewatch-delphi/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 exewatch-delphi

Your own site · 80×15
<a href="https://agentmods.dev/skills/danieleteti/delphi-ai-skills/exewatch-delphi"><img src="https://agentmods.dev/badge/skills/danieleteti/delphi-ai-skills/exewatch-delphi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 123 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,910 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.00123 $0.02910
Opus 5.5 $0.00049 $0.01164
Sonnet 5.5 $0.00025 $0.00582
Haiku 4.5 $0.00012 $0.00291

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

Security

Grade A, and why

exewatch-delphi 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 22d 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/exewatch-delphi/SKILL.md · 173 lines

How it starts

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

ExeWatch Delphi SDK

ExeWatch (bit Time Professionals) collects logs, crashes, timings and metrics from an application. The Delphi SDK is plain source: ExeWatchSDKv1.pas plus ExeWatchSDKv1.VCL.pas / ExeWatchSDKv1.FMX.pas.

Verified against Delphi SDK 0.25.0 (EXEWATCH_SDK_VERSION in ExeWatchSDKv1.pas), ExeWatch product 1.90.1 (2026-11-05). Compiled on Delphi 13, 12 and XE8 (Win32), 13 (Win64, Linux64); run on 13 (Win32, Win64) and XE8 (Win32), against a local HTTP listener only.

Before writing code, compare the project's version (grep EXEWATCH_SDK_VERSION ExeWatchSDKv1.pas in the project or in %EXEWATCH_SDK%). If it is not 0.25.0, read the interface section of that copy and check every name below against it. The shipped INTEGRATION_GUIDE.md and the docs are partly stale: where they disagree with the code, the code wins (table in reference/api.md).

Critical rules - each one costs data or a day

  1. EW raises before InitializeExeWatch and after FinalizeExeWatch (Exception: ExeWatch not initialized). Code that can run at start-up or in a finalization section: if ExeWatchIsInitialized then.
  2. An empty customer id keeps every event in memory. Nothing reaches disk, nothing is sent; if the process ends before EW.SetCustomerId('...'), those events are gone. Pass a non-empty id (even a placeholder) unless the real one arrives within seconds.
  3. Initialize once per process, at start-up. Never per request, per form or per thread: a second InitializeExeWatch destroys the first instance (its shutdown makes one send attempt) and starts new threads.
  4. The SDK owns every TJSONObject you hand it (Log extra data, AddBreadcrumb data, StartTiming metadata, EndTiming end metadata), also when the call is filtered out. Do not free it, do not reuse it: freeing it is a double free (a leak test with and without the free confirms ownership).
  5. GUI app: add exactly one hook unit (ExeWatchSDKv1.VCL or .FMX) after ExeWatchSDKv1. Without it exceptions raised in event handlers are never reported; the SDK only logs a Warning (tag exewatch). Service, console, DLL: add neither.
  6. A stack trace is only readable with symbols. Detailed map file + stack frames, linked into the exe. Without any map a frame reads MyApp.exe!__dbk_fcall_wrapper+0x1B7FFB: a real name, the wrong one. Details in reference/stacktraces.md.
  7. Exceptions that escape a TThread are not reported (no hook sees them). Catch in Execute and call EW.ErrorWithException.
  8. Callbacks run on SDK threads: OnError, OnLogsSent, OnDeviceInfoSent, the listener's OnExeWatchLogsSent/OnExeWatchError and gauge callbacks. No VCL/FMX access; TThread.Queue instead.
  9. Breadcrumbs and timings are per thread. EndTiming on another thread finds nothing and returns -1. On pooled server threads clear breadcrumbs at the start of each request.
  10. Never log secrets or personal data (passwords, tokens, card numbers, full request bodies) in a message, tag, extra data, user, device info. Queued files are plain JSON on disk, and the device info carries the full command line, paths and local IPs. The API key is configuration: keep it out of public repos.
  11. ReportMemoryLeaksOnShutdown := True prints SDK-internal leaks (TSTExportCache, thousands of UnicodeString) once any exception was raised. Win32 and Win64. They are the SDK's symbol cache, not your code: do not "fix" them by freeing things.

Read the full file on GitHub · 173 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. 22d ago Changed · +3 lines f61170ee8a48
  2. 24d ago First seen · 170 lines · 123 tokens per session scan A f061a1e90cb2

Subscribe to this mod's changes

exewatch-delphi is a skill published in the GitHub repository danieleteti/delphi-ai-skills (27 stars, last pushed 15d ago), licensed Apache-2.0. It adds 123 tokens to every session and 2,910 once invoked, about $0.0005 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

exewatch-delphi compared with skills from other repositories

exewatch-delphi next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
exewatch-delphidanieleteti/delphi-ai-skillsSkill2715d agoApache-2.0A123Claude Code, Codex
intuitive-shapeMiaoDX/intuitive-flowSkill491mo agoMITA23Codex
intuitive-docMiaoDX/intuitive-flowSkill491mo agoMITA29Claude Code, Codex
intuitive-reduce-entropyMiaoDX/intuitive-flowSkill491mo agoMITA24Claude Code, Codex
intuitive-refactorMiaoDX/intuitive-flowSkill491mo agoMITA25Claude Code, Codex
researchMiaoDX/intuitive-flowSkill491mo agoMITA24Codex
agent-planning-loopMiaoDX/intuitive-flowSkill491mo agoMITA22Claude Code, Codex