devops-patterns

A set of guidelines for running and deploying software, including containers, automated build pipelines, cloud hosting, and monitoring.

In plain words
What is it for?
Use it when configuring Docker, GitHub Actions, Kubernetes, cloud deployments, hosting platforms, or system monitoring.
Why use it?
It helps turn application code into repeatable deployment and infrastructure setups.

Skill for Claude CodeCodex

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 skills/shahtuyakov/claude-setup/devops-patterns
Any agent
npx skills add shahtuyakov/claude-setup --skill devops-patterns
Clone the repo
git clone --depth 1 https://github.com/shahtuyakov/claude-setup

Made for: Claude Code, Codex.

Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,202 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.00057 $0.01202
Opus 5 $0.00028 $0.00601
Sonnet 5 $0.00011 $0.00240
Haiku 4.5 $0.00006 $0.00120

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

Security

Grade A, and why

devops-patterns 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 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

HEALTHCHECK CMD wget -q --spider http://localhost:3000/health || exit 1
skills/devops-patterns/SKILL.md · 178 lines

How it starts

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

DevOps Patterns

Modern DevOps patterns for infrastructure and deployment automation.

Platform Selection

Frontend Hosting

Platform Best For Pricing
Vercel Next.js, React Free tier, $20/user pro
Netlify Static, Jamstack Free tier, $19/user pro
Cloudflare Pages Edge-first Generous free tier

Backend Hosting

Platform Best For Pricing
Railway Rapid deployment $5 hobby, $20 pro + usage
Fly.io Global edge Pay-as-you-go (~$3/small VM)
Render Managed services Free tier, $7+ for services
AWS ECS Enterprise scale Usage-based

When to Use What

Scenario Recommendation
Startup/MVP Railway or Render
Next.js app Vercel
Global low-latency Fly.io
Enterprise/complex AWS or GCP
Cost-sensitive Fly.io or self-hosted

Reference Files

Topic Load Use When
Docker references/docker-patterns.md Containerization
CI/CD references/ci-cd.md GitHub Actions, pipelines
Cloud deployment references/cloud-deployment.md Vercel, Railway, AWS
Kubernetes references/kubernetes.md K8s manifests, Helm
Monitoring references/monitoring.md Prometheus, Grafana, logging
IaC references/infrastructure-as-code.md Terraform, Pulumi

Quick Start Patterns

Dockerfile (Node.js)

FROM node:20-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build

FROM node:20-alpine AS runner
WORKDIR /app
RUN addgroup -g 1001 -S nodejs && adduser -S nodejs -u 1001
COPY --from=builder --chown=nodejs:nodejs /app/dist ./dist
COPY --from=builder --chown=nodejs:nodejs /app/node_modules ./node_modules
USER nodejs
EXPOSE 3000
HEALTHCHECK CMD wget -q --spider http://localhost:3000/health || exit 1
CMD ["node", "dist/main.js"]

GitHub Actions (CI)

name: CI

on:
  push:
    branches: [main]
  pull_request:
    branches: [main]

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: '20'
          cache: 'npm'
      - run: npm ci
      - run: npm run lint
      - run: npm run test
      - run: npm run build

Read the full file on GitHub · 178 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 178 lines · 57 tokens per session scan A 0c6d645b162f

Subscribe to this mod's changes

devops-patterns is a skill published in the GitHub repository shahtuyakov/claude-setup (13 stars, last pushed 8mo ago), licensed MIT. It adds 57 tokens to every session and 1,202 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-30.