yosh1

Cocommit — AI skill for Claude Code

AI community

Count the commits you and an AI agent wrote together — an SVG card for your GitHub profile, from git history rather than session logs.

How to install Cocommit

This entry records only its repository, not the path inside it, so there is no exact command to give. Open yosh1/cocommit and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Cocommit does

Count the commits you and an AI agent wrote together — an SVG card for your GitHub profile, from git history rather than session logs.

Alternatives in AI

  • Om Humanize — Voice-calibrated editing — makes Claude-drafted text sound like you wrote it, not like AI wrote it 4.6k ★
  • Project Butler — Project memory system for AI coding assistants (Claude Code, Cursor, Codex): session logs, project wiki, rules 372 ★
  • Tokentab — A CLI that reads Claude Code, Codex, and Gemini CLI session logs and works out how much they cost, by model, p 226 ★

README

cocommit

**How much of your git history did you write with an AI agent?**

cocommit card

Other tools count how much you *talked* to an AI — tokens spent, sessions opened, transcripts on disk. `cocommit` counts what you *shipped together*: commits carrying a `Co-authored-by:` trailer, as recorded in git history.

The difference matters. A token count is a private number that disappears when you change laptops and that nobody else can check. A co-authored commit is a fact in your repository's history. Anyone can verify it:

$ git log --format='%b' | grep -c 'Co-Authored-By: Claude'

Install

Nothing to install — it has no dependencies and runs straight from source.

$ GITHUB_TOKEN=ghp_... npx github:yosh1/cocommit --user your-login

You need a [personal access token][pat] with the **`repo`** scope. Without it the search API cannot see your private repositories, and for most people that is where nearly all of the work lives.

Put it on your profile

Add the workflow to the repository named after your GitHub username — the one that renders as your profile — then reference the committed SVG from its README.

  1. Copy `.github/workflows/cocommit.yml` into that repository.
  2. Add a repository secret named COCOMMIT_TOKEN holding your PAT.
  3. Reference the card from your README:
![Commits co-authored with Claude](./cocommit.svg)
  1. Run the workflow once from the Actions tab. After that it refreshes daily.

The card is committed to your own repository, so GitHub serves it from there. There is no service to sign up for, no server to stay up, and no third party holding a token that can read your private code.

What leaves your repositories

Only counts. The card contains your username, two totals, a percentage, and a commit count per month. Repository names, commit messages, diffs, and collab