Co author fix
Skills for any AI agent harness, by Mad House
npx -y skills add samhcus/skills --skill co-author-fixAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Check whether the last git commit in the current repo has the Claude co-author trailer. If missing, amend it. Triggers on "add co-author", "fix co-author", "missing co-author", "add claude to commit", "co-author trailer".
SKILL.md
1.1 KB, as published. Nobody here has run it
co-author-fix
Every commit made during a Claude session should have the co-author trailer. This skill checks and repairs the last commit if it is missing.
Tools
scripts/fix.sh
Checks the last commit for the co-author trailer. Amends if missing.
- Input:
REPO_PATH=<absolute path>(default: current directory) - Output:
{had_trailer: bool, amended: bool, commit_hash: string, message_preview: string}
Workflow
- Run
bash scripts/fix.sh - If
had_trailer: true- report "already present", done - If
amended: true- report the amended hash - If the commit is already pushed, warn that the amend requires a force-push
Co-author format
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Git trailers require a blank line between the message body and the trailer block.