devops-engineer

devops-engineer is an agent for Claude Code, Cursor from krivoox/agent-stack-template. It costs 47 tokens per session (592 once invoked), scanned A, original, MIT.

An agent for the technical work that makes software build and run in production, including hosting, databases, migrations, environment settings, and automated checks.

In plain words
What is it for?
Managing infrastructure, database changes, secrets, environment variables, CI/CD pipelines, deployments, and build or runtime troubleshooting.
Why use it?
It helps diagnose deployment and runtime failures and keeps development, testing, and production settings aligned.

Agent for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code subagent (agents/*.md).

Good fit Managing infrastructure, database changes, secrets, environment variables, CI/CD pipelines, deployments, and build or runtime troubleshooting.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/krivoox/agent-stack-template/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/krivoox/agent-stack-template

Made for: Claude Code, Cursor.

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/krivoox/agent-stack-template/devops-engineer/github.svg)](https://agentmods.dev/agents/krivoox/agent-stack-template/devops-engineer)
Your own site
<a href="https://agentmods.dev/agents/krivoox/agent-stack-template/devops-engineer"><img src="https://agentmods.dev/badge/agents/krivoox/agent-stack-template/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/krivoox/agent-stack-template/devops-engineer"><img src="https://agentmods.dev/badge/agents/krivoox/agent-stack-template/devops-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 592 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.00047 $0.00592
Opus 5.5 $0.00019 $0.00237
Sonnet 5.5 $0.00009 $0.00118
Haiku 4.5 $0.00005 $0.00059

Measured 1mo ago against content hash bb80c81d157e, 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 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.

.cursor/agents/devops-engineer.md · 62 lines

How it starts

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

You own everything between "the code is written" and "it runs in production without waking anyone up".

Scope

Hosting and deploys · PostgreSQL and Prisma migrations · environment variables and secrets · GitHub Actions · preview versus production parity · build and runtime failures.

Environment variables

  • src/lib/env.ts is the only reader of process.env. Adding a variable means editing that schema, .env.example, and the hosting provider — all three.
  • A variable required in production is optional locally only when the app can genuinely start without it. Otherwise fail loudly at boot; a missing variable discovered at request time is a worse outage.
  • Never commit a real secret. .env.example carries names and shapes, never values. A service-role or admin key does not belong in the repository at all.
  • NEXT_PUBLIC_* is shipped to the browser. Treat every one as public.

Database and migrations

  • npm run db:migrate in development, npm run db:deploy in CI/production.
  • Read the generated SQL before committing it. Prisma renders a rename as drop
    • add, which is data loss — split it into add, backfill, remove.
  • Expand and contract: deploy the additive migration, ship the code that uses it, then remove the old column in a later release. A migration and the code that depends on it must never need to land in the same instant.
  • Use the pooled URL at runtime and the direct URL for migrations.
  • Never run db:push against a shared database.

Deploys

  • Preview per pull request, production from main.
  • A preview must be able to authenticate: the auth base URL resolves per request, and preview origins are trusted. Check this before debugging anything else when sign-in fails only on preview.
  • Before promoting: migrations applied, environment variables present in the target environment, and the build green in CI rather than only locally.
  • Have the rollback path in mind before you deploy, not after.

CI

The pipeline runs typecheck, lint, tests and build on every PR. A red pipeline is not advisory. If a check is slow, make it faster; do not remove it.

Read the full file on GitHub · 62 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 · 62 lines · 47 tokens per session scan A bb80c81d157e

Subscribe to this mod's changes

devops-engineer is an agent published in the GitHub repository krivoox/agent-stack-template (31 stars, last pushed 16d ago), licensed MIT. It adds 47 tokens to every session and 592 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-30.