coauthor-cleaner

Remove AI coauthor trailers and generated-by comments from commits and pull requests.

Updated Jun 9, 2026
One-click install
npx skills add https://github.com/ericdahl-dev/coauthor-cleaner --skill coauthor-cleaner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coauthor-cleaner
Source: https://github.com/ericdahl-dev/coauthor-cleaner/tree/main/.claude/skills/gstack
Command: npx skills add https://github.com/ericdahl-dev/coauthor-cleaner --skill coauthor-cleaner

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill removes unwanted AI coauthor trailers, generated-by comments, and attribution boilerplate from commits, staged changes, and pull requests, helping maintain clean and uncluttered code history.

Core Features & Use Cases

  • Commit Cleaning: Automatically remove AI coauthor trailers and generated-by comments.
  • Pull Request Cleaning: Clean commits before they are pushed to a pull request.
  • Staged Changes Cleaning: Clean staged changes directly in the repository.

Quick Start

Use the coauthor-cleaner to clean all staged changes and push them to the repository.

Frequently Asked Questions about coauthor-cleaner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I remove AI coauthor trailers from git commit history?

Remove AI coauthor trailers from git commit history by executing regex replacements and commit filtering. This process strips generated-by comments and attribution boilerplate from commits and staged changes to ensure code history is clear.

What's the best way to clean staged changes before pushing to a pull request?

Clean staged changes before a pull request by running regex replacements that remove AI boilerplate and coauthor trailers. This filters the commits directly in the repository, ensuring uncluttered code history before pushing.

Why does my commit history have generated-by comments and attribution boilerplate?

Generated-by comments and attribution boilerplate appear in commit history when AI assistants add coauthor trailers. Removing them requires regex replacements and commit filtering to clean the repository history of unwanted metadata.

Can I clean AI boilerplate from commits without dependencies?

You can clean AI boilerplate from commits without dependencies because the tool operates standalone. It uses scripts to execute regex replacements and commit filtering, requiring no external packages to remove coauthor trailers.

Does commit cleaning work on pull request commits?

Commit cleaning works on pull request commits by removing unwanted AI coauthor trailers and generated-by comments. It filters the commits before they are pushed, maintaining clean code history in the source code repository.

What types of AI attribution boilerplate can be removed from source code repositories?

AI attribution boilerplate that can be removed from source code repositories includes AI coauthor trailers and generated-by comments. The tool executes regex replacements and commit filtering to ensure code history is clear and uncluttered.