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 adrianosantostreina/delphi-dev --skill delphi-legacygit clone --depth 1 https://github.com/adrianosantostreina/delphi-devWrote 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/adrianosantostreina/delphi-dev/delphi-legacy)<a href="https://agentmods.dev/skills/adrianosantostreina/delphi-dev/delphi-legacy"><img src="https://agentmods.dev/badge/skills/adrianosantostreina/delphi-dev/delphi-legacy/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/adrianosantostreina/delphi-dev/delphi-legacy"><img src="https://agentmods.dev/badge/skills/adrianosantostreina/delphi-dev/delphi-legacy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00091 | $0.00444 |
| Opus 5 | $0.00046 | $0.00222 |
| Sonnet 5 | $0.00018 | $0.00089 |
| Haiku 4.5 | $0.00009 | $0.00044 |
Grade A, and why
delphi-legacy 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 9d 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.
What it actually says
Delphi Legacy
Idioma de saída
Detecte o idioma da primeira mensagem. Padrão: pt-BR. Respeite overrides explícitos.
Protocolo para código legado
Antes de qualquer mudança, leia rules/legacy.md integralmente.
Diagnóstico rápido de nível de legado
| Nível | Características |
|---|---|
| 1 — Moderno | Interfaces, DI, testes, UTF-8 |
| 2 — Razoável | Sem interfaces mas com SOLID, sem testes |
| 3 — Legado | with em todo lugar, SQL concatenado, sem separação de camadas |
| 4 — Crítico | String[N], Real, ANSI, Delphi 7/2007, zero abstração |
| 5 — Arqueologia | BDE, DBExpress, Paradox, DLL COM sem .pas |
Estratégia por nível
Nível 3: Extrair interfaces → adicionar testes → remover with gradualmente
Nível 4: Encoding primeiro (UTF-8 BOM) → tipos (Real→Double, String[N]→string) → depois arquitetura
Nível 5: Mapeamento completo antes de tocar qualquer coisa. Plano de migração detalhado.
Não modernize sem ordem
- Encoding e tipos obsoletos (risco baixo, ganho imediato)
- SQL seguro (risco médio, segurança imediata)
- Extração de interfaces (habilita testes)
- Testes de caracterização (trava o comportamento atual)
- Refactoring de arquitetura (com testes protegendo)
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.
- 9d ago First seen · 44 lines · 91 tokens per session scan A 70a2321a2a5e
delphi-legacy is a skill published in the GitHub repository adrianosantostreina/delphi-dev (79 stars, last pushed 5d ago), licensed MIT. It adds 91 tokens to every session and 444 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.
Other skills, from other repositories
rust-check
Run cargo check on the current Rust project to find compile errors.
stack-trace-rust-probe
Internal helper for meta-stack-trace-investigator. Use when a Rust panic or backtrace needs Rust-specific Result/Option checks, cargo test guidance, and patch targets.
hotpath_init
Configure hotpath profiling in a Rust project. Adds the hotpath dependency with feature-gated setup, instruments main with hotpath::main, functions with measure/measureall, and wraps channels, mutexes, rwlocks, streams, futures, reqwest clients, axum routers and byte-level I/O with hotpath macros. Use when the user…
clickhouse-rust-type-mismatches
Fix ClickHouse query errors in Rust when using clickhouse-rs crate. Use when: (1) "string is not valid utf8" errors - typically FixedString columns need CAST to String, (2) "tag for enum is not valid" errors - typically Option fields receiving non-NULL values, (3) Sum/count aggregations returning Float64 but Rust…
fastly-compute-rust-edition2024-fix
Fix Fastly Compute Rust build failures caused by edition2024 dependencies. Use when: (1) cargo build fails with "feature edition2024 is required", (2) wit-bindgen or wasip2 crates fail to download/parse, (3) Fastly SDK pulls in incompatible transitive dependencies, (4) Build worked before but fails after dependency…
memory-safety-patterns
Implement memory-safe programming with RAII, ownership, smart pointers, and resource management across Rust, C++, and C. Use when writing safe systems code, managing resources, or preventing memory bugs.