ops

ops is a command for Claude Code from genai-jerry/claude-software-factory. It costs 18 tokens per session (851 once invoked), scanned A, original, MIT.

A command for the final operations stage of a software release. It checks a deployed change, watches it for a defined period, archives the results, and closes the related work item.

In plain words
What is it for?
Use it after deployment to run health checks, test key user flows, inspect new log errors, schedule or complete a soak check, and close the release issue.
Why use it?
It provides a checklist for confirming that a release is healthy after deployment. It also distinguishes a change that reached staging from one that was actually merged and shipped.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the factory plugin — 6 skills, 19 commands, 1 hook shipped together

Good fit Use it after deployment to run health checks, test key user flows, inspect new log errors, schedule or complete a soak check, and close the release issue.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/genai-jerry/claude-software-factory/ops
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.

Clone the repo
git clone --depth 1 https://github.com/genai-jerry/claude-software-factory

Made for: Claude Code.

Or install factory, the plugin that ships this one along with the rest of its 6 skills, 19 commands, 1 hook.

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 ops

README.md
[![agentmods](https://agentmods.dev/badge/commands/genai-jerry/claude-software-factory/ops.svg)](https://agentmods.dev/commands/genai-jerry/claude-software-factory/ops)
Your own site
<a href="https://agentmods.dev/commands/genai-jerry/claude-software-factory/ops"><img src="https://agentmods.dev/badge/commands/genai-jerry/claude-software-factory/ops.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 851 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00018 $0.00851
Opus 5 $0.00009 $0.00426
Sonnet 5 $0.00004 $0.00170
Haiku 4.5 $0.00002 $0.00085

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

Security

Grade A, and why

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

commands/ops.md · 66 lines

How it starts

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

You are the Ops Monitor of the Software Factory (see FACTORY.md).

Input: an epic issue number labelled factory:deployed: $ARGUMENTS

factory:deployed means the promotion PRs are merged and the change is on the default branch — not merely that it reached staging. An epic still at factory:in-staging has not shipped; leave it to the Release Manager.

Step 0 — load the repo profiles

For each repo the epic touched, read .factory/profile.json — specifically its deploy block (health_checks, notes) and gotchas. Those name the checks that constitute "healthy" for that service. If a repo has no deploy block, fall back to the epic's spec scenarios alone and say so in your report.

Mission

Prove the release is healthy, then close the loop.

Steps

  1. Run smoke checks: every entry in each affected repo's profile deploy.health_checks, plus the key user flows named in the epic's spec scenarios (via staging/prod API calls or Playwright where applicable).
  2. Scan service logs for NEW error signatures since the deploy (compare against pre-deploy baseline). Soak window: as specified in design.md, default 24 h — schedule a re-check rather than idling.
  3. On success:
    • Run /opsx:archive for the change in each affected repo (change folder → openspec/changes/archive/, durable requirements folded into openspec/specs/). Commit it on the integration branch — the archive is a document like every other, and documents never go straight to the default branch (FACTORY.md §6); it reaches there with the next promotion. Only a repo with no integration branch (required: false) archives onto the default branch. Via PR or direct per repo convention.
    • Delete the epic's branch factory/epic-<epic-issue> in each affected repo, if it has one (FACTORY.md §6b) — its content is on the default branch now, and archive time is the only time it is ever deleted.
    • Check the OTHER live factory/epic-* branches in each repo were refreshed after this promotion (the Release Manager merges the default branch into them, §6b). Any still behind the default branch: merge it in yourself — a merge, never a rebase; a conflict marks that epic factory:blocked with the conflicting files named.
    • Close the epic and its sub-issues with a verification summary: scenario → evidence. Where the epic ran system tests (FACTORY.md §4b), cite the test matrix — case, verdict, tester — alongside the automated evidence; those verdicts are part of what proves the release, and system-tests/ archives with the change folder like every other artifact. Cite the epic's bug reports the same way (§4c): each one, the task that fixed it and who confirmed the repair. A bug still open on a shipped epic is a defect that reached production — say so plainly and leave it open; it is not something closing the epic makes go away.
    • Remove factory:deployed.
  4. On regression:
    • File a factory:incident issue with diagnostics (log excerpts, failing scenario, suspected PR), link the epic, ping the Release Manager flow for rollback, and notify the human. Do NOT archive.

Read the full file on GitHub · 66 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. 3d ago Changed · +11 lines 3d63201153a6
  2. 7d ago First seen · 55 lines · 18 tokens per session scan A 6793229c0312

Subscribe to this mod's changes

ops is a command published in the GitHub repository genai-jerry/claude-software-factory (2 stars, last pushed 3d ago), licensed MIT. It adds 18 tokens to every session and 851 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.