deploy

A command that checks whether a software project is ready, deploys it, and confirms that the live version is available.

In plain words
What is it for?
Use it to deploy to production or a preview environment, check deployment status, and roll back to an earlier deployment.
Why use it?
It brings deployment checks and status information into one workflow, reducing the chance of sending an unverified project to production.

Command

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/eddiebelaval/squire/deploy
Clone the repo
git clone --depth 1 https://github.com/eddiebelaval/squire
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 845 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.00845
Opus 5 $0.00000 $0.00423
Sonnet 5 $0.00000 $0.00169
Haiku 4.5 $0.00000 $0.00085

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

Security

Grade A, and why

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

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.

commands/deploy.md · 121 lines

How it starts

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

/deploy - Production Deployment

Detect project, verify readiness, trigger deploy, and confirm live.

Pre-computed Context

PROJECT_NAME=$(basename $(pwd))
HAS_VERCEL=$(test -f .vercel/project.json && echo "yes" || echo "no")
VERCEL_PROJECT=$(cat .vercel/project.json 2>/dev/null | jq -r '.projectId // "unknown"')
CURRENT_BRANCH=$(git branch --show-current)
OPEN_PRS=$(gh pr list --state open --json number,title,headRefName 2>/dev/null)
LAST_DEPLOY=$(vercel ls --limit 1 2>/dev/null | tail -1)

Project: $PROJECT_NAME Vercel Configured: $HAS_VERCEL Current Branch: $CURRENT_BRANCH Open PRs: $OPEN_PRS

Usage

/deploy                    # Deploy current project to production
/deploy --status           # Check current deployment status
/deploy --rollback         # Revert to previous deployment
/deploy --preview          # Deploy preview (non-production)

User Intent

$ARGUMENTS

Deploy Workflow

Step 1: Pre-flight Checks

  1. Verify on main branch (or confirm intent to deploy from feature branch)
  2. Check for unmerged PRs that should go out first
  3. Run quick verification:
npm run build && npx tsc --noEmit
  1. Check git status — warn if uncommitted changes exist

Step 2: Trigger Deployment

Auto-deploy from main (default):

git push origin main
# Vercel auto-deploys from main

Manual production deploy:

vercel --prod

Step 3: Monitor Deploy

Use /deploy-watch for monitoring. Two options:

Option A (interactive): /loop 30s /deploy-watch — polls every 30s, you see updates in real time Option B (background): Set up a CronCreate job with /deploy-watch every 2 min — monitors while you work on other things

If neither is requested, fall back to inline polling (every 10s, timeout at 5 min):

  1. Report deployment URL
  2. Check HTTP status of production URL

Step 4: Smoke Test

  1. Hit the root URL — verify 200 response
  2. If API routes exist, hit /api/health or equivalent
  3. Use Playwright MCP to take a screenshot of the live site
  4. Report pass/fail

Read the full file on GitHub · 121 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 · 121 lines · 0 tokens per session scan A c2a681f4e78f

Subscribe to this mod's changes

deploy is a command published in the GitHub repository eddiebelaval/squire (21 stars, last pushed 17d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 845 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.

Related

Other commands, from other repositories

deck

Turn a markdown planning doc into a spec-grade 기획서 HTML — a buildless, self-contained document by default, or an on-screen slide presentation when you ask for one. Deterministic md→deck transform + a quality/gap lint; the raw markdown travels with it. Use whenever the user wants a planning document turned into…

wookiya1364/scv-claude-code · 106 tokens

regression

Run accumulated regression across scv/archive//TESTS.md (and optionally promote/) with supersede/obsolete skip graph. On failure, triage each slug via AskUserQuestion (regression / obsolete / flaky). Use whenever the user asks whether past features still pass, or before archiving anything — 'run the tests', 'is…

wookiya1364/scv-claude-code · 93 tokens

routine

Execute one maintenance routine defined in scv/routines/ .md (task + guardrails + exit-criteria contract), or list defined routines. SCV never schedules — pair with host features like /loop or cron yourself. Use whenever the user asks to run a recurring maintenance task, or asks what routines exist — not only when…

wookiya1364/scv-claude-code · 75 tokens

handoff

Declare that another repo needs corresponding development: write a handoff (+ decision + conversation) into the workspace root scv repo. Multi-repo (nested) only. Use whenever work in this repo implies a change another repo must make — not only when they type /scv:handoff. Never leave that dependency in prose; this…

wookiya1364/scv-claude-code · 78 tokens

status

Show raw changes since last index + list of active promote plans. Use whenever the user asks what is in flight, what changed, or where things stand — not only when they type /scv:status. Never summarize project state from memory; this command reads it.

wookiya1364/scv-claude-code · 54 tokens

update

Check installed SCV plugin version vs latest release, and guide the user through /plugin marketplace update + /reload-plugins. Read-only — does not modify project files. (v0.11.2+) Use whenever the user asks whether SCV is current or how to update it — not only when they type /scv:update.

wookiya1364/scv-claude-code · 68 tokens