deployment-strategies

deployment-strategies is a skill for Claude Code, Codex from OKHP3/skillz. It costs 98 tokens per session (1,021 once invoked), scanned A, original, MIT.

Release planning guidance for putting software into production with controlled exposure and a tested way to undo changes. It covers rolling, blue-green, canary, and feature-flag releases.

In plain words
What is it for?
Planning production deployments, zero-downtime releases, canary tests, blue-green switches, feature flags, and rollbacks.
Why use it?
It reduces the risk and downtime of a bad release by limiting who sees a change and making rollback part of the plan.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Planning production deployments, zero-downtime releases, canary tests, blue-green switches, feature flags, and rollbacks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/okhp3/skillz/deployment-strategies
View source ↗ OKHP3/skillz
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.

Any agent
npx skills add OKHP3/skillz --skill deployment-strategies
Clone the repo
git clone --depth 1 https://github.com/OKHP3/skillz

Made for: Claude Code, Codex.

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 deployment-strategies

README.md
[![agentmods](https://agentmods.dev/badge/skills/okhp3/skillz/deployment-strategies/github.svg)](https://agentmods.dev/skills/okhp3/skillz/deployment-strategies)
Your own site
<a href="https://agentmods.dev/skills/okhp3/skillz/deployment-strategies"><img src="https://agentmods.dev/badge/skills/okhp3/skillz/deployment-strategies/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 deployment-strategies

Your own site · 80×15
<a href="https://agentmods.dev/skills/okhp3/skillz/deployment-strategies"><img src="https://agentmods.dev/badge/skills/okhp3/skillz/deployment-strategies.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,021 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00098 $0.01021
Opus 5 $0.00049 $0.00511
Sonnet 5 $0.00020 $0.00204
Haiku 4.5 $0.00010 $0.00102

Measured 6d ago against content hash af93c03d9f6b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

deployment-strategies 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 6d 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.

community/deployment-strategies/SKILL.md · 96 lines

How it starts

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

Deployment strategies

Every deployment strategy is a way of buying information before you are fully committed. They differ in what they cost and how much they tell you.

The question that decides everything: how quickly can you undo it, and what does undo not cover? A strategy without a tested rollback is not a strategy.

1. Separate deploy from release

The most useful idea here, and the one that unlocks the rest. Deploying is shipping the code; releasing is turning the behaviour on. When they are the same event, every deploy is risky and every rollback is a deploy.

Split them with a flag, and you can ship code continuously, turn a feature on for one account, and turn it off in seconds without a build.

Done when: you can change behaviour without shipping code.

2. Choose the strategy the risk warrants

Strategy Buys you Costs
Rolling Simple, no extra capacity Both versions live at once; slow rollback
Blue-green Instant switch and instant rollback Double capacity during the switch
Canary Real traffic on a small blast radius Needs traffic splitting and per-version metrics
Feature flag Per-user control, instant off Flag debt, and both code paths must work
Shadow Zero risk, real inputs No user-visible result; needs response comparison

Most changes need nothing more than rolling. Reserve the expensive strategies for changes that are hard to undo or hard to test, and note that the two-version overlap in rolling and canary is itself a constraint: both versions must tolerate each other's data.

Done when: the strategy matches the cost of being wrong.

3. Make rollback the first thing you test

Not the last. Rehearse it before the deploy that needs it.

  • Time it. "We can roll back" means nothing if it takes 40 minutes
  • Know what it does not undo: migrations already applied, messages already sent, caches already poisoned, data already written in the new shape. This list is the real risk
  • Keep the previous version warm where the strategy allows an instant switch
  • Roll back first, diagnose second. During an incident, understanding is not the priority. See incident-response

Read the full file on GitHub · 96 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. 6d ago First seen · 96 lines · 98 tokens per session scan A af93c03d9f6b

Subscribe to this mod's changes

deployment-strategies is a skill published in the GitHub repository OKHP3/skillz (3 stars, last pushed yesterday), licensed MIT. It adds 98 tokens to every session and 1,021 once invoked, about $0.0005 per session on Opus 5. 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-09-03.