ai-credit-scrub Tool Strips AI Attribution from Git Commits Before They Go Public
A new open-source command-line tool called ai-credit-scrub helps developers automatically remove AI agent attribution lines from commit messages and pull requests before they enter version control history. The tool installs local Git hooks that intercept commit messages at the commit-msg and pre-push stages, silently stripping known AI credit signatures such as 'Co-authored-by: Claude' or 'Generated with Claude Code'. It also wraps the GitHub CLI pull request creation command to clean PR titles and bodies before submission. Developers can install it via a single command in any Git repository and configure custom attribution patterns through a YAML file. The tool is deliberately narrow in scope, targeting only explicit, known agent signatures rather than attempting to detect AI-generated content broadly.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in