promote

promote is a skill for Claude Code from Jerry0022/dotclaude. It costs 122 tokens per session (1,556 once invoked), scanned A, original, MIT.

A procedure for moving an already shipped software version from an alpha channel to beta or stable by retagging the same commit. These channels are staged release levels for increasing confidence and wider use.

In plain words
What is it for?
Checking remote release tags, comparing channel versions, and promoting a selected shipped version with the required release tool.
Why use it?
It avoids rebuilding or changing the version during promotion and keeps the decision to release to a wider audience under user control.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the devops plugin — 25 skills, 12 agents, 5 hooks, 3 MCP servers shipped together

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/jerry0022/dotclaude/promote
Any agent
npx skills add Jerry0022/dotclaude --skill promote
Clone the repo
git clone --depth 1 https://github.com/Jerry0022/dotclaude

Made for: Claude Code.

Or install devops, the plugin that ships this one along with the rest of its 25 skills, 12 agents, 5 hooks, 3 MCP servers.

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 promote

README.md
[![agentmods](https://agentmods.dev/badge/skills/jerry0022/dotclaude/promote.svg)](https://agentmods.dev/skills/jerry0022/dotclaude/promote)
Your own site
<a href="https://agentmods.dev/skills/jerry0022/dotclaude/promote"><img src="https://agentmods.dev/badge/skills/jerry0022/dotclaude/promote.svg" alt="Measured on agentmods" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,556 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.1 $0.00122 $0.01556
Opus 5 $0.00061 $0.00778
Sonnet 5 $0.00024 $0.00311
Haiku 4.5 $0.00012 $0.00156

Measured 6d ago against content hash 681bb8e35bff, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

promote 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 6d 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.

plugins/devops/skills/promote/SKILL.md · 140 lines

How it starts

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

Release — Channel Promotion

Promote a shipped version to a higher channel. Ship publishes every version to alpha autonomously; this skill is the deliberate half of the ring model (spec: docs/superpowers/specs/2026-07-11-tag-channel-system-design.md).

CRITICAL — cwd is required on every MCP tool call. The ship MCP server runs in the plugin directory, NOT the target repo. Every ship_promote call MUST include cwd set to the current working directory of this Claude session.

Step 0 — Load deferred MCP schema

ship_promote may be deferred. Load it first:

ToolSearch({ query: "select:mcp__plugin_devops_dotclaude-ship__ship_promote", max_results: 5 })

If the tool is not registered → STOP and report (do NOT fall back to manual git tag — the promotion guards live in the tool).

Step 1 — Gather channel state

git ls-remote --tags origin

Parse tag names (alpha/vX.Y.Z, beta/vX.Y.Z, stable/vX.Y.Z, bare vX.Y.Z = stable alias) and compute the latest version per channel by numeric version comparison — never lexicographic, never --sort=v:refname across channel prefixes.

Render ONE line:

Channels: alpha v0.117.0 · beta v0.114.0 · stable v0.112.0

If alpha has never shipped a channel tag → report "no channel tags yet — ship something first" and stop.

Step 2 — Ask which promotion

Precompute only the meaningful promotions (source strictly ahead of target). Present via AskUserQuestion, recommended option first:

  • alpha vX → beta (Recommended when alpha > beta)
  • beta vY → stable
  • alpha vX → stable (fast-track) — legitimate skip; beta is optional
  • Abbrechen

If NO promotion is meaningful (all channels equal) → report "all channels are at vX — nothing to promote" and stop. Never promote autonomously, even with --autonomous in the trigger.

Step 3 — Execute

Single-step promotion:

ship_promote({ version: "0.117.0", from: "alpha", to: "beta", cwd: "<cwd>" })

Fast-track = TWO sequential calls so the ring invariant (stable ⊆ beta ⊆ alpha) always holds:

Read the full file on GitHub · 140 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. 6d ago First seen · 140 lines · 122 tokens per session scan A 681bb8e35bff

Subscribe to this mod's changes

promote is a skill published in the GitHub repository Jerry0022/dotclaude (5 stars, last pushed yesterday), licensed MIT. It adds 122 tokens to every session and 1,556 once invoked, about $0.0006 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.