Track how much time you spend using Claude Code to AI-code
91
stars
111
commits
TypeScript
primary language
Jul 11, 2026
updated
Track your AI usage, lines of code generated, time spent prompting AI, etc. using the WakaTime plugin for Claude Code.
WakaTime is an open source plugin for metrics, insights, and time tracking automatically generated from your programming activity.
claude plugin marketplace add https://github.com/wakatime/claude-code-wakatime.git
claude plugin i claude-code-wakatime@wakatime
Add your API key to ~/.wakatime.cfg:
[settings]
api_key = waka_123
claude plugin marketplace update
New: See the lines of code generated by AI on your dashboard!
Visit https://wakatime.com to see your coding activity.

npm run watch
Diagnostic tool for troubleshooting the installation and health of Claude Code and plugins:
claude doctor
Make sure you have node.js installed and in your $PATH:
node -v
Run claude with verbose logging to see any plugin load errors:
claude --debug
Look for errors in the wakatime-cli log file:
grep error ~/.wakatime/wakatime.log | grep -v backoff
TypeScript
87.0%
JavaScript
8.2%
Batchfile
2.6%
Shell
2.2%
Track how much time you spend using Claude Code to AI-code
91
stars
111
commits
TypeScript
primary language
Jul 11, 2026
updated
Track your AI usage, lines of code generated, time spent prompting AI, etc. using the WakaTime plugin for Claude Code.
WakaTime is an open source plugin for metrics, insights, and time tracking automatically generated from your programming activity.
claude plugin marketplace add https://github.com/wakatime/claude-code-wakatime.git
claude plugin i claude-code-wakatime@wakatime
Add your API key to ~/.wakatime.cfg:
[settings]
api_key = waka_123
claude plugin marketplace update
New: See the lines of code generated by AI on your dashboard!
Visit https://wakatime.com to see your coding activity.

npm run watch
Diagnostic tool for troubleshooting the installation and health of Claude Code and plugins:
claude doctor
Make sure you have node.js installed and in your $PATH:
node -v
Run claude with verbose logging to see any plugin load errors:
claude --debug
Look for errors in the wakatime-cli log file:
grep error ~/.wakatime/wakatime.log | grep -v backoff
TypeScript
87.0%
JavaScript
8.2%
Batchfile
2.6%
Shell
2.2%