release

release is a command for Claude Code from shenjingnan/xiaozhi-client. It costs 0 tokens per session (225 once invoked), scanned A, original, MIT.

A release command for publishing a new project version using release-it, a tool that automates common release steps.

In plain words
What is it for?
Use it after tests, checks, and builds pass to choose a semantic version and publish the project.
Why use it?
It reduces mistakes in version changes, changelogs, Git tags, and GitHub releases.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: installed under .agents/ (shared by several agents).

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 commands/shenjingnan/xiaozhi-client/release
Clone the repo
git clone --depth 1 https://github.com/shenjingnan/xiaozhi-client

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/shenjingnan/xiaozhi-client/release.svg)](https://agentmods.dev/commands/shenjingnan/xiaozhi-client/release)
Your own site
<a href="https://agentmods.dev/commands/shenjingnan/xiaozhi-client/release"><img src="https://agentmods.dev/badge/commands/shenjingnan/xiaozhi-client/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 225 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.1 $0.00000 $0.00225
Opus 5 $0.00000 $0.00112
Sonnet 5 $0.00000 $0.00045
Haiku 4.5 $0.00000 $0.00022

Measured 6d ago against content hash 16e682840a5a, 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 6d 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.

.agents/commands/release.md · 35 lines

What it actually says

Release Command

创建项目发布。

执行步骤

  1. 确保所有测试通过: pnpm run test
  2. 确保代码检查通过: pnpm run check
  3. 确保构建成功: pnpm run build
  4. 运行发布: pnpm run release

发布流程

release-it 会自动执行以下操作:

  1. 检查工作区是否干净
  2. 提示选择版本号(major/minor/patch)
  3. 更新 package.json 版本
  4. 更新 CHANGELOG.md
  5. 创建 Git commit
  6. 创建 Git tag
  7. 推送到远程仓库
  8. 创建 GitHub Release

版本规范

遵循语义化版本规范:

  • major: 不兼容的 API 变更
  • minor: 向后兼容的新功能
  • patch: 向后兼容的 Bug 修复

配置文件

发布配置位于 .release-it.json

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. 6d ago First seen · 35 lines · 0 tokens per session scan A 16e682840a5a

Subscribe to this mod's changes

release is a command published in the GitHub repository shenjingnan/xiaozhi-client (338 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 225 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.