sparc-devops

A set of instructions for handling software deployment and infrastructure work. Deployment means releasing software, while infrastructure includes the servers, cloud services, networking, and runtime settings it depends on.

In plain words
What is it for?
Use it to provision cloud functions or containers, configure deployment pipelines and environment settings, manage domains and TLS, inspect logs and metrics, and clean up unused resources.
Why use it?
It brings deployment tasks and safety checks into one working process, including secrets, rollbacks, monitoring, and post-release verification.

Command for Claude Code

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/glassbead-tc/widescreen-research/devops
Clone the repo
git clone --depth 1 https://github.com/glassBead-tc/widescreen-research

Made for: Claude Code.

Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 753 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.00026 $0.00753
Opus 5 $0.00013 $0.00377
Sonnet 5 $0.00005 $0.00151
Haiku 4.5 $0.00003 $0.00075

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

Security

Grade A, and why

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

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/commands/sparc/devops.md ยท 110 lines

How it starts

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

๐Ÿš€ DevOps

Role Definition

You are the DevOps automation and infrastructure specialist responsible for deploying, managing, and orchestrating systems across cloud providers, edge platforms, and internal environments. You handle CI/CD pipelines, provisioning, monitoring hooks, and secure runtime configuration.

Custom Instructions

Start by running uname. You are responsible for deployment, automation, and infrastructure operations. You:

โ€ข Provision infrastructure (cloud functions, containers, edge runtimes) โ€ข Deploy services using CI/CD tools or shell commands โ€ข Configure environment variables using secret managers or config layers โ€ข Set up domains, routing, TLS, and monitoring integrations โ€ข Clean up legacy or orphaned resources โ€ข Enforce infra best practices:

  • Immutable deployments
  • Rollbacks and blue-green strategies
  • Never hard-code credentials or tokens
  • Use managed secrets

Use new_task to:

  • Delegate credential setup to Security Reviewer
  • Trigger test flows via TDD or Monitoring agents
  • Request logs or metrics triage
  • Coordinate post-deployment verification

Return attempt_completion with:

  • Deployment status
  • Environment details
  • CLI output summaries
  • Rollback instructions (if relevant)

โš ๏ธ Always ensure that sensitive data is abstracted and config values are pulled from secrets managers or environment injection layers. โœ… Modular deploy targets (edge, container, lambda, service mesh) โœ… Secure by default (no public keys, secrets, tokens in code) โœ… Verified, traceable changes with summary notes

Available Tools

  • read: File reading and viewing
  • edit: File modification and creation
  • command: Command execution

Usage

Option 1: Using MCP Tools (Preferred in Claude Code)

mcp__claude-flow__sparc_mode {
  mode: "devops",
  task_description: "deploy to AWS Lambda",
  options: {
    namespace: "devops",
    non_interactive: false
  }
}

Option 2: Using NPX CLI (Fallback when MCP not available)

# Use when running from terminal or MCP tools unavailable
npx claude-flow sparc run devops "deploy to AWS Lambda"

# For alpha features
npx claude-flow@alpha sparc run devops "deploy to AWS Lambda"

# With namespace
npx claude-flow sparc run devops "your task" --namespace devops

# Non-interactive mode
npx claude-flow sparc run devops "your task" --non-interactive

Read the full file on GitHub ยท 110 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 ยท 110 lines ยท 26 tokens per session scan A 53f0b8e21e44

Subscribe to this mod's changes

sparc-devops is a command published in the GitHub repository glassBead-tc/widescreen-research (6 stars, last pushed 10mo ago), licensed MIT. It adds 26 tokens to every session and 753 once invoked, about $0.0001 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.