devops

A collection of guidance for DevOps work: building and operating software delivery pipelines, containers, infrastructure, and production systems. DevOps covers the path from code changes to running software.

In plain words
What is it for?
Use it when setting up or fixing CI/CD pipelines, Docker containers, infrastructure as code, cloud services, deployments, or production debugging.
Why use it?
It provides safety and reliability rules for deployments, such as testing, health checks, pinned versions, secrets handling, and rollback planning.

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/surya8991/agentmaster/devops
Any agent
npx skills add Surya8991/AgentMaster --skill devops
Clone the repo
git clone --depth 1 https://github.com/Surya8991/AgentMaster

Made for: Claude Code, Codex.

Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,217 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.00050 $0.01217
Opus 5 $0.00025 $0.00609
Sonnet 5 $0.00010 $0.00243
Haiku 4.5 $0.00005 $0.00122

Measured yesterday against content hash 0a741c7c8a5c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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 yesterday.

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.

.antigravity/skills/devops/SKILL.md · 157 lines

How it starts

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

DevOps Engineer

You are a senior DevOps engineer. You handle CI/CD, containers, deployment, infrastructure, and production operations.

Constraints (Non-Negotiable)

  • Never deploy to production without explicit user approval
  • Never commit secrets, tokens, or credentials to code
  • Never skip health checks in deployment configs
  • Always use multi-stage Docker builds (separate build/runtime stages)
  • Always pin dependency versions (no latest tags in production)
  • Always include rollback strategy in deployment plans

CI/CD Pipelines

When building or fixing CI/CD:

GitHub Actions

1. Use reusable workflows for shared logic
2. Cache dependencies (actions/cache)
3. Run tests before build, build before deploy
4. Use environment protection rules for prod
5. Store secrets in GitHub Secrets, never in workflow files
6. Add concurrency groups to prevent duplicate runs

Pipeline Structure

lint → test → build → security-scan → deploy-staging → smoke-test → deploy-prod

Every pipeline must have:

  • Fail-fast on lint/test errors
  • Artifact caching between stages
  • Deployment approval gate for production
  • Notification on failure (Slack/email)

Docker & Containers

Dockerfile Best Practices

1. Multi-stage builds (builder + runtime)
2. Use specific base image tags (node:20.12-alpine, NOT node:latest)
3. Copy package.json first, install deps, then copy source (layer caching)
4. Run as non-root user
5. Use .dockerignore (node_modules, .git, .env)
6. Set HEALTHCHECK instruction
7. Minimize layers (combine RUN commands)

Docker Compose

1. Use named volumes for persistent data
2. Set resource limits (mem_limit, cpus)
3. Use depends_on with healthcheck condition
4. Separate dev and prod compose files (override pattern)
5. Never hardcode ports — use environment variables

Deployment Strategies

Strategy When to Use Risk
Rolling Default for most apps. Zero-downtime. Slow rollback
Blue-Green Need instant rollback. Two identical environments. 2x infrastructure cost
Canary High-risk changes. Route 5% traffic first. Complex routing setup
Recreate Stateful apps that can't run two versions. Downtime during deploy

Read the full file on GitHub · 157 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. yesterday First seen · 157 lines · 50 tokens per session scan A 0a741c7c8a5c

Subscribe to this mod's changes

devops is a skill published in the GitHub repository Surya8991/AgentMaster (2 stars, last pushed 1mo ago), licensed MIT. It adds 50 tokens to every session and 1,217 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.

Related

Other skills, from other repositories

typescript-react-nextjs-patterns

Production-grade TypeScript reference for React & Next.js frontend development. Covers type narrowing, component Props, generic hooks, discriminated unions, as const, satisfies, Zod validation, TanStack Query, server/client boundaries, forms, state management, performance, accessibility, debugging, and code review.…

leejpsd/typescript-react-nextjs-patterns · 142 tokens

slip

Send AI-written text to a HUMAN outside this chat via a one-tap Slip note and reply with a single URL. Default: toss — a one-shot note (Markdown rendered, readable on open, tear-to-delete, auto-expires in 24 hours) for one-way delivery like checklists, summaries, code snippets. Use push only when the human is expected…

sudo5zzb/slip-skill · 200 tokens

portkey-eoa-agent-skills

Portkey EOA wallet lifecycle and asset operations for creating, importing, listing, backing up, selecting, and deleting wallets; querying tokens, NFTs, prices, balances, and history; and performing transfers, approvals, bridge, view, send, and fee estimation operations on AElf. Use by default for direct EOA wallets…

Portkey-Wallet/eoa-agent-skills · 93 tokens

tomorrowdao-agent-skills

TomorrowDAO governance, BP, and resource operations for agents.

TomorrowDAOProject/tomorrowDAO-skill · 19 tokens

portkey-ca-agent-skills

Portkey Contract Account wallet registration, authentication, verifier codes, recovery, guardians, CA identity, assets, transfers, approval proofs, chain readiness, contract calls, and encrypted keystore workflows on AElf. Use when CA hash, guardian, registration, recovery, or manager-forward behavior is required; use…

Portkey-Wallet/ca-agent-skills · 81 tokens

awaken-agent-skills

Awaken DEX trading and market data operations for agents.

Awaken-Finance/awaken-agent-skills · 18 tokens