PlugMyPlugin
← Browse

no-ai-attribution

the-mentor ★ 4

This hook plugin intercepts git commits and GitHub CLI commands before execution to block any that contain AI-assistant attribution mentions (Claude, Copilot, Codex, etc.), preventing them from being added to git history. It runs as a PreToolUse hook using only Python standard library, inspecting command-line arguments and referenced message files to catch co-authored-by trailers and "Generated with" footers across git, GitHub CLI, and GitHub MCP tools.

Security DevOps No API key detected runs shell

Install

> /plugin marketplace add the-mentor/no-ai-attribution
> /plugin install no-ai-attribution

Source: https://github.com/the-mentor/no-ai-attribution

What it's made of

1 hook

Commands
0
Agents
0
Skills
0
MCP servers
0
Hooks
1 · PreToolUse

What it needs & plugs into

API keys
none
Paid services
none detected
External tools
python3
Talks to
nothing external detected

Analyzed . Facts extracted from the plugin's files. Prose generated by claude-haiku-4-5-20251001.

Is this your plugin?

Claim it to keep the card accurate and enter the weekly contest. Requires signing in as the GitHub owner (the-mentor).