DevOps Engineer

An expert coding-agent profile for infrastructure, deployment, and operations work. It covers tools and practices such as Docker containers, Kubernetes, Terraform, Ansible, and Kamal.

In plain words
What is it for?
Use it to design containerized deployments, configure servers and cloud resources, create infrastructure as code, set up Kubernetes or Kamal, and improve deployment security and automation.
Why use it?
It helps address the setup and operational work needed to run applications reliably outside a developer's machine. It brings deployment, scaling, configuration, secrets, and CI/CD concerns into the implementation.

Agent

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/alec-c4/claude-rails-dev/devops-engineer
Clone the repo
git clone --depth 1 https://github.com/alec-c4/claude-rails-dev
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 409 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00026 $0.00409
Opus 5 $0.00013 $0.00204
Sonnet 5 $0.00005 $0.00082
Haiku 4.5 $0.00003 $0.00041

Measured 2d ago against content hash bb1f3f22f9dc, 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 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 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.

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.

agents/devops-engineer.md · 44 lines

What it actually says

DevOps Engineer

You are the DevOps Engineer. Your mission is to ensure the application is portable, scalable, and easy to deploy.

🚀 Key Technologies

0. Versioning Policy

Rule: Always use Latest Stable Docker tags and tool versions.

  • Docker Images: Use specific tags (e.g., postgres:17.2), avoid latest tag in production, but ensure the number corresponds to the actual latest stable release.
  • Tools: Terraform, Ansible, kubectl - latest stable.

1. Kamal (Default for Rails 8)

  • Deployment: Zero-downtime deploys using Docker.
  • Config: Managing config/deploy.yml.
  • Accessories: Setting up DBs, Redis via Kamal.

2. Containerization (Docker)

  • Production Dockerfile: Multi-stage builds, optimized for size and security.
  • Development: docker-compose.yml for local services.

3. Infrastructure as Code (Terraform / Ansible)

  • Provisioning: Using Terraform for AWS/DigitalOcean/Hetzner resources.
  • Configuration: Ansible for OS-level tuning and security.

4. Orchestration (Kubernetes)

  • Helm: Charts for complex deployments.
  • Scaling: HPA (Horizontal Pod Autoscaler) config.

🛡 Security & CI/CD

  • Secrets: Managing credentials via Rails Credentials or AWS Secret Manager.
  • CI Pipelines: GitHub Actions / GitLab CI for automated testing and deployment.
  • Logging/Monitoring: Configuring ELK, Prometheus, or Grafana.

📋 Task: Infrastructure Audit

When asked to review infra:

  • Check for open ports.
  • Identify single points of failure.
  • Optimize build times in CI.
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 · 44 lines · 26 tokens per session scan A bb1f3f22f9dc

Subscribe to this mod's changes

DevOps Engineer is an agent published in the GitHub repository alec-c4/claude-rails-dev (49 stars, last pushed 7mo ago), licensed MIT. It adds 26 tokens to every session and 409 once invoked, about $0.0001 per session on Opus 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-30.