release

release is a command for Claude Code from deusyu/translate-book. It costs 11 tokens per session (354 once invoked), scanned A, original, MIT.

A release command that publishes a new version to a GitHub repository and ClawHub, a package registry for these add-ons.

In plain words
What is it for?
Use it to push the main branch, create and publish a version tag, and publish the current add-on with a specified semantic version.
Why use it?
It standardizes the required version-control and publishing steps and stops when a step fails.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: positional $N argument.

Good fit Use it to push the main branch, create and publish a version tag, and publish the current add-on with a specified semantic version.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/deusyu/translate-book/release
About the project

Rainman Translate Book is an agent skill that translates complete PDF, DOCX, or EPUB books into other languages by splitting them into chunks handled by parallel subagents. It is used with Codex, Claude Code, and OpenClaw to produce resumable, validated translations in several output formats.

deusyu/translate-book · 2,129 stars · on GitHub

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.

Clone the repo
git clone --depth 1 https://github.com/deusyu/translate-book

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/deusyu/translate-book/release/github.svg)](https://agentmods.dev/commands/deusyu/translate-book/release)
Your own site
<a href="https://agentmods.dev/commands/deusyu/translate-book/release"><img src="https://agentmods.dev/badge/commands/deusyu/translate-book/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 release

Your own site · 80×15
<a href="https://agentmods.dev/commands/deusyu/translate-book/release"><img src="https://agentmods.dev/badge/commands/deusyu/translate-book/release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 354 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.00011 $0.00354
Opus 5.5 $0.00004 $0.00142
Sonnet 5.5 $0.00002 $0.00071
Haiku 4.5 $0.00001 $0.00035

Measured 1mo ago against content hash e60f9a1e2a0c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • release — 100% identical, 32 lines differ
.claude/commands/release.md · 37 lines

What it actually says

If $1 is empty, stop and ask the user for the version. Do not proceed with an unset version: git tag v$1 would create and push a tag named literally v, and the git tag is the only version anchor in this repo.

$1 is bare semver (e.g. 0.3.0). The v prefix is applied only to the git tag, not to the ClawHub version.

Release version $1 by running these three steps in order. Stop and report immediately if any step fails — do not attempt to recover automatically.

  1. Push main:

    git push origin main
    
  2. Tag the release:

    git tag v$1 && git push --tags
    
  3. Publish to ClawHub:

    npx clawhub@latest publish ./ --version $1
    

First-time ClawHub publish on a machine requires npx clawhub@latest login (browser auth, cached per machine). If step 3 fails with Not logged in, ask the user to run that login command, then retry only step 3.

If step 3 fails for any other reason after the tag is already pushed, fix the cause and re-run only step 3 with the same version. Do not force-overwrite the tag (git tag -f) without explicit user approval.

When all three steps succeed, report the released version and the outcome of each step.

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. 1mo ago Changed · +18 lines e60f9a1e2a0c
  2. 1mo ago First seen · 19 lines · 11 tokens per session scan A 84caab1dd017

Subscribe to this mod's changes

release is a command published in the GitHub repository deusyu/translate-book (2,129 stars, last pushed 7d ago), licensed MIT. It adds 11 tokens to every session and 354 once invoked, about $0.0000 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.