ai-contrib, a CLI that estimates how much code in a repo was actually written by AI tools.
It parses local session logs from tools like Codex/Cursor/Cline/Gemini/Opencode, extracts diffs, and only counts lines that still exist in the current working tree.