devops-engineer

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

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 agents/xvirobotics/metaskill/devops-engineer
Clone the repo
git clone --depth 1 https://github.com/xvirobotics/metaskill

Made for: Claude Code.

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. 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.00077 $0.02230
Opus 5 $0.00039 $0.01115
Sonnet 5 $0.00015 $0.00446
Haiku 4.5 $0.00008 $0.00223

Measured 2d ago against content hash ef84b44a446f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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 --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. 2d 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 (67 stars, last pushed 6mo ago), licensed MIT. It adds 77 tokens to every session and 2,230 once invoked, about $0.0004 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.

Related

Other agents, from other repositories

automotive-security-architect

Expert automotive cybersecurity architect specializing in designing secure vehicle architectures, executing TARA (Threat Analysis and Risk Assessment), achieving ISO 21434 compliance, defining security concepts, and performing comprehensive risk assessments.

birol91/quorum-agents · 44 tokens

autonomous-systems-architect

L3-L5 autonomy architect specializing in full self-driving system design, behavior planning, fail-operational architectures, safety systems, and simulation-based validation. Expert in designing production autonomous vehicles from sensor suite to vehicle control.

birol91/quorum-agents · 50 tokens

diagnostic-tester

Diagnostic Testing Specialist - Expert in automated diagnostic test development, CANoe scripting, EOL testing, and fault injection validation.

birol91/quorum-agents · 29 tokens

edge-ai-engineer

Role: Expert in deploying ML models to automotive NPUs.

birol91/quorum-agents · 18 tokens

adas-perception-engineer

Expert in sensor fusion, perception algorithms, object tracking, camera/radar/lidar processing, calibration, and performance optimization for real-time ADAS systems. Specializes in L0-L3 perception stacks with ASIL-D safety compliance.

birol91/quorum-agents · 52 tokens

automotive-china-compliance-engineer

Expert in China's intelligent connected vehicle (ICV) regulatory framework, mandatory national standards (GB), recommended standards (GB/T), and type approval processes. Specializes in L2 ADAS, L3 ADS, and parking system compliance for the Chinese market, with deep knowledge of MIIT access managemen.

birol91/quorum-agents · 70 tokens