cubic detects AI contributions from commit metadata (git notes) attached to merged PRs. Install the
cubic CLI to automatically set up git-ai attribution
tracking. Without git-ai or a tool that emits its own notes, contributions may not appear. See
AI attribution tracking for details.
What you see
- Authorship over time: trend of Human, Mixed, and AI-authored lines.
- Usage breakdown: percentage split across Human, Mixed, and AI.
- Tools and models: which assistants and models generated code.
- Team members: per-developer AI adoption and top tool.
- Attribution card: percent of commits that include AI metadata.
Authorship categories
| Category | Meaning |
|---|---|
| Human | Written without AI assistance. |
| Mixed | Generated by AI, then edited by a developer. |
| AI | Generated by AI and accepted without edits. |
Team members
The team members table includes:| Column | Meaning |
|---|---|
| % AI code | Share of this developer’s lines authored with AI help (AI + Mixed). |
| Lines by AI | AI-attributed lines for this developer. |
| Lines by human | Human-authored lines for this developer. |
| Top tool | Most-used AI coding tool in the selected period. |
CSV export
You can export the current team members view as CSV for reporting or sharing. The export includes the rows currently shown in the table and respects your active sort order.Tools and models
Use the tools and models tables to answer two questions quickly:- Which assistants or models are used most?
- Are suggestions accepted as-is, or usually edited before merge?
AI attribution tracking
% of commits with AI attribution is the share of merged-PR commits that include AI git note metadata. Low attribution usually means one of three things: your tool/version does not emit git notes, code was copied manually from chat tools, or web-UI squash merges created new commits without authorship logs (a CI workflow can reconstruct them).cubic starts collecting AI attribution data from the date you install it. Historical commits
before installation are not retroactively analyzed.
Automatic setup with cubic CLI
The cubic CLI automatically installs git-ai during setup to maximize attribution coverage. git-ai attaches AI authorship notes to commits so contributions are captured even when AI tools don’t emit their own metadata. You can opt out at install time withCUBIC_DISABLE_GIT_AI=true, or toggle tracking afterwards with cubic stats enable / cubic stats disable. See the CLI docs for details.
Supported tools
cubic currently detects contributions from:- Cursor
- GitHub Copilot
- Claude Code
- Windsurf
- Aider
- JetBrains AI