gh-release

gh-release is a command for Claude Code from synaptiai/synapti-marketplace. It costs 0 tokens per session (2,454 once invoked), scanned A, original, Apache-2.0.

A release procedure for a software marketplace or plugin, with version changes grouped as patch, minor, or major releases. These labels distinguish bug fixes, new features, and breaking changes.

In plain words
What is it for?
Use it to inspect changes since the last tag, review marketplace and plugin versions, choose a release type, and create the approved release.
Why use it?
It helps determine the appropriate version change from the work since the previous release and checks the versions and commits involved. It also requires approval before creating an irreversible release.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: names the AskUserQuestion tool.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./scripts/package-desktop-skills.sh --verbose.

Good fit Use it to inspect changes since the last tag, review marketplace and plugin versions, choose a release type, and create the approved release.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/synaptiai/synapti-marketplace
agentmods
npx agentmods add commands/synaptiai/synapti-marketplace/gh-release

Made for: Claude Code.

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 gh-release

README.md
[![agentmods](https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/gh-release/github.svg)](https://agentmods.dev/commands/synaptiai/synapti-marketplace/gh-release)
Your own site
<a href="https://agentmods.dev/commands/synaptiai/synapti-marketplace/gh-release"><img src="https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/gh-release/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gh-release

Your own site · 80×15
<a href="https://agentmods.dev/commands/synaptiai/synapti-marketplace/gh-release"><img src="https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/gh-release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,454 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.00000 $0.02454
Opus 5 $0.00000 $0.01227
Sonnet 5 $0.00000 $0.00491
Haiku 4.5 $0.00000 $0.00245

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

Security

Grade A, and why

gh-release 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 10d 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.

.claude/commands/gh-release.md · 318 lines

How it starts

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

Create Release v$ARGUMENTS

Create a new release for the marketplace or a specific plugin.

Tool Usage: This workflow uses the AskUserQuestion tool extensively to determine release type, target, and get explicit approval before creating irreversible releases.

Arguments

  • $ARGUMENTS: Version bump type - patch, minor, or major
    • patch (1.2.0 → 1.2.1): Bug fixes only
    • minor (1.2.0 → 1.3.0): New features
    • major (1.2.0 → 2.0.0): Breaking changes

If no argument provided, analyze commits to suggest the appropriate bump type.

Phase 1: Preparation

  1. Ensure on latest main:

    git checkout main && git pull origin main
    
  2. Check what's changed since last release:

    git log $(git describe --tags --abbrev=0)..HEAD --oneline
    
  3. Get current versions:

    # Marketplace version
    cat .claude-plugin/marketplace.json | grep '"version"'
    
    # Plugin versions
    cat plugins/*/.claude-plugin/plugin.json | grep '"version"'
    
  4. If no argument provided, use the AskUserQuestion tool to determine release type:

    Analyze commits and present recommendation:

    • Option 1: "patch (X.Y.Z → X.Y.Z+1)" - Bug fixes only (Recommended if all fix: commits)
    • Option 2: "minor (X.Y.Z → X.Y+1.0)" - New features (Recommended if feat: commits)
    • Option 3: "major (X.Y.Z → X+1.0.0)" - Breaking changes
  5. Use the AskUserQuestion tool to determine release target:

    • Option 1: "Marketplace only" - Bump marketplace.json version
    • Option 2: "Plugin: [name]" - Bump plugin.json AND marketplace.json entry
    • Option 3: "Both" - Changes span marketplace and plugin

Phase 1.5: Impact Assessment & Approval

Before making any changes, present a complete impact assessment, then use the AskUserQuestion tool to get explicit approval:

First, display the assessment:

**Release Impact Assessment**

Release type: [patch/minor/major]
Target: [Marketplace / Plugin: {name} / Both]

**Current versions:**
- Marketplace: X.Y.Z
- Plugin ({name}): X.Y.Z

**Proposed changes:**
- [ ] plugins/{name}/.claude-plugin/plugin.json: X.Y.Z → X.Y.Z+1
- [ ] .claude-plugin/marketplace.json plugins[].version: X.Y.Z → X.Y.Z+1
- [ ] .claude-plugin/marketplace.json metadata.version: X.Y.Z → X.Y.Z+1 (if marketplace release)

**Commits included in this release:**
- abc1234 feat: add new analysis capability
- def5678 fix: correct link in documentation
- ghi9012 docs: update README

**Breaking changes:** None / [list if any]

Read the full file on GitHub · 318 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. 10d ago First seen · 318 lines · 0 tokens per session scan A 5b690d338a66

Subscribe to this mod's changes

gh-release is a command published in the GitHub repository synaptiai/synapti-marketplace (6 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,454 tokens. 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.