devops

devops is a skill for Claude Code from xobotyi/cc-foundry. It costs 64 tokens per session (3,620 once invoked), scanned B, original, MIT.

A set of practices for building and operating the systems that run software, including servers, deployments, monitoring, security, and recovery.

In plain words
What is it for?
It is for infrastructure as code, environment consistency, secure changes, monitoring, incident response, software supply-chain checks, and disaster recovery.
Why use it?
It helps prevent infrastructure from drifting away from its documented setup, changes from being deployed without checks, and failures from being hard to detect or recover from.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter. Also seen: mentions Claude Code.

Part of the infrastructure plugin — 6 skills shipped together

Good fit It is for infrastructure as code, environment consistency, secure changes, monitoring, incident response, software supply-chain checks, and disaster recovery.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xobotyi/cc-foundry/devops
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.

Any agent
npx skills add xobotyi/cc-foundry --skill devops
Clone the repo
git clone --depth 1 https://github.com/xobotyi/cc-foundry

Made for: Claude Code.

Or install infrastructure, the plugin that ships this one along with the rest of its 6 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/xobotyi/cc-foundry/devops"><img src="https://agentmods.dev/badge/skills/xobotyi/cc-foundry/devops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,620 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00064 $0.03620
Opus 5.5 $0.00026 $0.01448
Sonnet 5.5 $0.00013 $0.00724
Haiku 4.5 $0.00006 $0.00362

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

Security

Grade B, and why

devops scanned grade B 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.

Strips warnings and disclaimersmediumAnti-refusal

Omitting safety caveats hides risk from the user and is a common jailbreak preamble.

When **reviewing** a change, cite the missing evidence and name the check that would supply it. Do not lecture.
plugins/infrastructure/skills/devops/SKILL.md · 201 lines

How it starts

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

Three biases decide most calls:

  • Applied is not in effect. A tool's success is a claim the tool makes about its own target. Whether the effect exists is measured at the service, the socket, the resolver, the peer, or the guest. A change closes on the measurement and never on the claim.
  • A revert is not a rollback. Re-applying the previous declaration restores what a tool can recreate from a declaration and nothing the forward change emitted: deleted data, rotated secrets, withdrawn routes, migrated schemas, destroyed objects.
  • The target is decided by the credential and the state the command runs against, not by the code. A reviewed change lands where the kubeconfig, backend, inventory, or token points, and a plan is a projection of one state at one moment. Read both before the first mutation.

Target

  • Name the target by identifiers that cannot be confused: account or project ID, cluster API endpoint, host key and address, backend and workspace, node and VMID, zone ID. prod is a label, not a target. GitHub deployed a reviewed network configuration to the wrong environment on 2024-03-11.
  • Plan against the state that apply will use, immediately before apply. Never apply a plan older than the last change to the target, and never a plan made with refresh disabled. GitLab applied a three-week-old Terraform plan on 2023-07-07; drift had turned it into a plan that destroyed 617 resources.
  • A missing or substituted state file is a stop, not a step. With no state, a plan proposes creating everything; with an old state copied in, a destroy looks like the clean option. An agent destroyed a production VPC, database, and cluster in February 2026 by reasoning exactly that way.
  • Read the plan for destroy and replace before anything else. A destroy count above zero on a change that is not a destroy, or # forces replacement on a stateful resource, stops the apply until the reason is written down.
  • A blank parameter is a value. Resolved defaults are part of the plan. Google's internal tool turned one blank field into a one-year term and deleted a customer's private cloud a year later, with no notification because the deletion was not customer-initiated.
  • Prefer a change that names its objects over a filter that resolves at run time. Cloudflare's 2026-02-20 cleanup called an API with an empty filter; the server returned every prefix and the task deleted them all.
  • Before a firewall, sshd, auth, or routing change, hold an independent way back in: a second authenticated session, a console, or an out-of-band path, plus a timed revert that restores the previous ruleset unless the operator cancels it. The SRE workbook's rule for a change that can remove operator control is automatic rollback, or at minimum an automatic stop.
  • Capture what the reverse needs before apply: the previous value, the backup taken with the method the data requires, the identifiers, and the consumers of anything renamed. Confirm the credential performing the change cannot delete that backup.
  • Use the credential the change needs and no other. A broader credential found in the environment is not permission. An agent with a staging credential mismatch found a token scoped for any operation, guessed that a volume delete would stay in staging, and removed a production database and its co-located backups in one call (April 2026). Deletion protection on the resource itself is the layer that survives a removed resource block; prevent_destroy does not.
  • A prose prohibition does not hold against a token that can. A code freeze in the instructions did not stop a Replit agent from deleting a production database in July 2025. Where the only guard on a destructive path is prose, say so and stop; do not proceed under it.

Read the full file on GitHub · 201 lines

Files

What ships with it

7 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. 1mo ago Changed · -135 lines · -3 tokens per session scan A → B d356de2621d8
  2. 1mo ago First seen · 336 lines · 67 tokens per session scan A e53d7002a12c

Subscribe to this mod's changes

devops is a skill published in the GitHub repository xobotyi/cc-foundry (22 stars, last pushed 7d ago), licensed MIT. It adds 64 tokens to every session and 3,620 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Optimize the meaningful UI available immediately from a Next.js route on an initial load (hard navigation) or named client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route and entry point at a time; the shipped test then guards…

vercel/next.js · 123 tokens