release

release is a command for Claude Code from can1357/oh-my-pi. It costs 0 tokens per session (297 once invoked), scanned A, original, MIT.

A command for releasing all packages in a software repository at one version. A release is a published software update identified by a version number such as 3.13.0.

In plain words
What is it for?
Use it to choose or supply a major, minor, or patch version, update package files and changelogs, create a Git tag, push changes, and watch CI.
Why use it?
It gathers version updates, changelog changes, commits, tags, publishing steps, and CI checks into one release process. It also stops when automated checks fail so problems can be fixed.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bun scripts/release.ts $ARGUMENTS.

Good fit Use it to choose or supply a major, minor, or patch version…

Compare 6 commands from other repositories ↓
About the project

Oh My Pi is a coding agent with an integrated development environment, command-line interface, tools, language-server operations, and debugger operations. It is used by developers who want an AI coding assistant that can read and edit projects, work with models from multiple providers, and interact with development tools. The catalogue add-ons extend its agent workflows with skills, commands, agents, plugins, MCP, and instructions.

can1357/oh-my-pi · 29,719 stars · on GitHub · omp.sh

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/can1357/oh-my-pi
agentmods
npx agentmods add commands/can1357/oh-my-pi/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 release

README.md
[![agentmods](https://agentmods.dev/badge/commands/can1357/oh-my-pi/release.svg)](https://agentmods.dev/commands/can1357/oh-my-pi/release)
Your own site
<a href="https://agentmods.dev/commands/can1357/oh-my-pi/release"><img src="https://agentmods.dev/badge/commands/can1357/oh-my-pi/release.svg" alt="Measured on agentmods" 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 297 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.00297
Opus 5 $0.00000 $0.00148
Sonnet 5 $0.00000 $0.00059
Haiku 4.5 $0.00000 $0.00030

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

Security

Grade A, and why

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

.omp/commands/release.md · 42 lines

What it actually says

Release

Release all packages at specified version.

Arguments

$ARGUMENTS: semver version, e.g. 3.13.0.

Version

  • Last release: latest git tag (vX.Y.Z); confirm matches packages/*/package.json versions.
  • No version: review commits since last tag; choose major/minor/patch; bump.
  • major/minor/patch: bump last tag — major X+1.0.0; minor X.Y+1.0; patch X.Y.Z+1.

Run

bun scripts/release.ts $ARGUMENTS

Script automatically:

  1. Pre-flight: clean working dir; main branch.
  2. Update all package.json versions.
  3. Regenerate bun.lock.
  4. Update CHANGELOGs: [Unreleased] → [version] - date.
  5. Commit and tag.
  6. Push to origin.
  7. Watch CI until all workflows pass.

CI failures

CI failure → script exits with error. Fix, then repeat until CI passes:

git commit -m "fix: <brief description>"
git push origin main
git tag -f v$ARGUMENTS && git push origin v$ARGUMENTS --force
bun scripts/release.ts watch

watch: re-watches CI for current commit until all checks pass.

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. 7d ago First seen · 42 lines · 0 tokens per session scan A 5f293f9ee024

Subscribe to this mod's changes

release is a command published in the GitHub repository can1357/oh-my-pi (29,719 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 297 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-30.