zh-commit-msg

zh-commit-msg is a skill for Claude Code, Codex from guyulong/cn-agent-skills. It costs 14 tokens per session (321 once invoked), scanned A, original, MIT.

A tool for writing Git commit messages in Chinese using a defined format, such as describing a new feature or bug fix.

In plain words
What is it for?
Use it to create messages for features, fixes, documentation, refactoring, performance work, tests, configuration, and other code changes.
Why use it?
It removes the need to remember the commit format and keeps messages consistent and easy for a team to understand.

Skill for Claude CodeCodex

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 skills/guyulong/cn-agent-skills/zh-commit-msg
Any agent
npx skills add guyulong/cn-agent-skills --skill zh-commit-msg
Clone the repo
git clone --depth 1 https://github.com/guyulong/cn-agent-skills

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 zh-commit-msg

README.md
[![agentmods](https://agentmods.dev/badge/skills/guyulong/cn-agent-skills/zh-commit-msg.svg)](https://agentmods.dev/skills/guyulong/cn-agent-skills/zh-commit-msg)
Your own site
<a href="https://agentmods.dev/skills/guyulong/cn-agent-skills/zh-commit-msg"><img src="https://agentmods.dev/badge/skills/guyulong/cn-agent-skills/zh-commit-msg.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 321 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 $0.00014 $0.00321
Opus 5 $0.00007 $0.00161
Sonnet 5 $0.00003 $0.00064
Haiku 4.5 $0.00001 $0.00032

Measured 3d ago against content hash 28a6915eecb9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

zh-commit-msg 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 3d 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.

skills/zh-commit-msg/SKILL.md · 61 lines

What it actually says

中文Git提交信息生成器

使用场景

根据代码变更自动生成规范的中文commit message。

提交规范

格式

<类型>(<范围>): <描述>

[正文]

[脚注]

类型

  • feat: 新功能
  • fix: 修复bug
  • docs: 文档更新
  • style: 代码格式(不影响功能)
  • refactor: 重构
  • perf: 性能优化
  • test: 测试相关
  • chore: 构建/工具变更
  • ci: CI配置变更

示例

feat(用户模块): 添加微信登录功能

- 集成微信OAuth2.0授权
- 添加用户信息获取接口
- 实现token刷新机制

Closes #123
fix(支付): 修复微信支付回调验证失败问题

- 修复签名验证逻辑错误
- 添加异常处理
- 增加日志记录

Fixes #456

注意事项

  • 描述不超过50个字符
  • 正文每行不超过72个字符
  • 使用中文描述,方便团队理解
  • 每个提交只做一件事
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. 3d ago First seen · 61 lines · 14 tokens per session scan A 28a6915eecb9

Subscribe to this mod's changes

zh-commit-msg is a skill published in the GitHub repository guyulong/cn-agent-skills (2 stars, last pushed 2mo ago), licensed MIT. It adds 14 tokens to every session and 321 once invoked, about $0.0001 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-31.