ops

A router for Draft's operational workflows, including deployments, incidents, standups, project status, and rollbacks. It reads the user's intent and sends the request to the relevant workflow.

In plain words
What is it for?
Use it for deployment-readiness checks, outage handling, activity summaries, progress reports, and safe git-aware reverts or rollbacks.
Why use it?
It provides one entry point for common operational tasks instead of requiring developers to remember separate commands. It can sequence requests that contain more than one operational goal.

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/drafthq/draft/ops
Any agent
npx skills add drafthq/draft --skill ops
Clone the repo
git clone --depth 1 https://github.com/drafthq/draft

Made for: Claude Code, Codex.

Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 546 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.00058 $0.00546
Opus 5 $0.00029 $0.00273
Sonnet 5 $0.00012 $0.00109
Haiku 4.5 $0.00006 $0.00055

Measured 2d ago against content hash d315a3d0f2fd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

skills/ops/SKILL.md · 58 lines

How it starts

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

Ops - Operations & Lifecycle Router

/draft:ops groups all operational, deployment, and runtime lifecycle commands.

When to Use

  • Preparing a deployment or release
  • Responding to incidents or outages
  • Generating team standup / activity summaries
  • Checking overall project or track status
  • Performing git-aware reverts or rollbacks

Routing Logic

Intent keywords drive deterministic dispatch. Multi-intent requests are sequenced (e.g., status then incident).

User Intent Keywords Dispatches To Purpose
upload for review, git upload, submit code, open PR /draft:upload Pre-upload gate: review, approvals, validators, then push
deploy checklist, pre-deploy, release check, readiness /draft:deploy-checklist Pre-deployment verification with rollback triggers
incident, outage, sev, postmortem, triage /draft:incident-response Full incident lifecycle (triage → mitigate → postmortem)
standup, daily summary, what did I do, activity report /draft:standup Git activity standup summary (read-only)
status, progress, what's the state, track overview /draft:status Progress overview across tracks and git
revert, rollback, undo, git revert, restore /draft:revert Git-aware safe rollback of changes or tracks

Dispatch Examples

User: "run the deploy checklist for the auth track"

→ dispatches to /draft:deploy-checklist [track auth]

User: "we had an outage last night, start postmortem"

→ dispatches to /draft:incident-response postmortem

User: "give me today's standup"

→ dispatches to /draft:standup

User: "what's the current status of the project"

→ dispatches to /draft:status

User: "revert the last two commits on this branch safely"

→ dispatches to /draft:revert

Integration Notes

Ops commands often read draft/tracks.md, draft/*/plan.md, and git metadata. They feed forward into documentation and jira flows when needed.

Read the full file on GitHub · 58 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 · 58 lines · 58 tokens per session scan A d315a3d0f2fd

Subscribe to this mod's changes

ops is a skill published in the GitHub repository drafthq/draft (40 stars, last pushed 13d ago), licensed MIT. It adds 58 tokens to every session and 546 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-30.