agentsclimarketplace

Co author fix

Skill samhcus/skills/skills/co-author-fix

Skills for any AI agent harness, by Mad House

Install
npx -y skills add samhcus/skills --skill co-author-fix

Assembled 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

  1. Run bash scripts/fix.sh
  2. If had_trailer: true - report "already present", done
  3. If amended: true - report the amended hash
  4. 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.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.