Skip to content
| Marketplace
Sign in
Visual Studio Code>Machine Learning>AI Commit TrackerNew to Visual Studio Code? Get it now.
AI Commit Tracker

AI Commit Tracker

DDESK

|
3 installs
| (1) | Free
Automatically detects AI-generated code from any tool (Copilot, Cursor, Tabnine, Codeium, Claude Code...) and tags every git commit with the real AI usage percentage.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AI Commit Tracker

Automatically detects AI-generated code from any AI tool and tags every git commit with the real AI usage percentage — no configuration needed.

Features

  • Universal detection — works with Copilot, Cursor, Claude Code, Tabnine, Codeium, Windsurf, ChatGPT paste, and any other AI tool
  • Real-time status bar — live [AI X%] indicator updates as you code
  • Auto-tags commits — appends [AI X%] to every commit message automatically via a git hook
  • Git metadata storage — saves full AI stats (lines, files, session) as git notes on each commit
  • Per-file breakdown — see exactly which files had AI involvement and how much
  • No API keys required — pure heuristic detection, works offline

How It Works

The extension uses heuristic signal analysis to detect AI-generated code:

  • Multi-line insertions happening faster than human typing speed
  • Long single-line completions characteristic of AI suggestions
  • Syntactically complete blocks (balanced brackets, function bodies)
  • Consistent indentation patterns typical of AI output
  • File system watcher for AI tools that write directly to disk (Claude Code, Cursor, etc.)

Usage

Install the extension and start coding. You will see:

  • Status bar: [AI 73%] — live AI percentage for the current session
  • Commit messages: automatically tagged as add login form [AI 85%]
  • Session stats: run AI Commit Tracker: Show Session Stats from the Command Palette
  • Commit history: run AI Commit Tracker: Show Commit History to see AI % across past commits

Commands

Command Description
AI Commit Tracker: Show Session Stats Show current session AI breakdown
AI Commit Tracker: Show Commit History View AI % for last 30 commits
AI Commit Tracker: Reset Session Reset the current session counter

Settings

Setting Default Description
aiCommitTracker.enabled true Enable or disable tracking
aiCommitTracker.showStatusBar true Show live AI % in the status bar
aiCommitTracker.multilineThreshold 4 Min lines inserted at once to flag as AI
aiCommitTracker.fastInsertionMs 100 Insertions faster than this (ms) flagged as AI

Requirements

  • VS Code 1.85.0 or higher
  • Git installed and available in PATH

License

MIT — see LICENSE

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft