Claude Code mod
trailer-guard
Per-repo commit attribution policy: refuses a git commit, gh pr create/edit or git push that would carry a Co-Authored-By: Claude trailer or the Generated with Claude Code footer into a repo that forbids them (tinkerologie, esphome, home-assistant upstreams by default), with the lines to remove.
Install
/plugin marketplace add davidcoulson/crab-workshop
/plugin install trailer-guard@crab-workshopMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L2Writes or runs: runs processes, reads files
- Sees
- Bash calls
- Hooks
session.starttool.callattribution.textcommand.run
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- davidcoulson/crab-workshop
- Folder
plugins/trailer-guard- Marketplace
crab-workshop- Author
- David Coulson
- License
- MIT
- Last updated
- 12 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is trailer-guard?
Per-repo commit attribution policy: refuses a git commit, gh pr create/edit or git push that would carry a Co-Authored-By: Claude trailer or the Generated with Claude Code footer into a repo that forbids them (tinkerologie, esphome, home-assistant upstreams by default), with the lines to remove. It is a mod for Claude Code, from davidcoulson/crab-workshop on GitHub.
What can the trailer-guard mod access?
Its widest reach is "writes or runs" (runs processes, reads files). It sees Bash calls. Like any mod, it runs with your permissions.
How do I install trailer-guard?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add davidcoulson/crab-workshop and then /plugin install trailer-guard@crab-workshop.
More git & github mods
session
oakoss/claude-plugins
Titles each Claude Code session after the git branch it works on, so its terminal tab and the /resume list name the work, and keeps a name you gave it.
worktree-hints
pradyb/claude-mods
In a worktree session, tells Claude up front which commands the worktree guard refuses (heredoc and inline-script edits, multi-line scripts, cd to computed paths), so it uses Edit and plain commands instead of retrying.
replay-theater-plus
Verselo-Orbit/claude-mods
Spiel die Dateiänderungen des letzten Turns Schritt für Schritt ab, auch Änderungen durch Shell-Befehle (in Git-Repos).
worktree-terminal
cmorss/claude-mods
/terminal: show or open a Terminal-panel tab in this conversation's git worktree (Claude desktop app)
replay-theater
StarHawkMK1/cc-mods
Replay Theater: step through the file edits Claude made in the last turn, one diff at a time.
worktrees
narrowstacks/claude-code-mods
/worktrees pane: each git worktree with branch, uncommitted changes, ahead/behind and PR state; removes clean worktrees whose PR is merged or closed
Browse the most popular Claude Code mods, all git & github mods, or the skills and MCP server directories.