deployment-strategies

deployment-strategies is a skill for Claude Code from latestaiagents/agent-skills. It costs 70 tokens per session (2,388 once invoked), scanned A, original, MIT.

Guidance for releasing software safely through staged deployment methods, such as rolling, blue-green, and canary releases.

In plain words
What is it for?
It is for planning or implementing rolling updates, blue-green deployments, canary releases, feature flags, and other gradual-release workflows, including Kubernetes deployments.
Why use it?
It helps reduce the chance that a new version will take down a service and explains how to roll back or limit exposure when problems appear.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the devops-sre plugin — 8 skills, 6 commands shipped together

Good fit It is for planning or implementing rolling updates, blue-green deployments, canary releases, feature flags, and other gradual-release workflows, including Kubernetes deployments.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/latestaiagents/agent-skills/deployment-strategies
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 latestaiagents/agent-skills --skill deployment-strategies
Clone the repo
git clone --depth 1 https://github.com/latestaiagents/agent-skills

Made for: Claude Code.

Or install devops-sre, the plugin that ships this one along with the rest of its 8 skills, 6 commands.

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/latestaiagents/agent-skills/deployment-strategies/github.svg)](https://agentmods.dev/skills/latestaiagents/agent-skills/deployment-strategies)
Your own site
<a href="https://agentmods.dev/skills/latestaiagents/agent-skills/deployment-strategies"><img src="https://agentmods.dev/badge/skills/latestaiagents/agent-skills/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/latestaiagents/agent-skills/deployment-strategies"><img src="https://agentmods.dev/badge/skills/latestaiagents/agent-skills/deployment-strategies.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,388 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.00070 $0.02388
Opus 5 $0.00035 $0.01194
Sonnet 5 $0.00014 $0.00478
Haiku 4.5 $0.00007 $0.00239

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

Security

Grade A, and why

deployment-strategies 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 11d 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 -X PATCH https://api.launchdarkly.com/flags/new-checkout \
plugins/devops-sre/skills/automation/deployment-strategies/SKILL.md · 386 lines

How it starts

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

Deployment Strategies

Deploy with confidence using progressive delivery and safe rollback.

Strategy Comparison

Strategy Risk Complexity Rollback Speed Best For
Rolling Medium Low Medium Standard updates
Blue-Green Low Medium Instant Critical services
Canary Low High Fast High-traffic services
Feature Flags Lowest Medium Instant A/B testing, gradual rollout

Rolling Deployment

How It Works

Initial:  [v1] [v1] [v1] [v1] [v1]

Step 1:   [v2] [v1] [v1] [v1] [v1]  # Replace 1 pod

Step 2:   [v2] [v2] [v1] [v1] [v1]  # Replace 2nd pod

Step 3:   [v2] [v2] [v2] [v1] [v1]  # Continue...

Final:    [v2] [v2] [v2] [v2] [v2]  # All replaced

Kubernetes Configuration

apiVersion: apps/v1
kind: Deployment
metadata:
  name: api-service
spec:
  replicas: 5
  strategy:
    type: RollingUpdate
    rollingUpdate:
      maxSurge: 1        # Max pods above desired during update
      maxUnavailable: 0  # Never reduce below desired count
  template:
    spec:
      containers:
      - name: api
        image: api-service:v2
        readinessProbe:
          httpGet:
            path: /health
            port: 8080
          initialDelaySeconds: 5
          periodSeconds: 5
        livenessProbe:
          httpGet:
            path: /health
            port: 8080
          initialDelaySeconds: 15
          periodSeconds: 10

Best Practices

✓ Always set readinessProbe
✓ Use maxUnavailable: 0 for zero downtime
✓ Monitor error rates during rollout
✓ Have rollback command ready

Blue-Green Deployment

How It Works

Before:
┌─────────────────────────────────────────┐
│  Load Balancer                          │
│       │                                  │
│       ▼                                  │
│  [Blue Environment - v1] ← Active       │
│  [Green Environment - idle]             │
└─────────────────────────────────────────┘

Deploy to Green:
┌─────────────────────────────────────────┐
│  Load Balancer                          │
│       │                                  │
│       ▼                                  │
│  [Blue Environment - v1] ← Active       │
│  [Green Environment - v2] Testing       │
└─────────────────────────────────────────┘

Switch Traffic:
┌─────────────────────────────────────────┐
│  Load Balancer                          │
│       │                                  │
│       ▼                                  │
│  [Blue Environment - v1] Standby        │
│  [Green Environment - v2] ← Active      │
└─────────────────────────────────────────┘

Read the full file on GitHub · 386 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. 11d ago First seen · 386 lines · 70 tokens per session scan A 9d6530396165

Subscribe to this mod's changes

deployment-strategies is a skill published in the GitHub repository latestaiagents/agent-skills (5 stars, last pushed 4mo ago), licensed MIT. It adds 70 tokens to every session and 2,388 once invoked, about $0.0003 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-31.