deploy-check

deploy-check is a command for Claude Code from kid-sid/claude-spellbook. It costs 0 tokens per session (754 once invoked), scanned A, original, MIT.

A pre-deployment checklist for releasing software to staging or production. It checks code review, automated and manual testing, database migrations, rollback plans, and other release conditions.

In plain words
What is it for?
Use it before deploying a feature, bugfix, hotfix, or infrastructure change to review CI status, debug leftovers, feature flags, migrations, performance checks, and rollback readiness.
Why use it?
It reduces the chance of releasing unreviewed code, missing tests, unsafe database changes, or changes without a recovery plan.

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/kid-sid/claude-spellbook/deploy-check
Clone the repo
git clone --depth 1 https://github.com/kid-sid/claude-spellbook

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/kid-sid/claude-spellbook/deploy-check.svg)](https://agentmods.dev/commands/kid-sid/claude-spellbook/deploy-check)
Your own site
<a href="https://agentmods.dev/commands/kid-sid/claude-spellbook/deploy-check"><img src="https://agentmods.dev/badge/commands/kid-sid/claude-spellbook/deploy-check.svg" alt="Measured on agentmods" 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 754 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00754
Opus 5 $0.00000 $0.00377
Sonnet 5 $0.00000 $0.00151
Haiku 4.5 $0.00000 $0.00075

Measured 4d ago against content hash 5332286bb20e, 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 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 4d 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.

.claude/commands/deploy-check.md · 95 lines

How it starts

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

Run a pre-deployment verification checklist before releasing to production.

Instructions

  1. Determine the deployment context:

    • What environment? (staging / production)
    • What type of change? (feature / bugfix / hotfix / infrastructure)
    • What services are affected?
  2. Run through the pre-deployment checklist:

Code Readiness

  • All CI checks passing on the branch/tag being deployed
  • Code has been reviewed and approved (check PR status with gh pr view)
  • No TODO/FIXME/HACK comments in changed files related to this deploy
  • No debug code left in (console.log, print statements, debugger)
  • Feature flags in place for risky changes

Testing

  • Unit tests passing (make test or equivalent)
  • Integration tests passing
  • Manual QA completed for user-facing changes
  • Load/performance test results reviewed (for high-traffic changes)
  • Rollback tested or rollback plan documented

Database

  • Migrations are backward-compatible (can old code run with new schema?)
  • Migration has been tested against a production-size dataset
  • No destructive migrations (DROP TABLE, DROP COLUMN) without data backup
  • Indexes added for new queries on large tables
  • Seed data / backfill scripts ready if needed

Configuration & Secrets

  • Environment variables set in target environment
  • Secrets rotated if compromised or newly required
  • Feature flags configured for target environment
  • No hardcoded environment-specific values in code

Infrastructure

  • Sufficient capacity (CPU, memory, disk) for the deployment
  • Health check endpoints working (/health/live, /health/ready)
  • Monitoring and alerting configured for new endpoints/services
  • Log aggregation capturing new log events

Communication

  • Team notified of deployment window
  • Stakeholders informed of new features / changes
  • Runbook updated if operational procedures changed
  • On-call aware of the deployment

Read the full file on GitHub · 95 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. 4d ago First seen · 95 lines · 0 tokens per session scan A 5332286bb20e

Subscribe to this mod's changes

deploy-check is a command published in the GitHub repository kid-sid/claude-spellbook (187 stars, last pushed 29d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 754 tokens. 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.