Tool for tracking AI vs human code contributions during git commits.
git clone https://github.com/your-username/ai-code-tracker.git
cd ai-code-tracker
pip install -e .-
Initialize in your project:
ai-tracker init ai-tracker install-git-hook
-
Make changes and commit:
git add . git commit -m "Add feature"
During commit, you'll be prompted to mark changes as AI or human-generated.
-
Your commit messages will include tracking information:
Add feature --- AI vs Human Tracking --- 🤖 GitHub Copilot generated: • src/utils.py (lines 15-25) 👨💻 Human written: • src/main.py (lines 10-12)
cd vscode-extension
npm install
npm run compile
code --install-extension .Keyboard shortcuts:
Ctrl+Shift+A- Mark selection as AI-generatedCtrl+Shift+H- Mark selection as human-written
ai-tracker init- Initialize trackingai-tracker install-git-hook- Install git hookai-tracker preview-commit-ai- Preview trackingai-tracker uninstall-git-hook- Remove git hook
AI_TRACKER_QUICK_MODE=1- Mark all changes as AIAI_TRACKER_TOOL="ChatGPT"- Set AI tool name
MIT