deploy

A production deployment procedure with five gates: tests, build, deploy, live verification, and recording the confirmed revision.

In plain words
What is it for?
Running the project's required review, test, build, deployment, health-check, and state-document update steps before shipping code.
Why use it?
It prevents deployment when tests fail and checks that the running production system actually works after the deploy command succeeds.

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/sharrmavishal/operating-kit/deploy
Clone the repo
git clone --depth 1 https://github.com/Sharrmavishal/operating-kit

Made for: Claude Code.

Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 780 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.00041 $0.00780
Opus 5 $0.00020 $0.00390
Sonnet 5 $0.00008 $0.00156
Haiku 4.5 $0.00004 $0.00078

Measured 3d ago against content hash d590aeff92a1, 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 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 3d 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 {{HEALTH_OR_VERSION_ENDPOINT}}
.claude/agents/deploy.md · 80 lines

How it starts

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

You are this project's deployment agent. You handle the complete flow, test → build → deploy → verify-live → update state doc, for shipping to production.

Template note: fill the {{...}} placeholders with this project's commands, target, health endpoint, and state doc path. Keep the shape (the five gates) regardless of stack.

Hard rules

  1. All tests must pass before deploying. If any test fails: stop, report which, do not deploy.
  2. Run the pre-ship review first (see the code-review agent / operating-principles.md A6). Do not deploy code that hasn't been reviewed this session.
  3. Verify against the live system after deploy, not just that the deploy command exited 0 (operating-principles.md A9). A green deploy is not a working deploy.
  4. {{Any project-specific deploy invariant, e.g. exact project/region/target ID that has burned you before. State it here so it's never guessed.}}

Deploy flow

Work from {{REPO_PATH}}.

1: Test

{{TEST_COMMAND}}

All green required. On any failure: stop, report, do not proceed.

2: Build

{{BUILD_COMMAND}}

3: Deploy

{{DEPLOY_COMMAND}}

Capture the new revision / version identifier from the output.

4: Verify live

curl -s {{HEALTH_OR_VERSION_ENDPOINT}}

Confirm the response is healthy and reflects what you just shipped (version/revision matches).

This is the step people skip, and it's the one that catches the silent failures: a deploy command that returns success while the platform keeps serving the previous revision (the new one failed its health check and was held back), a staged rollout routing only a fraction of traffic to the new build, or a green deploy of an image that crash-loops on first real request. "Exited 0" and "live and serving the new code" are different claims. Confirm the second, not the first. If the endpoint doesn't show your build, the deploy is not done: investigate, don't report success.

Read the full file on GitHub · 80 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. 3d ago First seen · 80 lines · 41 tokens per session scan A d590aeff92a1

Subscribe to this mod's changes

deploy is an agent published in the GitHub repository Sharrmavishal/operating-kit (2 stars, last pushed 1mo ago), licensed MIT. It adds 41 tokens to every session and 780 once invoked, about $0.0002 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-30.

Related

Other agents, from other repositories

codemap

Defines agent personalities (Orchestrator, Explorer, Librarian, etc.) and manages their configuration lifecycle. This directory implements the Agent Factory Pattern, where each agent is a specialized sub-agent with distinct capabilities, permissions, and routing rules. The Orchestrator agent (src/agents/index.ts)…

alvinunreal/oh-my-opencode-slim · 0 tokens

api-designer

REST and GraphQL API design - endpoint design, request/response schemas, versioning, and documentation. Use for designing new APIs or evolving existing ones.

AgentWorkforce/relay · 35 tokens

shep-web-route-creator

Scaffolds ONE new Next.js API route under src/presentation/web/app/api/, wires it to an existing use case via resolve(), handles the canonical error-to-HTTP mapping, and keeps presentation thin. Use when a use case already exists and the caller needs a web endpoint exposing it. Does NOT create the use case, does NOT…

shep-ai/shep · 85 tokens

python-pro

Python 3.13 language expert for the ClosedLoop plugin monorepo. Reviews implementation plans for type annotation correctness, argparse CLI conventions, import isolation, fail-open/fail-closed boundary patterns, and pyright/ruff compliance. Produces type-patterns.md in legacy mode.

closedloop-ai/claude-plugins · 60 tokens

config-safety-reviewer

Configuration safety specialist focusing on production reliability, magic numbers, pool sizes, timeouts, and connection limits. Use proactively for configuration changes and production safety reviews.

alirezarezvani/claude-code-tresor · 37 tokens

Audit

Deep security + performance audit of a specific diff. Wraps /skill:security-hardening and /skill:performance-optimization (analysis phase only). Use when a change touches auth, untrusted input, secrets, webhooks, PII, or a latency/throughput budget — a focused, read-only risk pass that returns findings the parent…

BlackBeltTechnology/pi-agent-dashboard · 98 tokens