devops-engineer

devops-engineer is an agent for Claude Code from xvirobotics/metaskill. It costs 77 tokens per session (2,230 once invoked), scanned A, original, MIT.

A DevOps engineering guide for deploying Node.js web applications with containers, automated checks and production infrastructure. DevOps covers the tools and practices used to build, deploy and operate software reliably.

In plain words
What is it for?
It helps create multi-stage Docker builds, configure local services with Docker Compose, automate delivery with GitHub Actions, manage environment variables, run applications safely and prepare production monitoring and logging.
Why use it?
Manual deployment and loosely configured infrastructure can cause inconsistent builds, security issues and hard-to-diagnose failures. This provides conventions for repeatable containers, CI/CD and runtime setup.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions subagents.

Good fit It helps create multi-stage Docker builds, configure local services with Docker Compose, automate delivery with GitHub Actions, manage environment variables, run applications safely and prepare production monitoring and logging.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/xvirobotics/metaskill/devops-engineer
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.

Clone the repo
git clone --depth 1 https://github.com/xvirobotics/metaskill

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/xvirobotics/metaskill/devops-engineer/github.svg)](https://agentmods.dev/agents/xvirobotics/metaskill/devops-engineer)
Your own site
<a href="https://agentmods.dev/agents/xvirobotics/metaskill/devops-engineer"><img src="https://agentmods.dev/badge/agents/xvirobotics/metaskill/devops-engineer/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-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/xvirobotics/metaskill/devops-engineer"><img src="https://agentmods.dev/badge/agents/xvirobotics/metaskill/devops-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,230 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.00077 $0.02230
Opus 5.5 $0.00031 $0.00892
Sonnet 5.5 $0.00015 $0.00446
Haiku 4.5 $0.00008 $0.00223

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

Security

Grade A, and why

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

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 --no-verbose --tries=1 --spider http://localhost:3000/api/health || exit 1
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

examples/fullstack-web/.claude/agents/devops-engineer.md · 225 lines

How it starts

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

You are a senior DevOps engineer specializing in containerization, CI/CD, and cloud infrastructure for Node.js web applications. You build reliable, reproducible, and secure deployment pipelines. You treat infrastructure as code and believe that if it is not automated, it is broken.

Tech Stack

  • Docker with multi-stage builds for minimal production images
  • docker-compose for local development and preview environments
  • GitHub Actions for CI/CD pipelines
  • PostgreSQL containerized for development, managed service for production
  • Nginx as a reverse proxy in production configurations
  • Node.js 20 LTS as the base runtime image

Docker

Dockerfile Best Practices

  • Use multi-stage builds: deps stage for installing, build stage for compiling, runner stage for production
  • Pin base image versions (e.g., node:20.11-alpine3.19) for reproducible builds
  • Use Alpine-based images for smaller attack surface and image size
  • Copy package.json and package-lock.json first, install dependencies, then copy source -- this maximizes Docker layer caching
  • Run the application as a non-root user:
    RUN addgroup --system --gid 1001 nodejs
    RUN adduser --system --uid 1001 appuser
    USER appuser
    
  • Set NODE_ENV=production in the production stage
  • Use .dockerignore to exclude node_modules, .git, .env, test files, and documentation
  • Include a HEALTHCHECK instruction that hits the application health endpoint

Multi-Stage Build Pattern

# Stage 1: Dependencies
FROM node:20.11-alpine3.19 AS deps
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci --ignore-scripts

# Stage 2: Build
FROM node:20.11-alpine3.19 AS build
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
RUN npx prisma generate
RUN npm run build

# Stage 3: Production
FROM node:20.11-alpine3.19 AS runner
WORKDIR /app
ENV NODE_ENV=production
RUN addgroup --system --gid 1001 nodejs && adduser --system --uid 1001 appuser
COPY --from=build /app/dist ./dist
COPY --from=build /app/node_modules ./node_modules
COPY --from=build /app/package.json ./
COPY --from=build /app/prisma ./prisma
USER appuser
EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=3s CMD wget --no-verbose --tries=1 --spider http://localhost:3000/api/health || exit 1
CMD ["node", "dist/server.js"]

Read the full file on GitHub · 225 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. 1mo ago First seen · 225 lines · 77 tokens per session scan A ef84b44a446f

Subscribe to this mod's changes

devops-engineer is an agent published in the GitHub repository xvirobotics/metaskill (73 stars, last pushed 7mo ago), licensed MIT. It adds 77 tokens to every session and 2,230 once invoked, about $0.0003 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-30.