ccx: Skill for Claude Code

.claude/skills/version-bump/SKILL.md

version-bump is a skill for Claude Code from BenedictKing/ccx. It costs 33 tokens per session (3,501 once invoked), scanned A, original, MIT.

A release-versioning procedure for increasing a project’s major, minor, or patch number and updating its changelog, the file that records user-visible changes.

In plain words
What is it for?
Use it to bump a version, update release notes, commit the changes, and create or push a Git tag that can start automated builds.
Why use it?
It reduces mistakes when preparing a release and checks that recent Git commits are represented in the changelog.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is BenedictKing/ccx's own configuration. It tells Claude Code how to work on ccx 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 ccx configures →

About the project

BenedictKing/ccx is an AI API proxy and protocol-translation gateway that provides one entry point for Claude, OpenAI, Codex Responses, Gemini, and other listed APIs. It is used to manage provider channels, keys, routing, monitoring, and failover, and the catalogue entries provide skills and instructions for operating it.

BenedictKing/ccx · 3,983 stars · on GitHub · benedictking.github.io

Reuse

Borrowing it

Nothing to install: this file belongs to BenedictKing/ccx. 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/BenedictKing/ccx/main/.claude/skills/version-bump/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/BenedictKing/ccx

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/benedictking/ccx/version-bump"><img src="https://agentmods.dev/badge/skills/benedictking/ccx/version-bump.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,501 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.00033 $0.03501
Opus 5.5 $0.00013 $0.01400
Sonnet 5.5 $0.00007 $0.00700
Haiku 4.5 $0.00003 $0.00350

Measured 2mo ago against content hash cc85901dc97e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

version-bump 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 2mo 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.

.claude/skills/version-bump/SKILL.md · 374 lines

How it starts

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

版本号升级技能

指令

当用户输入包含以下关键词时,自动触发版本升级流程:

中文触发条件

  • "升级版本"、"版本号"、"发布版本"、"更新版本"、"更新版本并提交"、"提交 git" → 执行版本升级
  • "bump"、"release" → 执行版本升级

参数说明

  • 无参数或 patch: patch 版本 +1
  • minor: minor 版本 +1, patch 归零
  • major: major 版本 +1, minor 和 patch 归零
  • 具体版本号 (如 2.1.0): 直接使用该版本号

发布选项

⚠️ 重要: 默认情况下,版本升级后必须创建 tag 并推送!只有推送 tag 才能触发 GitHub Actions 自动编译发布。除非用户明确说"不要 tag"或"--no-tag",否则始终创建并推送 tag。

  • --no-tag 或 "不要 tag": 不创建 git tag(仅提交版本变更)
  • --push 或 "并推送"、"push": 推送 commit 到远程仓库(默认行为)

项目版本文件

  • 位置: VERSION (项目根目录)
  • 格式: v{major}.{minor}.{patch}
  • 示例: v2.0.15

执行步骤

1. 读取当前版本号

cat VERSION

2. 解析并计算新版本号

根据用户指定的升级类型计算:

当前版本 升级类型 新版本
v2.0.14 patch (默认) v2.0.15
v2.0.14 minor v2.1.0
v2.0.14 major v3.0.0
v2.0.14 2.1.5 v2.1.5

3. 更新版本文件

echo "v{新版本号}" > VERSION

4. 更新 CHANGELOG.md

前置检查(必须):

  1. 读取 CHANGELOG.md,查找 ## [Unreleased] 区块(若不存在则创建)
  2. 获取上一个版本 tag 到 HEAD 的全部提交记录,用于后续校验补全:
    git log v{上一个版本}..HEAD --pretty=format:"%h %s"
    
  3. 如果没有提交记录,❌ 中止流程,提示用户没有新的变更

git log 校验与补全(始终执行):

无论 [Unreleased] 是否已有内容,都必须用 git log 逐条校验,确保每个提交都已在 CHANGELOG 中有对应条目:

  1. 解析 [Unreleased] 区块中已有的条目(按标题摘要匹配)
  2. 将 git log 中的每个 commit subject 与已有条目逐一比对
  3. 找出所有尚未记录的提交,分为两类:
    • 根本不存在:CHANGELOG 中完全没有该提交的条目 → 直接生成新条目追加到 [Unreleased]
    • 错位到前一个版本下:在 ## [v{上一个版本}] 区块中找到了该提交的条目 → 必须将条目从旧版本区块中剪切,移动到 [Unreleased] 区块(保留分类分组,删除原位置)
  4. 追加/移动完毕后,若全部已有记录则无需改动

⚠️ 错位处理必须优先于补全:先扫描 [v{上一个版本}] 区块是否有属于本次 v{新版本} 的提交,有则剪切移动,再对剩余遗漏的提交生成新条目。避免同一个提交在 CHANGELOG 中出现两次。

覆盖率校验(必须通过):

校验补全完成后,必须执行以下命令确认无遗漏:

# 获取本版本区间所有有效 commit 数量(排除 Merge 和 bump version)
TOTAL=$(git log v{上一个版本}..HEAD --pretty=%s | grep -cvE "^(Merge |chore: bump version)")
# 统计 CHANGELOG 中本版本的条目数量(按 "- **" 开头的行计数)
RECORDED=$(sed -n '/^## \[v{新版本号}\]/,/^## \[/p' CHANGELOG.md | grep -c "^- \*\*")
echo "有效提交: ${TOTAL} 条, 已记录: ${RECORDED} 条"

Read the full file on GitHub · 374 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. 2mo ago First seen · 374 lines · 33 tokens per session scan A cc85901dc97e

Subscribe to this mod's changes

version-bump is a skill published in the GitHub repository BenedictKing/ccx (3,983 stars, last pushed 3d ago), licensed MIT. It adds 33 tokens to every session and 3,501 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.

Related

version-bump compared with skills from other repositories

version-bump next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
version-bumpBenedictKing/ccxSkill4.0k3d agoMITA33Claude Code
releaseBlockRunAI/ClawRouterSkill6.7kyesterdayMITA44Claude Code, Codex
releasedevoxx/DevoxxGenieIDEAPluginSkill687yesterdayMITA121Claude Code
close-task-commit-push-prdevoxx/DevoxxGenieIDEAPluginSkill687yesterdayMITA64Claude Code
releasesonichi/sutandoSkill404todayMITA68Codex
cmux-releasemanaflow-ai/cmuxSkill29kyesterdaynoneA39Codex
ccb-githubSeemSeam/claude_codex_bridgeSkill3.6kyesterdaynoneA76Codex