Repository navigation
Conversation
A new mod: /heatmap opens a GitHub-style grid of active minutes in Claude orange, with the streak, peak day and hour, and top projects. It keeps its own daily ledger, so the grid outlives the 30-day log cleanup. Docs, site page and screenshot from sample data.
Refresh from the ledger's last day, so days a crashed session never saved are filled in. Count a resumed session's copied messages once. An empty ledger backfills again, a failed refresh says why, a cut grep read is logged, and the cursor stays on its day across a resize.
Owner
Author
Review outcomesCodex ( Sonnet review, fixed in 286c85a:
New tests cover 1, 2 and 3 (26 tests in all). A Sonnet agent is verifying the fixes. |
A refresh replaces an old row only with a fresh one for the same day and project. The earliest message is found with a loop, and a tie goes to the shorter log, the original a resume copied from.
Owner
Author
|
Fix check (Sonnet): 3, 5, 6 and 7 verified. Three follow-ups it found are fixed in bea1a7d: a refresh no longer drops an old row whose logs are gone (a fresh row only replaces the same day and project), the earliest message is found with a loop instead of |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
A new mod, heatmap:
/heatmapopens a GitHub-style grid of your Claude Code time, one square per day, in Claude orange.pswitches between all projects and this repo, arrows move a day cursor (after a click, as in snake),qcloses~/.claude/heatmap/days.jsonl, so the grid outlives the 30-day log cleanup. Older days are never rewrittengrep(logs can pass the 4 MiB read limit). A full backfill of 1.4 GB of logs takes about a secondSpec:
docs/superpowers/specs/2026-10-15-heatmap-design.md. Screenshot from sample data with generic project names.Checklist
claude plugin validate mods/heatmappassesclaude plugin test mods/heatmappasses (23 tests)plugin.jsonand in.claude-plugin/marketplace.json.claude-plugin/marketplace.jsondocs/mods.mdnotes🤖 Generated with Claude Code