devops-infra

devops-infra is a skill for Claude Code, Codex from msdakot/ai-foundary. It costs 41 tokens per session (1,407 once invoked), scanned A, original, MIT.

An infrastructure agent for packaging applications, running them in containers, deploying them to Kubernetes, and setting up automated build and release pipelines. Kubernetes is a system for managing containers across machines.

In plain words
What is it for?
Writing Dockerfiles and Docker Compose setups, Kubernetes manifests and Helm charts, and CI/CD workflows for GitHub Actions or GitLab CI.
Why use it?
It helps avoid fragile deployment files and missed production safeguards. It covers the configuration needed to build, run, test, and deliver software consistently.

Skill for Claude CodeCodex

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

Good fit Writing Dockerfiles and Docker Compose setups, Kubernetes manifests and Helm charts, and CI/CD workflows for GitHub Actions or GitLab CI.

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

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-infra

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/msdakot/ai-foundary/devops-infra"><img src="https://agentmods.dev/badge/skills/msdakot/ai-foundary/devops-infra.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,407 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.00041 $0.01407
Opus 5.5 $0.00016 $0.00563
Sonnet 5.5 $0.00008 $0.00281
Haiku 4.5 $0.00004 $0.00141

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

Security

Grade A, and why

devops-infra 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 2mo 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 --interval=30s --timeout=3s CMD wget -qO- http://localhost:3000/health || exit 1
agents/devops-agent/devops-infra/SKILL.md · 215 lines

How it starts

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

DevOps Infrastructure Agent

You write production-grade infrastructure configuration for containerization, orchestration, and automated pipelines. You treat infra config as code — version controlled, reviewed, and tested.

Docker

Multi-stage Dockerfile (production pattern)

# Build stage
FROM node:22-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci --only=production

COPY . .
RUN npm run build

# Production stage
FROM node:22-alpine AS production
WORKDIR /app
ENV NODE_ENV=production

RUN addgroup -S appgroup && adduser -S appuser -G appgroup

COPY --from=builder /app/dist ./dist
COPY --from=builder /app/node_modules ./node_modules

USER appuser
EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=3s CMD wget -qO- http://localhost:3000/health || exit 1
CMD ["node", "dist/index.js"]

Key rules:

  • Separate build and runtime stages — build tools never ship to production
  • Run as non-root user
  • Include HEALTHCHECK
  • Pin base image versions (node:22-alpine, not node:alpine)
  • Use .dockerignore to exclude node_modules, .git, test files

docker-compose (local development)

services:
  app:
    build: .
    ports: ["3000:3000"]
    environment:
      - DATABASE_URL=${DATABASE_URL}
    depends_on:
      db:
        condition: service_healthy
  db:
    image: postgres:16-alpine
    environment:
      POSTGRES_DB: ${POSTGRES_DB}
      POSTGRES_USER: ${POSTGRES_USER}
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER}"]
      interval: 5s
      retries: 5
    volumes:
      - postgres_data:/var/lib/postgresql/data
volumes:
  postgres_data:

Kubernetes

Deployment manifest

apiVersion: apps/v1
kind: Deployment
metadata:
  name: app-name
  namespace: production
spec:
  replicas: 3
  selector:
    matchLabels:
      app: app-name
  template:
    metadata:
      labels:
        app: app-name
    spec:
      containers:
        - name: app-name
          image: registry/app-name:1.2.3   # pin exact version
          ports:
            - containerPort: 3000
          resources:
            requests:
              cpu: "100m"
              memory: "128Mi"
            limits:
              cpu: "500m"
              memory: "512Mi"
          livenessProbe:
            httpGet:
              path: /health
              port: 3000
            initialDelaySeconds: 10
            periodSeconds: 15
          readinessProbe:
            httpGet:
              path: /ready
              port: 3000
            initialDelaySeconds: 5
            periodSeconds: 10
          env:
            - name: DATABASE_URL
              valueFrom:
                secretKeyRef:
                  name: app-secrets
                  key: database-url

Read the full file on GitHub · 215 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. 2mo ago First seen · 215 lines · 41 tokens per session scan A 1bb75be7af11

Subscribe to this mod's changes

devops-infra is a skill published in the GitHub repository msdakot/ai-foundary (5 stars, last pushed 6mo ago), licensed MIT. It adds 41 tokens to every session and 1,407 once invoked, about $0.0002 per session on Opus 5.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.

Related

devops-infra compared with skills from other repositories

devops-infra next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
devops-inframsdakot/ai-foundarySkill56mo agoMITA41Claude Code, Codex
deployment-patternsaffaan-m/ECCSkill298k4d agoMITA41Claude Code, Kiro
performing-container-security-scanning-with-trivyxalgorix/xalgorixSkill1.3kyesterdayApache-2.0A48Claude Code, Codex
devops-deploymentyonatangross/orchestkitSkill299yesterdayMITA34Claude Code
devops-automatorcuriositech/some_claude_skillsSkill263yesterdayMITA87Claude Code
CI/CD Pipeline AdvancedPramodDutta/qaskillsSkill2453d agoMITA45Claude Code, Codex
checkovTerminalSkills/skillsSkill192yesterdayApache-2.0A84Claude Code, Codex