validate-staging

validate-staging is a command for Claude Code from marcusgoll/Spec-Flow. It costs 0 tokens per session (3,958 once invoked), scanned A, original, MIT.

A command that checks a staging deployment, a pre-release copy of an application, before it goes to production, the live version users access.

In plain words
What is it for?
Use it to review automated test results, check Lighthouse performance results, test rollback, create a manual checklist, and produce a staging-validation report.
Why use it?
It helps catch failed end-to-end tests, performance problems, rollback failures, and issues that require a person to test the site in a browser.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool.

Good fit Use it to review automated test results, check Lighthouse performance results, test rollback, create a manual checklist, and produce a staging-validation report.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/marcusgoll/spec-flow/validate-staging
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/marcusgoll/Spec-Flow

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 validate-staging

README.md
[![agentmods](https://agentmods.dev/badge/commands/marcusgoll/spec-flow/validate-staging/github.svg)](https://agentmods.dev/commands/marcusgoll/spec-flow/validate-staging)
Your own site
<a href="https://agentmods.dev/commands/marcusgoll/spec-flow/validate-staging"><img src="https://agentmods.dev/badge/commands/marcusgoll/spec-flow/validate-staging/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 validate-staging

Your own site · 80×15
<a href="https://agentmods.dev/commands/marcusgoll/spec-flow/validate-staging"><img src="https://agentmods.dev/badge/commands/marcusgoll/spec-flow/validate-staging.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 3,958 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.03958
Opus 5.5 $0.00000 $0.01583
Sonnet 5.5 $0.00000 $0.00792
Haiku 4.5 $0.00000 $0.00396

Measured 1mo ago against content hash 59a943d882bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

validate-staging 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 1mo 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.

- Test marketing health: `curl https://staging.{domain}.com/health`
.claude/commands/deployment/validate-staging.md · 479 lines

How it starts

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

/validate-staging — Staging Validation (Thin Wrapper)

v11.0 Architecture: This command spawns the isolated validate-phase-agent via Task(). Validation checks run in isolated context with question batching for manual verification.

Active Feature: !ls -td specs/[0-9]*-* 2>/dev/null | head -1 || echo "none"

Interaction State: !cat specs/*/interaction-state.yaml 2>/dev/null | head -10 || echo "none"

Architecture (v11.0 - Phase Isolation):

/validate-staging → Task(validate-phase-agent) → Q&A for manual checks → validation-report.md

Agent responsibilities:

  • Review E2E test results from GitHub Actions
  • Review Lighthouse CI performance results
  • Test rollback capability
  • Generate manual testing checklist from spec.md
  • Return questions for user to manually verify in browser
  • Create staging-validation-report.md

Operating constraints:

  • Manual Gate — Agent returns questions for human validation
  • Staging Environment — Validates staging URLs
  • Blocking Conditions — E2E failures or manual failures block production

Workflow position: implement → optimize → validate → ship → finalize

Legacy Context (for agent reference)

<legacy_context> Latest staging deployment: !gh run list --workflow=deploy-staging.yml --branch=main --limit=1 --json databaseId,headSha,conclusion,status,createdAt,displayTitle 2>/dev/null || echo "[]"

Vercel CLI installed: !command -v vercel >/dev/null 2>&1 && echo "✅ Yes" || echo "❌ No"

GitHub CLI authenticated: !gh auth status >/dev/null 2>&1 && echo "✅ Yes" || echo "❌ No" </legacy_context>

Read the full file on GitHub · 479 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. 1mo ago First seen · 479 lines · 0 tokens per session scan A 59a943d882bc

Subscribe to this mod's changes

validate-staging is a command published in the GitHub repository marcusgoll/Spec-Flow (96 stars, last pushed 24d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,958 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-30.