Spherse: Skill for Claude Code

.agents/skills/release-new-version/SKILL.md

release-new-version is a skill for Claude Code, Codex from mengrru/Spherse. It costs 35 tokens per session (1,029 once invoked), scanned A, original, MIT.

A release procedure for synchronizing development code with the main branch, creating a version tag, and starting the automated release build. A version tag is a Git label such as v0.1.12.

In plain words
What is it for?
Use it to publish a new Spherse version, merge dev into main, push a semantic-version tag, and verify that CI builds the release packages.
Why use it?
It provides a repeatable checklist for checking changes, confirming the release range, and triggering the project’s release automation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is mengrru/Spherse's own configuration. It tells Claude Code and Codex how to work on Spherse itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Spherse configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mengrru/Spherse. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mengrru/Spherse/main/.agents/skills/release-new-version/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/mengrru/Spherse

Made for: Claude Code, Codex.

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-new-version

README.md
[![agentmods](https://agentmods.dev/badge/skills/mengrru/spherse/release-new-version/github.svg)](https://agentmods.dev/skills/mengrru/spherse/release-new-version)
Your own site
<a href="https://agentmods.dev/skills/mengrru/spherse/release-new-version"><img src="https://agentmods.dev/badge/skills/mengrru/spherse/release-new-version/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-new-version

Your own site · 80×15
<a href="https://agentmods.dev/skills/mengrru/spherse/release-new-version"><img src="https://agentmods.dev/badge/skills/mengrru/spherse/release-new-version.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,029 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00035 $0.01029
Opus 5 $0.00017 $0.00515
Sonnet 5 $0.00007 $0.00206
Haiku 4.5 $0.00003 $0.00103

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

Security

Grade A, and why

release-new-version 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.

.agents/skills/release-new-version/SKILL.md · 76 lines

How it starts

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

Release New Version

Overview

发布新版本 = 同步 dev → main + 打 git tag 并推送。CI(.github/workflows/build-and-release.yml)会从 tag 自动同步版本号、构建安装包、上传到 GitHub Release 和阿里云 OSS 镜像。不需要手动修改 package.json 的 version。

When to Use

  • 用户说「发新版本」「release」「发布 v0.1.x」等指令
  • 一个开发周期结束,准备发布新版本

Steps

  1. 确认工作区干净

    git status --short
    

    如果有未提交的更改,提示用户先处理。

  2. 同步 dev 到 main

    git fetch origin
    git checkout dev && git pull
    git checkout main && git pull
    git log --oneline main..dev
    

    展示 dev 领先于 main 的 commit 列表;为空则跳过本步剩余动作。

    git merge --ff-only dev
    git push
    
  3. 查看自上个 tag 以来的 commit

    git tag --sort=-creatordate | head -1   # 获取最新 tag
    git log --oneline <latest-tag>..main    # 查看待发布 commit
    

    展示给用户确认版本范围正确。

  4. 创建并推送 tag

    git tag v<version>
    git push origin v<version>
    

    tag 格式为 v + 语义化版本号(如 v0.1.12)。

  5. 确认 CI 触发 提示用户可在 GitHub Actions 页面查看构建进度。CI 会:

    • verify 门禁(ubuntu 上跑 npm run verify:lint + build + typecheck + 单测 + i18n;失败则不建 release、不打包)
    • 创建 GitHub Release(--generate-notes 自动生成 release notes)
    • 构建 macOS arm64/intel DMG + Windows x64/arm64 EXE
    • 打包产物冒烟验证(e2e/packaged-smoke.spec.ts,仅在 arch 匹配的 job 上执行:mac arm64 / win x64;启动 unpacked 二进制验证 renderer 挂载 + server /health + 版本号同步)
    • 上传到 GitHub Release
    • 上传到阿里云 OSS 镜像 + 更新 latest.json
    • 全量重建 changelog 并上传 OSS spherse/changelog.json(landing /download 页消费)

Key Knowledge

  • 不需要手动改 version:CI step Sync app version from tag(build-and-release.yml:62-64)执行 npm version "${GITHUB_REF_NAME#v}" --no-git-tag-version,从 tag 名自动设置 packages/desktop 的版本号。
  • packages/desktop/package.json 的 version 平时保持 0.1.0,不随发布更新,只在 CI 构建时临时设置。
  • tag push 即触发:workflow 监听 push.tags: ["v*"],推送 tag 自动启动全流程。
  • changelog 可自愈重建publish-changelog 为全量重建(幂等),changelog 内容异常或 OSS 文件丢失时,手动 workflow_dispatch 该 workflow(输入任一已发布 tag)即可重新生成上传,无需发新版本。
  • 为什么 --ff-only:不产生 merge commit,main 的历史是 dev 历史的完整延续;无法 fast-forward 时明确报错而不是静默创建 merge commit。

Read the full file on GitHub · 76 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 · 76 lines · 35 tokens per session scan A 51f72ea6f3d7

Subscribe to this mod's changes

release-new-version is a skill published in the GitHub repository mengrru/Spherse (71 stars, last pushed 4d ago), licensed MIT. It adds 35 tokens to every session and 1,029 once invoked, about $0.0002 per session on Opus 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.

Related

Other skills, from other repositories

parallel-pr-review

Use when asked to "review the open PRs", review a batch or stack of pull requests, or run a recurring PR-review pass on a repo — especially with many PRs, stacked branches, conflicts, or security-sensitive changes. Covers grouping, fan-out to review subagents, verdict synthesis, and posting.

suyoumo/ClawProBench · 67 tokens

changelog

Update per-package CHANGELOG.md files for a Ratel release. Drafts entries with git-cliff (scoped per package), lets you curate, then writes the CHANGELOGs. Handles both RC entries and GA-graduation collapse (merging X.Y.Z-rc. sections into a single X.Y.Z section). Invoke before tagging a release.

ratel-ai/ratel · 74 tokens

release-gate-loop

A release check that tests a change, reports whether it passes, and can run a limited fix-and-retest cycle. A release is the act of making a software version available.

KongFangXun/sofagent · 59 tokens

b3os-release-ops

A release and deployment checklist for the b3os project. It covers merging code, live releases, urgent fixes, and changes to public Git history.

b3rys/b3rys-team-os · 113 tokens

task-final-report

Apply the final report and PR publication procedure for a Hyper-Waterfall task. Write the final report (report.md), mark the daily task board complete, create the final commit, push the remote publish/task{N} branch, and create an Open PR to {BASEBRANCH}. Invoke only immediately before PR publication after all stages…

postmelee/hyper-waterfall · 74 tokens

dhpk-deploy-list

A command-line tool that builds a list of files to include in a software deployment from Git history. A deployment is the process of shipping a change to a running environment.

hmj1026/dhpk · 151 tokens