All shelves / Mods / Usage
heatmap
By hamzafer
heatmap is a Claude Code usage mod by hamzafer.
Draws a GitHub-style grid of your Claude Code time in a pane, one square per day, with your streak, peak hours, and top projects.
Draws
Install
The marketplace name is claude-code-mods.
claude plugin marketplace add hamzafer/claude-code-mods claude plugin install heatmap@claude-code-mods
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.1.3
- License
- MIT
- Repo stars
- 381
- Last change
- 2026-10-23
What it can reach
- Draws in the session
- Calls another program on this machine
Claude Code 2.1.287 or later. The author says to restart after installing. /heatmap opens the pane. Each square is a day of active minutes: the time between messages, where a pause over 5 minutes adds nothing. Four levels in Claude orange run from under 15 minutes to 3 hours and more, and the ramp follows your theme. The grid shows as many weeks as fit, up to a year, ending today. Under it are your current and best streak, active hours and sessions, your busiest weekday and hour, and your top 3 projects. p switches between all projects and this repo, the arrow keys move a day cursor once you click the grid, and q closes. A toast marks a streak of 7, 30, or 100 days. Claude Code deletes session logs after 30 days by default, so heatmap reads them once to fill in the past, then keeps one line per day per project in ~/.claude/heatmap/days.jsonl, or under CLAUDE_CONFIG_DIR. The author says everything stays on your computer, and it reads only the message times and the project folder from the logs, with grep. Two sessions running at once both count, so a busy day can add up to more than the hours on the clock.
The marketplace, claude-code-mods, holds all of hamzafer's mods. This one installs on its own, or from the checklist that npx claude-code-mods@latest opens. Your Claude Code time is why this page files it under usage. wrapped, by Singh-AP, opens a Wrapped-style card of your Claude Code use, with stats, streaks, a coding persona, and a share card. agent-profiler, by YeonwooSung, draws where one session's time goes, model wait against tools and subagents. This one draws up to a year of days as a grid and keeps its own history after the session logs are deleted.
Demo

What it hooks into
session.startWhen a session startssession.endWhen a session endscommand.runWhen you run its slash command/heatmapui.renderDraws into the sessionPaneui.messageAdds a message to the session
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Slash commands 1
/heatmapA GitHub-style grid of your Claude Code time
Files
The author's source, 3 files. They load when you open them.
Facts
- Author
- hamzafer
- Category
- Usage
- Marketplace
- claude-code-mods
- Folder
- mods/heatmap
- Version
- 0.1.3
- License
- MIT
- Repo stars
- 381
- Last change
- 2026-10-23
- Language
- TypeScript
- Files
- 9