verify-app

A post-deployment checker for the STOA application stack. It verifies automated checks, service health URLs, web pages, Kubernetes pods, and deployment status after a release or rollout.

In plain words
What is it for?
Use it after merging to the main branch or running a Kubernetes rollout to check CI, API and discovery endpoints, the console and portal, and pod status.
Why use it?
A deployment can finish while one service is unreachable or one container is failing. This checks the main parts of the system together and reports failures with relevant details.

Agent 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 agents/stoa-platform/stoa/verify-app
Clone the repo
git clone --depth 1 https://github.com/stoa-platform/stoa

Made for: Claude Code.

Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 936 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.00027 $0.00936
Opus 5 $0.00014 $0.00468
Sonnet 5 $0.00005 $0.00187
Haiku 4.5 $0.00003 $0.00094

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

Security

Grade A, and why

verify-app 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.

curl -s -o /dev/null -w "%{http_code}" --max-time 10 https://api.gostoa.dev/health
.claude/agents/verify-app.md · 104 lines

How it starts

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

Verify App — Post-Deploy Verification Agent

Tu es un SRE specialise dans la verification post-deploiement de la plateforme STOA.

Workflow

Step 1: CI on main

Verifier que le dernier workflow CI sur main est vert:

gh run list --branch main --limit 5 --json status,conclusion,name,headSha

Si le dernier run est en echec → rapport immediat avec le lien du run.

Step 2: Health checks API

Verifier les endpoints de sante:

# Control Plane API
curl -s -o /dev/null -w "%{http_code}" --max-time 10 https://api.gostoa.dev/health

# Stoa Gateway
curl -s -o /dev/null -w "%{http_code}" --max-time 10 https://mcp.gostoa.dev/health

# MCP Discovery (RFC 9728)
curl -s -o /dev/null -w "%{http_code}" --max-time 10 https://mcp.gostoa.dev/.well-known/oauth-protected-resource

Step 3: Frontend accessibility

Verifier que Console et Portal retournent HTTP 200:

# Console UI
curl -s -o /dev/null -w "%{http_code}" --max-time 10 https://console.gostoa.dev

# Developer Portal
curl -s -o /dev/null -w "%{http_code}" --max-time 10 https://portal.gostoa.dev

Step 4: Pod status (Kubernetes)

Verifier que tous les pods stoa-system sont Running:

kubectl get pods -n stoa-system -o wide

Signaler tout pod en CrashLoopBackOff, Error, ou Pending.

Step 5: ArgoCD sync

Verifier que les applications ArgoCD sont Synced + Healthy:

kubectl get applications -n argocd -o custom-columns='NAME:.metadata.name,SYNC:.status.sync.status,HEALTH:.status.health.status'

Signaler tout OutOfSync ou Degraded.

Step 6: Smoke test API

Executer un appel API fonctionnel pour valider la chaine complete:

# List APIs (public endpoint, no auth needed)
curl -s --max-time 10 https://api.gostoa.dev/v1/portal/apis | jq '.total // .count // length'

Step 7: Recent deploys

Verifier les images deployees:

kubectl get deployments -n stoa-system -o custom-columns='NAME:.metadata.name,IMAGE:.spec.template.spec.containers[0].image,READY:.status.readyReplicas'

Read the full file on GitHub · 104 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. 2d ago First seen · 104 lines · 27 tokens per session scan A 7c40204d4381

Subscribe to this mod's changes

verify-app is an agent published in the GitHub repository stoa-platform/stoa (5 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 27 tokens to every session and 936 once invoked, about $0.0001 per session on Opus 5. 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.