deploy-check

A post-merge deployment checklist. It checks whether continuous integration (automated build and test checks), public services, Kubernetes containers, Argo CD deployments, and container images are healthy after a change reaches the main branch.

In plain words
What is it for?
Run it after merging a pull request to check the API, gateway, console, portal, Kubernetes pods, Argo CD applications, and deployed image tags, then get a Go or Fix verdict.
Why use it?
A successful merge does not guarantee that the live application deployed correctly. This catches failed builds, unavailable services, crashed containers, unsynchronized deployments, or outdated images before they are treated as ready.

Command for Claude Code

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.

agentmods
npx agentmods add commands/stoa-platform/stoa/deploy-check
Clone the repo
git clone --depth 1 https://github.com/stoa-platform/stoa

Made for: Claude Code.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 397 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00000 $0.00397
Opus 5 $0.00000 $0.00198
Sonnet 5 $0.00000 $0.00079
Haiku 4.5 $0.00000 $0.00040

Measured 2d ago against content hash 1f0915d7d3a3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

deploy-check scanned grade A with 1 finding 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 2d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

2. **API health**: `curl -s -o /dev/null -w "%{http_code}" --max-time 10 https://api.gostoa.dev/health` — must be 200
.claude/commands/deploy-check.md · 20 lines

What it actually says

Post-merge CD verification. Run after merging a PR to main.

Check each step and report Go/Fix:

  1. CI on main: gh run list --branch main --limit 5 --json status,conclusion,name,headSha — latest must be success
  2. API health: curl -s -o /dev/null -w "%{http_code}" --max-time 10 https://api.gostoa.dev/health — must be 200
  3. Gateway health: curl -s -o /dev/null -w "%{http_code}" --max-time 10 https://mcp.gostoa.dev/health — must be 200
  4. Console: curl -s -o /dev/null -w "%{http_code}" --max-time 10 https://console.gostoa.dev — must be 200
  5. Portal: curl -s -o /dev/null -w "%{http_code}" --max-time 10 https://portal.gostoa.dev — must be 200
  6. Pods: kubectl get pods -n stoa-system -o wide — all Running, no CrashLoopBackOff
  7. ArgoCD: kubectl get applications -n argocd -o custom-columns='NAME:.metadata.name,SYNC:.status.sync.status,HEALTH:.status.health.status' — all Synced+Healthy
  8. Images: kubectl get deployments -n stoa-system -o custom-columns='NAME:.metadata.name,IMAGE:.spec.template.spec.containers[0].image' — verify latest tags

Output a table:

# Check Status Detail

Verdict: Go (all pass) or Fix (any fail + corrective actions).

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. 2d ago First seen · 20 lines · 0 tokens per session scan A 1f0915d7d3a3

Subscribe to this mod's changes

deploy-check is a command published in the GitHub repository stoa-platform/stoa (5 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 397 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.