commit-message-storyteller

commit-message-storyteller is a skill for Claude Code, Codex from boshi-xixixi/TraeSkill. It costs 98 tokens per session (1,179 once invoked), scanned A, original, MIT.

A tool that reads Git changes and writes a Conventional Commits message explaining both what changed and why. Git is a system for tracking code changes, while Conventional Commits is a shared format for naming those changes.

In plain words
What is it for?
Use it to describe staged or unstaged changes, prepare commit messages, summarize a diff, or document the reason for a pull request.
Why use it?
It turns a raw diff or file list into a commit message that gives teammates useful context about the change.

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/boshi-xixixi/traeskill/commit-message-storyteller
Any agent
npx skills add boshi-xixixi/TraeSkill --skill commit-message-storyteller
Clone the repo
git clone --depth 1 https://github.com/boshi-xixixi/TraeSkill

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 commit-message-storyteller

README.md
[![agentmods](https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/commit-message-storyteller.svg)](https://agentmods.dev/skills/boshi-xixixi/traeskill/commit-message-storyteller)
Your own site
<a href="https://agentmods.dev/skills/boshi-xixixi/traeskill/commit-message-storyteller"><img src="https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/commit-message-storyteller.svg" alt="Measured on agentmods" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,179 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.00098 $0.01179
Opus 5 $0.00049 $0.00589
Sonnet 5 $0.00020 $0.00236
Haiku 4.5 $0.00010 $0.00118

Measured yesterday against content hash 9a351d6276d9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

commit-message-storyteller 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 yesterday.

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.

.trae/Skills/.agents/skills/commit-message-storyteller/SKILL.md · 143 lines

How it starts

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

Commit Message Storyteller

Transforms raw git diffs and change descriptions into clear, story-driven commit messages that follow the Conventional Commits specification. Instead of "update file.js", you get messages that communicate intent, context, and impact.

When to Use This Skill

  • User says "write a commit message", "help me commit", or "generate a commit"
  • User pastes a git diff or describes code changes
  • User says "what should I commit this as?" or "summarize my diff"
  • User wants better commit history for their team or open-source project
  • User is preparing a pull request and wants meaningful commit messages

Prerequisites

Have at least one of the following ready:

  • Output from git diff or git diff --staged
  • A description of what you changed and why
  • A list of modified files

How It Works

Step 1: Gather the Change Context

Ask the user (or infer from the diff) for:

  1. What changed — files, functions, logic affected
  2. Why it changed — bug fix, new feature, refactor, performance, etc.
  3. Who/what triggered it — issue number, user request, tech debt, etc.

If the user provides a raw git diff, extract this context automatically from the diff.

Step 2: Identify the Commit Type

Map the change to a Conventional Commits type using this guide:

Type Use When
feat A new feature or capability is added
fix A bug or incorrect behavior is corrected
refactor Code restructured without changing behavior
perf A change that improves performance
docs Documentation only changes
style Formatting, whitespace, missing semicolons (no logic change)
test Adding or updating tests
chore Build process, dependency updates, config changes
ci CI/CD pipeline changes
revert Reverting a previous commit

See references/conventional-commits-guide.md for detailed examples.

Step 3: Write the Commit Message

Read the full file on GitHub · 143 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday First seen · 143 lines · 98 tokens per session scan A 9a351d6276d9

Subscribe to this mod's changes

commit-message-storyteller is a skill published in the GitHub repository boshi-xixixi/TraeSkill (259 stars, last pushed 3mo ago), licensed MIT. It adds 98 tokens to every session and 1,179 once invoked, about $0.0005 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-09-03.

Related

Other skills, from other repositories

commit-message

把一团 diff 提炼成规范、可追溯的提交信息。核心:一条提交说清"做了什么"和"为什么",让未来的自己(和同事)能从提交历史里读懂项目演进。.

Lion-1209/Lion-Skills · 15 tokens

chinese-commit-conventions

中文 commit 与 changelog 配置参考——Conventional Commits 中文适配、commitlint/husky/commitizen 中文模板、conventional-changelog 中文配置。仅在用户显式 /chinese-commit-conventions 时调用,不要根据上下文自动触发。.

jnMetaCode/superpowers-zh · 65 tokens

ship-it

Code commit, PR creation, merge, and issue closure workflow via GitHub CLI (gh). Triggers after a goal (GitHub Issue) implementation is complete — commit code, push branch, create PR, merge, then close the issue. Use when the user says "提交代码", "commit and merge", "创建PR", "合入", "关闭issue", "ship-it", or when a goal…

smallnest/goal-workflow · 96 tokens

regrouping-git-history

Rebuild a tangled feature branch into a small set of reviewer-friendly logical commits while preserving its final tree byte-for-byte. Use when asked to regroup, squash, tidy, or rewrite a branch with many interleaved feature, fixup, review, merge, or formatting commits. Resolve the actual PR base, plan groups with the…

magarcia/skills · 108 tokens

pr

Commit scoped local changes, push a branch, and open a pull request following repository conventions for naming, commit format, templates, issue links, readiness, and reviewers. Use when the user asks to open a PR, commit and push, or as the publishing stage of $ship.

magarcia/skills · 58 tokens

chinese-commit

写 git commit 时使用。生成规范的 Conventional Commits(英文 type + 中文主题),主题精炼。.

Wade-DevCode/awesome-coding-skills-cn · 28 tokens