release

A release-preparation tool that updates project version information, creates a Git commit, and adds a version tag. It can also prepare a GitHub Release, which is a published record of a version, and supports previewing the steps first.

In plain words
What is it for?
Use it to prepare major, minor, or patch releases, update release files, create local tags, preview changes, and optionally publish a GitHub Release.
Why use it?
It removes the repetitive work of deciding a version change from commit history and keeping release files, commits, and tags consistent.

Skill for Claude CodeCodex

Part of the release plugin — 1 skill 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/cboone/agent-harness-plugins/release
Any agent
npx skills add cboone/agent-harness-plugins --skill release
Clone the repo
git clone --depth 1 https://github.com/cboone/agent-harness-plugins

Made for: Claude Code, Codex.

Or install release, the plugin that ships this one along with the rest of its 1 skill.

Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,613 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00096 $0.10613
Opus 5 $0.00048 $0.05306
Sonnet 5 $0.00019 $0.02123
Haiku 4.5 $0.00010 $0.01061

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

Security

Grade C, and why

release scanned grade C with 1 finding 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- prettier-ignore -->
plugins/release/skills/release/SKILL.md · 945 lines

How it starts

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

Release

Prepare a versioned release or Claude Code marketplace catalog state tag: analyze commits, update release files, create a release commit, tag locally, and optionally publish a GitHub Release.

Options

The user may provide these options inline:

  • --major: Force a major version bump regardless of commit analysis
  • --minor: Force a minor version bump regardless of commit analysis
  • --patch: Force a patch version bump regardless of commit analysis
  • --dry-run: Preview all changes without modifying any files, committing, or tagging

Workflow

1. Pre-Flight Checks

Run these commands in parallel to understand the current state:

# Check for uncommitted changes
git status --porcelain

# Get current branch name
git branch --show-current

# List existing version tags, sorted by version
git tag --list 'v*' --sort=-version:refname

# List existing Claude Code marketplace catalog state tags
git tag --list 'catalog-M*-m*-p*-n*' --sort=-creatordate

# Get today's date
date +%Y-%m-%d

# Check for a release workflow that publishes GitHub Releases automatically
if [ -d .github/workflows ]; then
  for f in .github/workflows/*.yml .github/workflows/*.yaml; do
    [ -f "$f" ] || continue
    # Tag-triggered workflows: a `tags:` trigger plus a list entry like
    # `- "v*"` or `- catalog-*`.
    has_tag_trigger=0
    if grep -q 'tags:' "$f" && grep -qE "^[[:space:]]*-[[:space:]]+['\"]?(v[*[0-9]|catalog-)" "$f"; then
      has_tag_trigger=1
    fi
    # Marketplace push-to-main automation: workflow invokes the canonical
    # catalog state computation, publishes a GitHub Release, AND triggers
    # on push to the default branch (main or master). All three are
    # required. The compute-catalog-state and gh release create checks
    # rule out partial automation (e.g., a validation workflow that
    # computes the catalog state without tagging or releasing). The push
    # trigger check rules out workflow_dispatch-only or PR-only workflows
    # that happen to mention both strings: those will not run when a
    # commit lands on main, so deferring to them would silently skip
    # local catalog tagging and leave nothing tagged or released. The
    # branches:/main match must occur *under* push: rather than under a
    # sibling key like pull_request: -- otherwise a workflow with
    # `pull_request: branches: [main]` would falsely match. The awk
    # script tracks indentation to scope branches: matches to the push:
    # block, and handles both inline (`branches: [main]`) and YAML-list
    # (`branches:` followed by `- main`) forms.
    has_marketplace_push_to_main=0
    if grep -q 'compute-catalog-state' "$f" && grep -q 'gh release create' "$f" && awk '
        function leading_ws(s) {
          match(s, /^[[:space:]]*/)
          return RLENGTH
        }
        {
          # When indentation falls back to the push: level (or shallower),
          # we have left the push: block. Reset state before running other
          # rules on this line so a sibling key (e.g. pull_request:) does
          # not pick up branches: matches inside push:.
          if (in_push && $0 !~ /^[[:space:]]*$/ && leading_ws($0) <= push_indent) {
            in_push = 0
            in_list = 0
          }
        }
        /^[[:space:]]*push:[[:space:]]*$/ {
          push_indent = leading_ws($0)
          in_push = 1
          in_list = 0
          next
        }
        # Inline form: branches: [main], branches: ["main", "master"],
        # branches: [dev, main]. Strip brackets and quotes, split on
        # commas/whitespace, then compare each token. This avoids needing
        # word-boundary support, which BSD awk lacks ([maintenance] and
        # [main_v2] do not produce a "main" or "master" token).
        in_push && match($0, /branches:[[:space:]]*\[[^]]*\]/) {
          s = substr($0, RSTART, RLENGTH)
          gsub(/\[/, "", s)
          gsub(/\]/, "", s)
          gsub(/"/, "", s)
          gsub(/\047/, "", s)
          n = split(s, a, /[, ]+/)
          for (i = 1; i <= n; i++) {
            if (a[i] == "main" || a[i] == "master") {
              found = 1
              break
            }
          }
        }
        # YAML-list form: a `branches:` line followed by indented
        # `- main` / `- master` entries. Exact line anchors avoid needing
        # word-boundary support.
        in_push && /^[[:space:]]+branches:[[:space:]]*$/ {
          in_list = 1
          next
        }
        in_list && /^[[:space:]]+-[[:space:]]+["'\''"]?(main|master)["'\''"]?[[:space:]]*$/ {
          found = 1
          in_list = 0
        }
        in_list && !/^[[:space:]]+-/ && !/^[[:space:]]*$/ { in_list = 0 }
        END { exit !found }
      ' "$f"; then
      has_marketplace_push_to_main=1
    fi

    # Push-to-main automation is more specific than a generic tag trigger.
    # If a workflow matches both, classify it as push-to-main so marketplace
    # catalog tags remain workflow-owned.
    if [ "${has_marketplace_push_to_main}" -eq 1 ]; then
      printf '%s\t%s\n' "$f" "marketplace-push-to-main"
    elif [ "${has_tag_trigger}" -eq 1 ]; then
      printf '%s\t%s\n' "$f" "tag-triggered"
    fi
  done
fi

Read the full file on GitHub · 945 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 945 lines · 96 tokens per session scan C d5f9b921a871

Subscribe to this mod's changes

release is a skill published in the GitHub repository cboone/agent-harness-plugins (2 stars, last pushed 1mo ago), licensed MIT. It adds 96 tokens to every session and 10,613 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories