operate-devops

operate-devops is a skill for Claude Code, Codex from Phelan164/codex-howto. It costs 69 tokens per session (469 once invoked), scanned A, original, MIT.

A guide for changing infrastructure and delivery systems such as CI/CD pipelines, containers, Kubernetes, monitoring, and deployment configuration. It emphasizes checking the target environment and keeping changes reversible.

In plain words
What is it for?
Use it to plan, validate, apply, and roll back infrastructure, deployment, observability, container, and release-automation changes.
Why use it?
It reduces the risk of deploying to the wrong place, exposing secrets, granting excessive access, or making an unsafe production change.

Skill for Claude CodeCodex

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 skills/phelan164/codex-howto/operate-devops
Any agent
npx skills add Phelan164/codex-howto --skill operate-devops
Clone the repo
git clone --depth 1 https://github.com/Phelan164/codex-howto

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 operate-devops

README.md
[![agentmods](https://agentmods.dev/badge/skills/phelan164/codex-howto/operate-devops.svg)](https://agentmods.dev/skills/phelan164/codex-howto/operate-devops)
Your own site
<a href="https://agentmods.dev/skills/phelan164/codex-howto/operate-devops"><img src="https://agentmods.dev/badge/skills/phelan164/codex-howto/operate-devops.svg" alt="Measured on agentmods" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 469 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.00069 $0.00469
Opus 5 $0.00034 $0.00234
Sonnet 5 $0.00014 $0.00094
Haiku 4.5 $0.00007 $0.00047

Measured 3d ago against content hash f8e8f76a8f7e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

operate-devops 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 3d 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.

skills/operate-devops/SKILL.md · 52 lines

How it starts

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

Operate DevOps

Workflow

  1. Read repository and environment guidance before changing configuration.
  2. Identify the target environment, current state, owning tool, blast radius, and approval boundary.
  3. Separate diagnosis, proposed change, apply, verification, and rollback.
  4. Prefer a dry run, plan, diff, render, lint, or local build before any apply step.
  5. Make the smallest reversible change.
  6. Validate configuration syntax and policy.
  7. Test failure behavior and rollback in the safest available environment.
  8. Review the diff for secrets, broad permissions, unpinned behavior, and unintended targets.

Guardrails

  • Confirm account, cluster, subscription, region, namespace, and environment before state-changing commands.
  • Keep credentials out of code, command output, and generated artifacts.
  • Use least-privilege identities and scoped approvals.
  • Do not silently apply infrastructure because a plan succeeded.
  • Do not delete, force-replace, rotate, deploy, or migrate live resources without explicit authorization.
  • Preserve a recovery path for availability, routing, storage, and identity changes.
  • Do not weaken security controls merely to make automation pass.
  • Treat third-party actions, base images, and pipeline dependencies as supply-chain inputs.

Change safety

Read references/change-safety.md for deployment, infrastructure, CI, secret, permission, or data-path changes.

Verification

Use repository-native commands in this order:

format/lint → validate/render → plan/diff → policy tests → staged rollout check

Report exactly which environment was inspected and which commands were not run.

Acceptance criteria

  • Target and blast radius are explicit.
  • A preview or equivalent validation was inspected.
  • Credentials and permissions follow least privilege.
  • Rollback or roll-forward steps are concrete.
  • Monitoring proves success and detects regression.
  • The final report separates proposed, executed, and unverified actions.

Read the full file on GitHub · 52 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago First seen · 52 lines · 69 tokens per session scan A f8e8f76a8f7e

Subscribe to this mod's changes

operate-devops is a skill published in the GitHub repository Phelan164/codex-howto (3 stars, last pushed 6d ago), licensed MIT. It adds 69 tokens to every session and 469 once invoked, about $0.0003 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-31.