/ops:ops-release [--type patch|minor|major] [--version X.Y.Z] [--notes "changelog body"] [--no-ai] [--no-docs] [--no-wiki] [--dry-run] [--no-merge] [--no-tag]from ops
Publishes a new version of the claude-ops plugin: bumps manifests, writes changelog, opens release PR, merges, and tags. Must run from a git checkout, not the plugin cache.
Ships in ops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Load ops-rules before acting. Public repo (no personal data). Outbound: one draft → one approval → one send. If AskUserQuestion / Workflow are missing, follow Rule 10 in ops-rules (Hermes: numbered options / two-turn Telegram card; delegate_task).
Cuts a new published version of the claude-ops plugin: bumps the version in the
three manifests, writes the CHANGELOG, opens a release PR, waits for CI, merges it to
main, and pushes the vX.Y.Z tag. After it runs, /ops:ops-update pulls the new
version down to the box.
ops-releaseships it ·/ops:ops-updatepulls it. Order: merge your fix PR →/ops:ops-release→/ops:ops-update.
bin/ops-release resolves its targets relative to its own location:
PLUGIN_DIR = <bin>/.., REPO_ROOT = <bin>/../.., and it needs
REPO_ROOT/.claude-plugin/marketplace.json. The plugin cache
(~/.claude/plugins/cache/ops-marketplace/ops/<ver>/bin/ops-release) has no
marketplace.json above it, so running the cache copy fails with
not found: …/.claude-plugin/marketplace.json. Always run the copy inside a
git checkout of the repo (the dir that has both .claude-plugin/marketplace.json
and claude-ops/bin/ops-release).
Resolve it first:
RELEASE=""
for d in ~/Developer/repos/claude-ops ~/Projects/claude-ops-workspace/claude-ops ~/Projects/claude-ops/claude-ops "$HOME"/Projects/*/claude-ops; do
if [ -f "$d/.claude-plugin/marketplace.json" ] && [ -x "$d/claude-ops/bin/ops-release" ]; then
RELEASE="$d/claude-ops/bin/ops-release"; REPO="$d"; break
fi
done
[ -n "$RELEASE" ] || { echo "no claude-ops checkout with marketplace.json found — clone the repo first"; exit 1; }
echo "using: $RELEASE (repo: $REPO)"
Make sure the checkout's main is up to date and includes the fix you want to
publish before releasing (git -C "$REPO" fetch origin && git -C "$REPO" checkout main && git -C "$REPO" pull --ff-only). The release branches from origin/main,
so anything not yet on origin/main will NOT be in the release.
Steps 3–5 are outward-facing + hard to reverse (open PR → CI-gated squash-merge to
main → push a public vX.Y.Z tag), so always dry-run first, show the plan,
confirm, then apply (Rule 5).
"$RELEASE" --type patch --notes "<one-line changelog body>" --dry-run
Present the output: current → target version, which 3 manifests get bumped, the
CHANGELOG block, and that it will branch release/vX.Y.Z → PR → wait for CI → merge → tag.
Pick the bump type from the change: bug/patch fix → --type patch; new
backward-compatible feature → --type minor; breaking change → --type major
(or pin exactly with --version X.Y.Z).
Use AskUserQuestion before applying:
Publish claude-ops <CUR> → <NEW>? (bumps 3 manifests + CHANGELOG, opens PR, waits for CI, merges to main, tags v<NEW>)
[Publish release]
[Dry-run only]
[Cancel]
"$RELEASE" --type patch --notes "<one-line changelog body>"
Stream the step-by-step output. On success it prints the PR URL, the merge, and the tag. Surface the final line verbatim and then tell the user to pull it down:
Released v. Run
/ops:ops-updateto pull it onto this box.
| Flag | Effect |
|---|---|
--type patch|minor|major | Semver bump from the current version (default patch). |
--version X.Y.Z | Set an exact target version instead of bumping. |
--notes "…" | Markdown body prepended to the CHANGELOG under the new version. Quote it. Overrides the AI changelog. |
--no-ai | Skip AI changelog synthesis; fall back to commit subjects under ### Changed. |
--no-docs | Skip the ops-sync-docs count/badge reconciliation step. |
--no-wiki | Skip syncing the GitHub wiki (counts/version + Release-Notes entry). |
--dry-run | Report only; change nothing (still previews the AI changelog). Always run this first. |
--no-merge | Open the release PR but do not merge it (leave for manual review). |
--no-tag | Skip pushing the vX.Y.Z tag. |
claude-ops/.claude-plugin/plugin.json — .version.claude-plugin/marketplace.json (repo root) — .plugins[name==ops].versionclaude-ops/package.json — .version (if present)claude-ops/CHANGELOG.md — prepends a ## [X.Y.Z] - <date> block. By default the
body is AI-synthesized from the commit range in Keep a Changelog style
(### Added/Changed/Fixed/Removed); --notes overrides it, --no-ai falls back
to commit subjects.bin/ops-sync-docs, which reconciles every skill/agent
count, shields.io badge, and version badge across plugin.json,
marketplace.json, the READMEs, and docs/*-reference.md to the real tree.
Deterministic and idempotent; never touches historical "up from X/Y" prose.
Skip with --no-docs. (Run bin/ops-sync-docs standalone any time you add or
remove a skill/agent.)Release-Notes.md entry for the new version. Skip with --no-wiki.It works inside an isolated worktree ($REPO_ROOT/.worktrees/release/vX.Y.Z,
branched from origin/main), so a dirty main checkout never leaks unrelated WIP
into the release commit. The worktree is removed on exit.
A full release takes longer than a Hermes/agent foreground terminal call allows (~7 min hard kill regardless of the requested timeout). When the call dies, the script has usually already branched, pushed, opened the PR, waited for CI and merged — you just never saw the output. Verified 2026-09-05: the timeout fired, and a blind retry opened a duplicate release PR (#923) alongside the script's own already-merged #922.
Before doing anything after a timeout, read the live state:
gh pr list --state merged --limit 5 --json number,title,headRefName
git fetch --tags origin && git ls-remote --tags origin "v$NEW"
git show origin/main:claude-ops/.claude-plugin/plugin.json | head -3
Then finish only what is genuinely missing:
origin/main, tag absent → the script died between
merge and tag. Tag the merge commit yourself:
git tag -a vX.Y.Z <merge-sha> -m "vX.Y.Z" && git push origin vX.Y.Z.If you did open a duplicate, close it referencing the real one and delete the
remote branch it shares — both PRs point at the same release/vX.Y.Z head, so
deleting that branch after the real merge is what cleans up.
Better: run the apply step with background=true, notify=true instead of a
foreground call, and let the completion notification carry the output.
The bin auto-detects a non-TTY and drops colour; its output is already line-per-fact, so relay it as-is — no tables, no banners.
main (claude-ops convention). The helper waits for the five product
CI checks plus any other reported checks to finish, then squash-merges without bypassing them./ops:ops-update (pull) + /reload-plugins (load)./ops:ops-update (pull a published version locally + prune/rewrite).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub lifecycle-innovations-limited/claude-ops --plugin ops71 skills in this plugin
/bossOPS on-demand: This skill should be used when the user asks to "/ops:boss", "boss mode", or "what needs…/flowOPS on-demand: This skill should be used when the user asks to "/ops:flow", "dev lifecycle", or "where…/ledgerOPS on-demand: This skill should be used when the user asks to "ops ledger", "what did we handle", or…/opsThis skill should be used when the user asks to "ops command center", "/ops:ops", or "run the business". Single discovery router for all business operations — communications, projects, infrastructure, revenue, marketing, releases, fleet management, automation, or any OPS capability. Loads and invokes only the relevant specialist instructions on demand./ops-accountsOPS on-demand: This skill should be used when the user asks to "rotate accounts", "switch…/ops-arOPS on-demand: This skill should be used when the user asks to "A&R this track", "demo verdict", or…Other plugins' skills for the same job