devops

A command definition for managing DevOps work, such as infrastructure, automated build and test pipelines, and deployment settings.

In plain words
What is it for?
It helps create or update infrastructure, CI/CD pipelines, deployment configurations, security settings, versioning, and release documentation.
Why use it?
It tells an AI agent which project rules and documents to inspect before changing deployment-related files, reducing missed requirements.

Command for Codex

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 commands/kaelsensei/magicaibuilder/devops
Clone the repo
git clone --depth 1 https://github.com/KaelSensei/MagicAIBuilder

Made for: Codex.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,295 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.00000 $0.02295
Opus 5 $0.00000 $0.01148
Sonnet 5 $0.00000 $0.00459
Haiku 4.5 $0.00000 $0.00230

Measured 2d ago against content hash 41cc327e141c, 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 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/commands/devops.md · 299 lines

How it starts

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

DevOps Command – Infrastructure & CI/CD Workflow

When /devops <task description> is invoked, immediately execute the following steps to create, configure, or manage DevOps infrastructure, CI/CD pipelines, and deployment configurations.


Step 1: Load Project Context & Follow All Rules

  1. Assume the project root as the working directory
  2. Load and strictly follow ALL Cursor rules from .cursor/rules/*.mdc:
    • security.mdc - Security requirements (especially for secrets, credentials, and deployment)
    • technical-stack.mdc - React Native/Android build patterns
    • documentation.mdc - Documentation update requirements
    • version-management.mdc - Git commit/push workflow
  3. Read relevant documentation:
    • README.md
    • PROGRESS.md
    • Any existing DevOps documentation (e.g., PLAY_STORE_DEPLOYMENT.md)
    • Architecture and deployment documents
  4. Identify the current Git branch and assume it is a feature branch, not main
  5. Check for attachments (diagrams, existing configs, requirements):
    • Analyze any visual references or existing configurations
    • Extract deployment requirements, environment specifications
    • Use attachments to clarify infrastructure needs
    • If attachments conflict with description, ask for clarification

Step 2: Understand the DevOps Task

  1. Parse the task description provided after /devops
  2. Incorporate context from any attached files or diagrams:
    • Existing CI/CD configurations
    • Infrastructure diagrams
    • Deployment workflows
    • Environment specifications
  3. Clearly define:
    • What DevOps infrastructure needs to be created or modified
    • Which tools/services are involved (GitHub Actions, Kubernetes, Docker, etc.)
    • What the expected deployment workflow is
    • What environments are needed (dev, staging, production)
  4. Identify impacted areas:
    • CI/CD pipeline configurations (.github/workflows/)
    • Kubernetes manifests (k8s/ or kubernetes/)
    • Docker configurations (Dockerfile, docker-compose.yml)
    • Build scripts (package.json, scripts/)
    • Environment configuration files (.env.example, .env.production)
    • Deployment documentation
  5. If requirements or scope are unclear (even with attachments), stop and ask before proceeding

Read the full file on GitHub · 299 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. 2d ago First seen · 299 lines · 0 tokens per session scan A 41cc327e141c

Subscribe to this mod's changes

devops is a command published in the GitHub repository KaelSensei/MagicAIBuilder (2 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,295 tokens. 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 commands, from other repositories