stoa: Command for Claude Code

.claude/commands/deploy-check.md

deploy-check is a command for Claude Code from stoa-platform/stoa. It costs 0 tokens per session (397 once invoked), scanned A, original, Apache-2.0.

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

Written for Claude Code: installed under .claude/.

This is stoa-platform/stoa's own configuration. It tells Claude Code how to work on stoa itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything stoa configures →

Reuse

Borrowing it

Nothing to install: this file belongs to stoa-platform/stoa. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/stoa-platform/stoa/main/.claude/commands/deploy-check.md
Clone the repo
git clone --depth 1 https://github.com/stoa-platform/stoa

Made for: Claude Code.

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 deploy-check

README.md
[![agentmods](https://agentmods.dev/badge/commands/stoa-platform/stoa/deploy-check/github.svg)](https://agentmods.dev/commands/stoa-platform/stoa/deploy-check)
Your own site
<a href="https://agentmods.dev/commands/stoa-platform/stoa/deploy-check"><img src="https://agentmods.dev/badge/commands/stoa-platform/stoa/deploy-check/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 deploy-check

Your own site · 80×15
<a href="https://agentmods.dev/commands/stoa-platform/stoa/deploy-check"><img src="https://agentmods.dev/badge/commands/stoa-platform/stoa/deploy-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. 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.00000 $0.00397
Opus 5.5 $0.00000 $0.00159
Sonnet 5.5 $0.00000 $0.00079
Haiku 4.5 $0.00000 $0.00040

Measured 2mo ago against content hash 1f0915d7d3a3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 (9 stars, last pushed yesterday), 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.

Related

deploy-check compared with commands from other repositories

deploy-check next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
deploy-checkstoa-platform/stoaCommand9yesterdayApache-2.0A0Claude Code
sparc-devopsruvnet/RuViewCommand103kyesterdayMITA26Claude Code
fix-cijuan294/cc-rpiCommand53d agoMITA0Claude Code
/opsx-proposehamc/blastproofCommand116d agoMITA21Claude Code, Cursor
OPSX: Archivehamc/blastproofCommand116d agoMITA13Claude Code
sparc-devopsshyftlabs/continuumCommand841mo agoApache-2.0A26Claude Code
sdlc-deploysaitarrun/Sdlc-ai-workflowCommand61mo agononeA30Claude Code