Automatically add Co-authored-by trailers to your git commits when working with AI assistants like Claude or GitHub Copilot.
How it works
AI Co-author adds a panel to the Source Control sidebar where you can check which AI assistants helped with your current work. When you commit, a lightweight prepare-commit-msg git hook appends the appropriate Co-authored-by trailers to your commit message.
feat: add user authentication
Co-authored-by: Claude <noreply@anthropic.com>
Features
Checkbox UI in Source Control panel -- toggle AI co-authors on and off directly from the SCM sidebar
Automatic git hook management -- installs and manages a prepare-commit-msg hook; plays nicely with existing hooks
Persisted state -- your selections are remembered across VS Code sessions
Multi-repo support -- works with workspaces containing multiple git repositories
Configurable co-authors -- add any AI assistant via settings
Usage
Open the Source Control panel in VS Code
Find the AI Co-authors section
Check the AI assistants that helped with your work
Commit as normal -- the Co-authored-by trailers are added automatically
Configuration
Add or modify AI co-authors in your VS Code settings: