LOCAL · PRIVATE · FREE

Your work. Not your agent's signature.

You used an AI coding tool. That does not mean every commit and pull request needs to advertise it. Remove automatic agent credits on your own machine, before Git records them or GitHub receives them.

$ ai-credit-scrub install --git

installed Git commit-msg rewriter
installed Git pre-push guard

$ git commit -m "Docs"

automatic agent credit removed
The local publication boundary

Stop the footer before it becomes history.

Rewrite the draft

commit-msg cleans the temporary message after a client proposes it and before Git creates a commit object.

Stop the escape

pre-push inspects outgoing messages and blocks a bypassed credit before the remote update is sent.

Create PRs locally

ai-credit-scrub pr create sanitizes title and body before it delegates to your local gh.

What it is

AI-assisted code. Human-owned publication.

ai-credit-scrub is not a hosted checker or an AI classifier. It is a small, deterministic Go binary for developers who want the final repository message to be theirs.

  • No account, subscription, or model calls.
  • No code or prompt upload.
  • No Git author or committer rewrite.
  • No removal of ordinary product mentions or human co-authors.
Frequently asked questions

Clear boundaries make local tools trustworthy.

Does it work with Codex, Claude Code, Cursor, Windsurf, and Copilot?

Yes for local Git commits through the universal hooks. Optional adapters remind those tools to use the local PR wrapper.

What about a PR created directly through GitHub MCP or the web UI?

PR text does not pass through Git. Use the local wrapper, or replace the GitHub-writing MCP server with a local sanitized proxy that you control.

Can a user bypass it?

Yes. git push --no-verify is an intentional client-side override. A local hook cannot prevent a user from deliberately disabling local hooks.