Skip to content

Instantly share code, notes, and snippets.

@Reebz
Last active April 17, 2026 01:23
Show Gist options
  • Select an option

  • Save Reebz/b3102c6a5de8238d3b60eb63450ee48e to your computer and use it in GitHub Desktop.

Select an option

Save Reebz/b3102c6a5de8238d3b60eb63450ee48e to your computer and use it in GitHub Desktop.
Random co-author signoff for commits and PRs via Claude Code
# INSTRUCTIONS:
# 1. place this bash script in the folder: /Users/<you>/.claude/hooks/signoff.sh
# 2. add this to your CLAUDE.md: Never use the default "Co-Authored-By: Claude" signoff. Instead, run `~/.claude/hooks/signoff.sh "<model>"` (e.g. `signoff.sh "Opus 4.6"`) and use its output as the signoff on every commit and PR.
# Restart your Claude Code session if needed, its loaded on start.
# Enjoy! https://github.com/Reebz
#!/bin/bash
# Random co-author signoff for commits and PRs
# Model is passed as $1, defaults to "Opus 4.6"
# Example: "Co-Authored-By: Jeffrey "The Dude" Lebowski (Opus 4.6) <[email protected]>"
model="${1:-Opus 4.6}"
names=(
"Ace Irwin Ventura Sr."
'Anthony Edward "Tony" Stark'
"Austin Danger Powers"
"Bartholomew J. Simpson"
"Borat Margaret Sagdiyev"
"Buddy Hobbs-Elf"
"Buffy Anne Summers"
"Captain Jack Sparrow"
"Derek Zoolander"
"Dr. Peter Venkman Ph.D. Ph.D."
"Dwight Kurt Schrute III"
"He-Man, Prince of Eternia"
'James Duncan "Jim" Halpert'
'Jeffrey "The Dude" Lebowski'
"Katniss Everdeen"
'Landon "Happy" Gilmore'
"Leslie Barbara Knope"
"Lisa Marie Simpson"
'Lt. Franklin "Frank" Drebin Sr.'
'Marjorie Jacqueline "Marge" Bouvier Simpson'
"Michael Gary Scott"
"Mr. Bean"
"Mrs. Euphegenia Doubtfire"
"Napoleon Dynamite"
"Natalia Alianovna Romanova"
"Princess Fiona of Far Far Away"
"Queen Elsa of Arendelle"
"Rachel Karen Green"
"Regina George"
'Ronald Joseph Aaron "Ron" Burgundy'
'Ronald Ulysses "Ron" Swanson'
"Sterling Malory Archer"
"Wade Winston Wilson"
"Walter Hartwell White"
)
name="${names[$((RANDOM % ${#names[@]}))]}"
echo "Co-Authored-By: $name ($model) <[email protected]>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment