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.
curl -O https://raw.githubusercontent.com/mengrru/Spherse/main/.agents/skills/release-new-version/SKILL.mdgit clone --depth 1 https://github.com/mengrru/SpherseWrote 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/skills/mengrru/spherse/release-new-version)<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.
<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>- NVIDIA SkillSpector pass
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.00035 | $0.01029 |
| Opus 5 | $0.00017 | $0.00515 |
| Sonnet 5 | $0.00007 | $0.00206 |
| Haiku 4.5 | $0.00003 | $0.00103 |
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.
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
-
确认工作区干净
git status --short如果有未提交的更改,提示用户先处理。
-
同步 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 -
查看自上个 tag 以来的 commit
git tag --sort=-creatordate | head -1 # 获取最新 tag git log --oneline <latest-tag>..main # 查看待发布 commit展示给用户确认版本范围正确。
-
创建并推送 tag
git tag v<version> git push origin v<version>tag 格式为
v+ 语义化版本号(如v0.1.12)。 -
确认 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页消费)
- verify 门禁(ubuntu 上跑
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。
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.
- 10d ago First seen · 76 lines · 35 tokens per session scan A 51f72ea6f3d7
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.
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.
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.
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.
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.
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…
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.