Commit Share
Claude Code
(Anthropic)Codex
(OpenAI)Daily Commits (7-day moving average)
Daily Commit Market Share
Share of daily commits between Claude Code and Codex (7-day moving average)
Language Breakdown (%)
Repository Star Distribution (%)
Head-to-Head Comparison
| Metric | 🟠 Claude Code | 🟢 Codex |
|---|---|---|
| Total Commits | 4.0M | 128.7K |
| Active Repositories | 193.5K | 48.0K |
| Lines Added | 402.5M | 12.9M |
| Lines Deleted | 100.6M | 3.2M |
| Net Lines | 301.9M | 9.6M |
| Weekly Growth | 7.6% | -10.5% |
| Doubling Time | 66 days | 0 days |
| Est. GitHub Share | 0.0% | 0.0% |
| Top Language | Unknown (100.0%) | Unknown (100.0%) |
| Launch Date | 2025-02-24 | 2025-05-16 |
Claude Mentions (Broad)
Two parallel measurements of Claude usage. Strict counts commits with Anthropic's product attribution markers (“Generated with Claude Code”, claude.ai/code or claude.com/claude-code URLs). Broad counts every commit body containing Co-Authored-By: Claude — includes squash-merge duplicates, name-only references, and commits where Anthropic dropped the verbose trailer in newer Claude Code versions. The cross-check tile takes the broad/strict ratio from the most recent 7 days and projects what the strict number would be if that ratio held; large drift means Anthropic changed the trailer format inside the selected window.
How We Track AI Commits
We identify AI-generated commits on public GitHub repositories by searching for known signatures left by each coding agent. GitHub caps search results at 1,000 per query, so we use recursive time-window splitting to capture all data.
Claude Code
by Anthropic- Product Attribution Markers (strict, primary): Anthropic has changed Claude Code's commit trailer at least three times: the initial version embedded "Generated with Claude Code" + the URL claude.ai/code, the URL flipped to claude.com/claude-code around Sep 2025, and in early 2026 the verbose lines were largely dropped (only the Co-Authored-By trailer remains in many commits). The primary query is the OR of all three known product markers, so it captures any version's attribution in one pass. Diagnose-tested for `incompleteResults: false` across multiple sample dates.
"Generated with Claude Code" OR "claude.ai/code" OR "claude.com/claude-code" - Co-Author Trailer (broad, mentions only): Counts every commit whose body contains "Co-Authored-By: Claude". Catches squash-merge duplication (a 10-commit PR squashed into 1 keeps all 10 trailer lines) and references to "Claude" the AI model name. Surfaced separately as a Claude-only mention count, never compared against Codex.
"Co-Authored-By: Claude" - Direct Author: Commits where Claude is the author/committer directly (GitHub Actions, autonomous flows)
author-email:noreply@anthropic.com
Codex
by OpenAI- Co-Author Trailer (strict, primary): Default Codex CLI behavior since Feb 2026: appends Co-authored-by: Codex <noreply@openai.com>. Searched as "Co-Authored-By: Codex" because the longer phrase with angle brackets/@ confuses GitHub's commit-search tokenizer. Pre-Feb-2026 commits had no Git-level attribution.
"Co-Authored-By: Codex" - Direct Author Email: Manual GIT_AUTHOR_EMAIL=codex@openai.com setups (uncommon)
author-email:codex@openai.com - Codex Connector Bot: Commits pushed by the chatgpt-codex-connector GitHub App. Tiny — about 564 commits all-time vs ~100K from the trailer signal — so not worth folding in.
"chatgpt-codex-connector[bot]"