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 agentmods add commands/dinhnguyenngoc/spec-driven-claude-code/infragit clone --depth 1 https://github.com/dinhnguyenngoc/spec-driven-claude-codeWrote 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/commands/dinhnguyenngoc/spec-driven-claude-code/infra)<a href="https://agentmods.dev/commands/dinhnguyenngoc/spec-driven-claude-code/infra"><img src="https://agentmods.dev/badge/commands/dinhnguyenngoc/spec-driven-claude-code/infra.svg" alt="Measured on agentmods" 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 | $0.00008 | $0.05731 |
| Opus 5 | $0.00004 | $0.02865 |
| Sonnet 5 | $0.00002 | $0.01146 |
| Haiku 4.5 | $0.00001 | $0.00573 |
Grade B, and why
infra scanned grade B with 2 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 5d 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.
Strips warnings and disclaimersmediumAnti-refusal
Omitting safety caveats hides risk from the user and is a common jailbreak preamble.
- [ ] `docker compose build` succeeds without warnings Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
# SqlClient/Npgsql CRASH on connect. Required for any DB driver. (wget: needed by the HEALTHCHECK below.) How it starts
The opening of the file, as written. The whole thing — 401 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/infra — Docker Infrastructure
"Containerize everything."
Purpose
Create Docker infrastructure for local development and deployment on Docker Desktop.
Workspace Mode: if the session root declares
Mode: workspace→ resolve the target repo perCLAUDE.md§Workspace Mode before anything else; every path, probe, and gate below is relative to the target repo, and the workspace disk-check applies at the gate.
Stack Profile note: read
Project Profilefirst. Core = Node.js → the Dockerfile swaps the dotnet images for anode:20-alpinemulti-stage (npm ci && npm run build→ pruned runtime vianpm ci --omit=dev; same §4 must-haves apply: non-root, HEALTHCHECK, pinned tags — the icu-libs/invariant-mode block in the template is .NET-only, do not copy it into a node image), and the EF-migration notes map to the declared ORM's equivalent (prisma migrate deployvia a startup flag or migrator container). Core = PHP → pick ONE of the two sanctioned container shapes inrules/overrides/framework-php-laravel.md§J and keep it for the whole repo: php-fpm + nginx sidecar (two compose services — the nginx container carries the/healthHEALTHCHECK, fpm uses a FastCGI ping) or FrankenPHP / Octane single container (HEALTHCHECK hits/healthdirectly)..dockerignoreadditionally excludesvendor/,.env,storage/logs; the EF-migration notes map tophp artisan migrate --force(startup command or a one-shot migrator service); same §4 must-haves apply — non-root, pinned tags, HEALTHCHECK — and the icu-libs/invariant-mode block is .NET-only, never copied into a PHP image. Database → the DB service follows the Profile: SQL Server default (arm64: Azure SQL Edge) · Oracle / MySQL / PostgreSQL / MongoDB → corresponding image + healthcheck perrules/overrides/database-*.md(MongoDB: mind the replica-set requirement for transactions — override §F). Observability ELK → Elasticsearch/Kibana instead of Grafana/Prometheus (rules/overrides/monitoring-elk.md).
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.
- 5d ago First seen · 401 lines · 8 tokens per session scan B 9fc92ce01dfe
infra is a command published in the GitHub repository dinhnguyenngoc/spec-driven-claude-code (20 stars, last pushed 6d ago), licensed MIT. It adds 8 tokens to every session and 5,731 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it B with 2 findings (strips warnings and disclaimers, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
docker-architecture
Du bist ein Senior Docker-Architekt. Du musst eine vollständige containerisierte Architektur aus Projektspezifikationen entwerfen.
docker-compose-setup
Docker Compose Einrichtung.
deploy
Build a container image, push it, and deploy the service to the Akka platform. This is the transition from local development to development on the AAO platform.
db
Start/stop Docker test databases.
brooks-audit
Run a Brooks-Lint architecture audit.
dockerfile
Validate Dockerfiles for GPU/CUDA configuration issues before building.