CCCodex

Tracking adoption of the Claude Code and Codex CLIs on public GitHub. Tool usage, not model API usage. Claude headline numbers are synthetic (Co-Authored-By:Claude trailer count ÷ 12, stable across Anthropic's ongoing trailer-format changes); toggle “strict” in the header to see the raw URL/text-marker count instead.

GitHub Search API (live) · 5/28/2026, 12:24:03 AM
CC:
📊Total AI Commits
3.0M
Last 90 days
📁Total Repositories
241.5K
All-time, public repos
🟠Claude Code Commits
2.9M
Last 90 days
🟢Codex Commits
106.9K
Last 90 days

Commit Share

Claude Code 96.4%
Codex 3.6%
🟠

Claude Code

(Anthropic)
Weekly Growth
+7.6%
Doubling Time
66 days
Net Lines Added
301.9M
Active Since
2025-02-24
🟢

Codex

(OpenAI)
Weekly Growth
+-10.5%
Doubling Time
0 days
Net Lines Added
9.6M
Active Since
2025-05-16

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 Commits4.0M128.7K
Active Repositories193.5K48.0K
Lines Added402.5M12.9M
Lines Deleted100.6M3.2M
Net Lines301.9M9.6M
Weekly Growth7.6%-10.5%
Doubling Time66 days0 days
Est. GitHub Share0.0%0.0%
Top LanguageUnknown (100.0%)Unknown (100.0%)
Launch Date2025-02-242025-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.

Strict (URL/text markers)
3.2M
Used for Codex comparison
Broad mentions
34.3M
+31.1M vs strict
Ratio
10.9×
broad / strict
Cross-check (broad / 7d ratio)
2.5M
+27% vs strict

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]"