deployment-validator

deployment-validator is an agent for Claude Code from oliver-kriska/claude-elixir-phoenix. It costs 23 tokens per session (2,359 once invoked), scanned A, original, MIT.

A checker for whether Elixir/Phoenix deployment settings are ready for production, including releases, Docker, Kubernetes, and Fly.io.

In plain words
What is it for?
Use it before deploying to review runtime configuration, secret handling, health checks, database connections, and graceful shutdown settings.
Why use it?
It catches deployment risks such as compile-time secrets, missing health checks, unsafe database SSL settings, or shutdowns that are too short.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; names the NotebookEdit tool.

Part of the phx plugin — 50 skills, 26 agents, 8 hooks shipped together

Good fit Use it before deploying to review runtime configuration, secret handling, health checks, database connections, and graceful shutdown settings.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/oliver-kriska/claude-elixir-phoenix/deployment-validator
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.

Clone the repo
git clone --depth 1 https://github.com/oliver-kriska/claude-elixir-phoenix

Made for: Claude Code.

Or install phx, the plugin that ships this one along with the rest of its 50 skills, 26 agents, 8 hooks.

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 deployment-validator

README.md
[![agentmods](https://agentmods.dev/badge/agents/oliver-kriska/claude-elixir-phoenix/deployment-validator/github.svg)](https://agentmods.dev/agents/oliver-kriska/claude-elixir-phoenix/deployment-validator)
Your own site
<a href="https://agentmods.dev/agents/oliver-kriska/claude-elixir-phoenix/deployment-validator"><img src="https://agentmods.dev/badge/agents/oliver-kriska/claude-elixir-phoenix/deployment-validator/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 deployment-validator

Your own site · 80×15
<a href="https://agentmods.dev/agents/oliver-kriska/claude-elixir-phoenix/deployment-validator"><img src="https://agentmods.dev/badge/agents/oliver-kriska/claude-elixir-phoenix/deployment-validator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,359 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.00023 $0.02359
Opus 5.5 $0.00009 $0.00944
Sonnet 5.5 $0.00005 $0.00472
Haiku 4.5 $0.00002 $0.00236

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

Security

Grade A, and why

deployment-validator 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.

plugins/elixir-phoenix/agents/deployment-validator.md · 335 lines

How it starts

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

Deployment Validator

You validate Elixir/Phoenix deployment configurations for production readiness.

CRITICAL: Save Findings File First

Your orchestrator reads findings from the exact file path given in the prompt (e.g., .claude/plans/{slug}/reviews/deploy.md). The file IS the real output — your chat response body should be ≤300 words.

Turn budget rules:

  1. First ~10 turns: Read/Grep/Bash analysis
  2. By turn ~12: call Write with whatever findings you have — do NOT wait until the end. A partial file is better than no file when turns run out.
  3. Remaining turns: continue analysis and Write again to overwrite with the complete version.
  4. If the prompt does NOT include an output path, default to .claude/reviews/deploy.md.

You have Write for your own report ONLY. Edit and NotebookEdit are disallowed — you cannot modify source code, which upholds Review Iron Law #1.

Iron Laws — Flag Violations as Blockers

  1. CONFIG AT RUNTIME, NOT COMPILE TIME — All secrets in runtime.exs from env vars
  2. GRACEFUL SHUTDOWN >= 60 SECONDS — Let connections drain
  3. HEALTH CHECKS REQUIRED — Startup, liveness, readiness endpoints
  4. SSL VERIFICATION FOR DATABASE — ssl_opts: [verify: :verify_peer]
  5. DON'T SET CPU LIMITS — BEAM scheduler issues with cgroups CPU limits
  6. MIGRATIONS MUST BE BACKWARD COMPATIBLE — Old code runs with new schema during deploy

Deployment Checklist

Release Configuration

  • All secrets loaded from env vars in runtime.exs
  • server: true in endpoint config for production
  • config_env() == :prod guard in runtime.exs
  • Required env vars validated with raise if missing
  • Pool size configurable via env var

Health Checks

  • /health/startup endpoint exists
  • /health/liveness endpoint exists
  • /health/readiness endpoint (checks DB connection)
  • Health plug added BEFORE router in endpoint

Docker Configuration

  • Multi-stage build (builder + runner)
  • Running as non-root user
  • Proper locale configuration (en_US.UTF-8)
  • HEALTHCHECK directive present
  • Minimal runtime dependencies

Read the full file on GitHub · 335 lines

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. 24d ago Changed · -1 lines 0ba738db329e
  2. 1mo ago First seen · 336 lines · 23 tokens per session scan A c59448384215

Subscribe to this mod's changes

deployment-validator is an agent published in the GitHub repository oliver-kriska/claude-elixir-phoenix (571 stars, last pushed 4d ago), licensed MIT. It adds 23 tokens to every session and 2,359 once invoked, about $0.0001 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-08-30.

Related

Other agents, from other repositories

kubernetes-specialist

Use this agent when you need to design, deploy, configure, or troubleshoot Kubernetes clusters and workloads in production environments.

alexmmatos/essentials-claude-code · 28 tokens

plan-synthesizer

Synthesizes cross-specialist input into a plan the team can commit to, recording decisions, rejected alternatives with reasons, the evidence behind each call, and the items still open. Reads the inputs from every specialist who contributed, reconciles their recommendations, and applies an evidence standard to each …

testdouble/han · 159 tokens

k8s-engineer

Kubernetes specialist for container orchestration, cluster management, and deployment strategies. Expert in GKE, EKS, manifest creation, Helm charts, operators, and Kubernetes best practices.

andisab/swe-marketplace · 42 tokens

cloud-agent

Own the cloud lane — AWS/Azure/GCP posture + active exploitation, IaC scanning, container/K8s escape, and SSRF→metadata credential pivots. Returns cloud findings with the misconfig→impact chain, not raw scanner dumps.

TyrusRC/praetor · 53 tokens

bug-investigator

Use when a bug, regression, or unexpected behaviour needs its root cause traced to specific code before any fix is designed. Investigates only — never edits files. Returns a structured report citing file:line evidence.

kardebadas/claude-plugin · 46 tokens

pipeline-auto-intent-reader

Use only at superb:pipeline-auto stage 01, to read what the user actually asked for and return it as a strict JSON hypothesis. One of three independent readers. Reads and reports; never designs, never proposes, never chooses a stack.

kardebadas/claude-plugin · 55 tokens