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) · 11/28/2026, 12:24:06 AM
CC:
📊Total AI Commits
9.4M
Last 90 days
📁Total Repositories
241.5K
All-time, public repos
🟠Claude Code Commits
8.9M
Last 90 days
🟢Codex Commits
461.7K
Last 90 days

Commit Share

Claude Code 95.1%
Codex 4.9%
🟠

Claude Code

(Anthropic)
Weekly Growth
+-14.5%
Doubling Time
0 days
Net Lines Added
1.3B
Active Since
2025-02-24
🟢

Codex

(OpenAI)
Weekly Growth
+23.5%
Doubling Time
23 days
Net Lines Added
57.0M
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 Commits17.4M759.4K
Active Repositories193.5K48.0K
Lines Added1.7B75.9M
Lines Deleted436.2M19.0M
Net Lines1.3B57.0M
Weekly Growth-14.5%23.5%
Doubling Time0 days23 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)
44.0M
Used for Codex comparison
Broad mentions
106.9M
+63.0M vs strict
Ratio
2.4×
broad / strict
Cross-check (broad / 7d ratio)
45.4M
-3% 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]"