Clean Commit Skill banner
zyl100200 zyl100200

Clean Commit Skill

AI community

Description

Keep AI noise out of your git history. A cross-platform agent skill that blocks Co-Authored-By bots, generator footers, and model-name watermarks in commit messages — so git log, git blame, and changelogs stay signal, not spam.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

clean-commit

Keep AI noise out of your git history. A cross-platform agent skill that blocks `Co-Authored-By` bots, generator footers, and model-name watermarks in commit messages — so `git log`, `git blame`, and changelogs stay signal, not spam.

A portable [Agent Skill](https://www.anthropic.com/engineering/agent-skills) that stops your AI coding assistant from leaking model names, tool watermarks, `Co-Authored-By: Claude`, `Generated with Cursor`, and similar attribution into your git commit messages.

It does one thing only: keep commit messages in a pure human-authored voice. It does not enforce a particular format (Conventional Commits, ticket prefixes, etc.) — your existing repo conventions stay intact.

Why

Most AI coding agents default to appending their own signature when they run `git commit` on your behalf. That noise pollutes `git log`, `git blame`, release notes, and changelogs, and often leaks internal tool choices to external readers. `clean-commit` turns that default off.

What it does

  • Forbids AI co-author trailers (Claude, ChatGPT, Cursor, Copilot, Codex, Gemini, ...).
  • Strips generator footers and bot emoji signatures (🤖 Generated with ...).
  • Blocks model and product names used as authorship.
  • Blocks AI self-references ("As an AI ...", "I generated ...").
  • Keeps real human Co-Authored-By: and Signed-off-by: trailers.
  • Allows AI product names when the commit is genuinely about that product.
  • Only allows AI attribution when the user explicitly asks for it in the current turn.

See [SKILL.md](SKILL.md) for the full ruleset.

What it does not do

  • Does not enforce commit subject style, length, scopes, or Conventional Commits.
  • Does not install a git hook. This is an agent-side rule only, not a server-side gate.
  • Does not rewrite existing history. Pre-existing dirty commits are left alone unless you ask.

Install

`clean-commit` is a single skill directory. Any agent that supports the SKILL.md spec can load it. Dr