devops-infrastructure

devops-infrastructure is a skill for Claude Code, Codex from randomm/pi-ensemble. It costs 46 tokens per session (941 once invoked), scanned A, original, Apache-2.0.

A guide for setting up software delivery and infrastructure, including CI/CD, Docker, Kubernetes, infrastructure as code, monitoring, and alerting. CI/CD automatically builds, tests, and deploys code; Docker packages applications into containers.

In plain words
What is it for?
Configuring GitHub Actions pipelines, containerizing applications, deploying with Kubernetes, writing Terraform or CloudFormation, and setting up logs, metrics, traces, and alerts.
Why use it?
It separates deployment and infrastructure work from application-code fixes and encourages repeatable, observable, security-checked operations.

Skill for Claude CodeCodex

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

Good fit Configuring GitHub Actions pipelines, containerizing applications, deploying with Kubernetes, writing Terraform or CloudFormation, and setting up logs, metrics, traces, and alerts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/randomm/pi-ensemble/devops-infrastructure
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 randomm/pi-ensemble --skill devops-infrastructure
Clone the repo
git clone --depth 1 https://github.com/randomm/pi-ensemble

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 devops-infrastructure

README.md
[![agentmods](https://agentmods.dev/badge/skills/randomm/pi-ensemble/devops-infrastructure/github.svg)](https://agentmods.dev/skills/randomm/pi-ensemble/devops-infrastructure)
Your own site
<a href="https://agentmods.dev/skills/randomm/pi-ensemble/devops-infrastructure"><img src="https://agentmods.dev/badge/skills/randomm/pi-ensemble/devops-infrastructure/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 devops-infrastructure

Your own site · 80×15
<a href="https://agentmods.dev/skills/randomm/pi-ensemble/devops-infrastructure"><img src="https://agentmods.dev/badge/skills/randomm/pi-ensemble/devops-infrastructure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 941 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.00046 $0.00941
Opus 5.5 $0.00018 $0.00376
Sonnet 5.5 $0.00009 $0.00188
Haiku 4.5 $0.00005 $0.00094

Measured 1mo ago against content hash 870f74529dd5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

devops-infrastructure 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 1mo 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.

skill/devops-infrastructure/SKILL.md · 159 lines

How it starts

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

DevOps Infrastructure Specialist

You are an expert DevOps engineer specializing in CI/CD pipelines, containerization, infrastructure as code, monitoring, and deployment strategies.

Core Principles

  • Infrastructure Only: Configure pipelines, don't fix application code
  • Automation First: Everything as code, repeatable
  • Security: Scan, but delegate fixing to specialists
  • Observability: Logs, metrics, traces from day one
  • Zero Downtime: Blue-green, canary, rolling deployments

Your Domain vs Not Your Domain

You Handle:

  • CI/CD pipeline configuration
  • Docker containerization
  • Kubernetes deployments
  • Infrastructure as Code (Terraform, CloudFormation)
  • Monitoring and alerting setup
  • Build optimization and caching

Delegate to Others:

  • Application code fixes → language specialists
  • Linting errors → language specialists
  • Test failures → language specialists
  • Database queries → @postgres-specialist

CI/CD Pipeline (GitHub Actions)

name: CI/CD
on:
  push:
    branches: [main]
  pull_request:

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 test
      - run: npm run lint

  build:
    needs: test
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Build Docker image
        run: docker build -t myapp:${{ github.sha }} .

Docker Best Practices

# Multi-stage build
FROM node:20-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci --only=production
COPY . .
RUN npm run build

FROM node:20-alpine
WORKDIR /app
COPY --from=builder /app/dist ./dist
COPY --from=builder /app/node_modules ./node_modules
USER node
CMD ["node", "dist/index.js"]

Kubernetes Deployment

apiVersion: apps/v1
kind: Deployment
metadata:
  name: myapp
spec:
  replicas: 3
  strategy:
    type: RollingUpdate
    rollingUpdate:
      maxSurge: 1
      maxUnavailable: 0
  template:
    spec:
      containers:
        - name: myapp
          image: myapp:latest
          resources:
            requests:
              memory: "256Mi"
              cpu: "100m"
            limits:
              memory: "512Mi"
              cpu: "500m"
          livenessProbe:
            httpGet:
              path: /health
              port: 8080

Read the full file on GitHub · 159 lines

Files

What ships with it

1 file 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. 1mo ago First seen · 159 lines · 46 tokens per session scan A 870f74529dd5

Subscribe to this mod's changes

devops-infrastructure is a skill published in the GitHub repository randomm/pi-ensemble (5 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 46 tokens to every session and 941 once invoked, about $0.0002 per session on Opus 5.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-08-31.

Related

Other skills, from other repositories

deployment-patterns

Deployment workflows, CI/CD pipeline patterns, Docker containerization, health checks, rollback strategies, and production readiness checklists for web applications. Use when setting up deployment infrastructure or planning releases.

affaan-m/ECC · 41 tokens

performing-container-security-scanning-with-trivy

Scan container images, filesystems, and Kubernetes manifests for vulnerabilities, misconfigurations, exposed secrets, and license compliance issues using Aqua Security Trivy with SBOM generation and CI/CD integration.

xalgorix/xalgorix · 48 tokens

devops-deployment

Use when setting up CI/CD pipelines, containerizing applications, deploying to Kubernetes, or writing infrastructure as code. DevOps & Deployment covers GitHub Actions, Docker, Helm, and Terraform patterns.

yonatangross/orchestkit · 44 tokens

devops-automator

Expert DevOps engineer for CI/CD, IaC, Kubernetes, and deployment automation. Activate on: CI/CD, GitHub Actions, Terraform, Docker, Kubernetes, Helm, ArgoCD, GitOps, deployment pipeline, infrastructure as code, container orchestration. NOT for: application code (use language skills), database schema (use…

curiositech/some_claude_skills · 87 tokens

CI/CD Pipeline Advanced

Expert-level CI/CD pipeline skill for test automation. Covers GitHub Actions, Jenkins, GitLab CI, Azure DevOps, parallel execution, matrix strategies, caching, artifact management, and deployment gates.

PramodDutta/qaskills · 45 tokens

test-environments

Design environment strategy for testing across dev, CI, preview, staging, and production — Docker Compose test infrastructure, multi-stage Dockerfiles, seed-data lifecycle, per-PR preview environments, production parity, and external-dependency stubbing at the HTTP boundary. Use when: "set up test environment,"…

petrkindlmann/qa-skills · 157 tokens