Borrowing it
Nothing to install: this file belongs to OtterMind/youclaw. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/OtterMind/youclaw/main/.claude/commands/release.mdgit clone --depth 1 https://github.com/OtterMind/youclawWrote 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.
[](https://agentmods.dev/commands/ottermind/youclaw/release)<a href="https://agentmods.dev/commands/ottermind/youclaw/release"><img src="https://agentmods.dev/badge/commands/ottermind/youclaw/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.
<a href="https://agentmods.dev/commands/ottermind/youclaw/release"><img src="https://agentmods.dev/badge/commands/ottermind/youclaw/release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00015 | $0.01019 |
| Opus 5.5 | $0.00006 | $0.00408 |
| Sonnet 5.5 | $0.00003 | $0.00204 |
| Haiku 4.5 | $0.00002 | $0.00102 |
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 1mo 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.
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 Command
Create a new YouClaw release (stable or beta) with auto-generated changelog.
Arguments
The user's arguments are: $ARGUMENTS
- If arguments contain "beta" or "测试" → Beta release
- Otherwise → Stable release
Step 1: Determine Release Type & Version
Run these commands to compute the next version:
# Get latest stable tag
git fetch --tags
LATEST_STABLE=$(git tag --sort=-v:refname | grep -E '^v0\.0\.[0-9]+$' | head -1)
echo "Latest stable: $LATEST_STABLE"
For stable release:
- Extract X from
v0.0.X, computev0.0.(X+1)
For beta release:
- Compute next stable version
v0.0.(X+1) - Find existing betas:
git tag -l "v0.0.(X+1)-beta.*" --sort=-v:refname | head -1 - If exists: increment N →
v0.0.(X+1)-beta.(N+1) - If none:
v0.0.(X+1)-beta.1
Step 2: Pre-flight Checks
Run these checks and abort if any fail:
-
Branch check: Must be on
mainbranch (for stable) or any branch (for beta)git branch --show-current -
Clean working tree:
git status --porcelainIf not clean, warn the user and ask whether to proceed.
-
Tag doesn't exist:
git tag -l "vX.Y.Z" -
Has new commits since last stable tag:
git log $LATEST_STABLE..HEAD --oneline | grep -v "^.*Merge " | head -20If no commits, abort.
Step 3: Generate Changelog
Read commits since last stable tag:
git log $LATEST_STABLE..HEAD --oneline --no-merges
Generate a changelog in Chinese following this format:
> One-line English summary of this release
## ✨ New Features
- **Feature name**:Chinese description of what it does
## 🚀 Improvements
- **Improvement name**:Chinese description of what changed
## 🐛 Bug Fixes
- Chinese description of the fix
## 🔧 CI/CD
- Chinese description of CI changes
Rules:
- Map commit prefixes:
feat→ ✨ New Features,fix→ 🐛 Bug Fixes,refactor/perf/style→ 🚀 Improvements,ci/build→ 🔧 CI/CD - Group related commits by feature/topic — do NOT list every commit individually
- Write meaningful Chinese summaries, not just translations of commit messages
- Omit empty sections
- Do NOT include a Contributors section (GitHub shows contributor avatars automatically)
- For beta releases, still include all changes since last stable
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.
- 1mo ago First seen · 140 lines · 15 tokens per session scan A 8d766272a02f
release is a command published in the GitHub repository OtterMind/youclaw (724 stars, last pushed 6mo ago), licensed MIT. It adds 15 tokens to every session and 1,019 once invoked, about $0.0001 per session on Opus 5.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-30.
Other commands, from other repositories
release
Before publishing, run the compatibility bootstrap.
land
Resolve and squash merge one named, currently authorized pull request.
quality
A command for temporarily clearing a release quality gate or one named check, while recording the reason and expiry time. A quality gate is a required check that normally blocks completion or release.
release-notes
Generate consistent, well-structured release notes from git history. Triggered on release tags following semver patterns (v..) to produce categorized changelog with breaking changes, features, fixes, and contributor attribution.
release-manager
Automated release coordination and deployment with ruv-swarm orchestration for seamless version management, testing, and deployment across multiple packages.
release-plan
A release-planning command for a software change. It documents the release scope, rollback plan, gradual or full rollout, and monitoring before waiting for human approval.