Session Pulse
A quiet instrument panel for Claude Code.
See every session at a glance, and never lose track of what a session left for you to do.
See it in action (1 minute)
https://github.com/user-attachments/assets/ba0b1bb5-c1b3-4b1a-816a-23b161823a6a
Made-up data throughout. Re-record it with tools/showcase/run.sh.
Why
If you use Claude Code every day, you probably have several sessions open across projects. Some are working, some are waiting for you, and some ended an hour ago with "you still need to decide X, and someone has to approve Y". Those loose ends live in scrollback, and scrollback gets cleared.
Session Pulse sits next to your clock and keeps it all in one place:
- What's running: which sessions are open, working or idle, for how long, using how much.
- What's left: when a session goes quiet, Claude lists what it left open (decisions, outside work, checklists, things you're waiting on) and puts it on a board for you.
- How you work: tokens per day by model, real active hours, and tips to get better at Claude Code based on your own habits.
It reads the files Claude Code already writes under ~/.claude. Nothing leaves your machine.
Session Pulse is an independent project. It is not made, endorsed or supported by Anthropic.
Screenshots
| A page for every session | New follow-ups wait for your review |
|---|---|
| Analytics | Light theme |
|---|---|
All screenshots use made-up data (tools/showcase/).
Features
- Needs you: the Overview opens with what is waiting on you: open decisions, things you've waited on for more than 3 days, blockers named in each project's latest session summary, and new follow-ups to review.
- Pick up where you left off: a summary of each session (goal, done, open, blocked on, next step), on its own page with the resume command and the tasks it left.
- Live sessions: working or idle, running time, last change, tokens, model. The panel icon shows the count and turns orange while Claude is working.
- Follow-ups (optional): Claude reads each session after 20 quiet minutes and adds what was left open to your to-do list, linked back to the session, with a one-click resume command. New items wait in Detected until you Accept them or mark them Not useful, which steers later reads. A later session that finishes an item closes it automatically.
- Why is this here? Each follow-up keeps a short quote from the session, checked against the transcript; Why? shows it in context. The same work showing up in another project is flagged, with Merge and Not the same.
- Board: every to-do as a card, colour-coded by kind (Decide, Outside work, Waiting on, Checklist, Later), or by status (Detected, To do, Doing, On hold, Done, Archived). Drag and drop, project filter, search, export to Markdown, CSV or JSON.
- Your own to-dos too: add them on the dashboard or with
sessionpulse todo add "…". - Analytics: a 26-week activity heatmap, the last 30 days at a glance, input, output and cache tokens per day by model, active hours per day, busiest projects.
- Starts and exits: when each session started and ended, and why (
/clear, Ctrl+D, logout…). - Sessions: every session, searchable; each opens its own page with a copyable
claude --resumecommand. - Get better at Claude Code: suggestions picked from how you actually work (no
CLAUDE.mdin busy projects, very long sessions, features you haven't tried), with free official docs and Anthropic Academy courses. - Small and private: standard library only, listens on
127.0.0.1, needs a token, dark and light themes, works on a phone screen (bottom tab bar).
Install
Requires Python 3.11+ and Claude Code.
Linux with the panel icon (Ubuntu and Debian shown):
sudo apt install pipx python3-gi gir1.2-ayatanaappindicator3-0.1
pipx install --system-site-packages sessionpulse
sessionpulse install # adds the start/exit hooks and a login autostart
sessionpulse tray & # start the panel icon now
On GNOME you also need the AppIndicator extension. Ubuntu has it on by default; elsewhere install "AppIndicator and KStatusNotifierItem Support". KDE, Xfce, Cinnamon and MATE need nothing extra.
macOS, or without the panel icon:
pipx install sessionpulse
sessionpulse install --no-autostart
sessionpulse serve # then, in another terminal: sessionpulse open
On a server you reach over SSH (no desktop):
pipx install sessionpulse
sessionpulse install --no-autostart
Keep the dashboard running with a systemd user service:
mkdir -p ~/.config/systemd/user
cat > ~/.config/systemd/user/sessionpulse.service <<'UNIT'
[Unit]
Description=Session Pulse dashboard
[Service]
ExecStart=%h/.local/bin/sessionpulse serve
Restart=on-failure
[Install]
WantedBy=default.target
UNIT
systemctl --user enable --now sessionpulse
sudo loginctl enable-linger "$USER" # keep it running after you log out
Then run sessionpulse open on the server. It prints an ssh -N -L 8765:127.0.0.1:8765 … tunnel command and the dashboard link to open on your own computer. The dashboard never listens on anything but 127.0.0.1.
Turn on follow-ups (optional, see what it costs):
mkdir -p ~/.config/sessionpulse
echo 'followups = true' >> ~/.config/sessionpulse/config.toml
sessionpulse followups # read the last 30 days now instead of waiting
Check everything with sessionpulse doctor. Remove it with sessionpulse uninstall (your data stays) and pipx uninstall sessionpulse.
GNOME extension
A native top-bar indicator for GNOME Shell 45 to 48, as an alternative to the AppIndicator panel icon. It shows the same thing: the number of open sessions, orange while one is working, plus a menu with each session, today's totals, and links to the dashboard and the to-do board.
The extension only reads ~/.local/share/sessionpulse/status.json (format), which sessionpulse daemon writes, so the app has to be installed too:
pipx install sessionpulse
sessionpulse install --daemon # hooks, plus the daemon (no icon) at login
sessionpulse daemon & # start it now
Then install the extension. It isn't on extensions.gnome.org yet, so install it from a clone of this repo:
gnome-extension/pack.sh
gnome-extensions install --force gnome-extension/dist/sessionpulse@vijayshuklaHL.github.io.shell-extension.zip
Log out and back in (on X11 you can press Alt+F2 and type r instead), then run gnome-extensions enable sessionpulse@vijayshuklaHL.github.io. If you used the panel icon before, stop it: run sessionpulse install --daemon again so login starts the daemon instead of the tray.
Commands
| Command | What it does |
|---|---|
sessionpulse install |
Adds SessionStart/SessionEnd hooks to ~/.claude/settings.json (after backing it up) and a login autostart entry |
sessionpulse uninstall |
Removes exactly those hooks and the autostart entry. Your data stays. |
sessionpulse tray |
Panel icon and dashboard server |
sessionpulse serve |
Dashboard server only |
sessionpulse daemon |
Dashboard server plus status.json for panel widgets such as the GNOME extension, no icon (install --daemon starts it at login) |
sessionpulse open |
Opens the dashboard in your browser, signed in (add #board to the address for the board) |
sessionpulse doctor |
Checks the setup and warns if Claude Code's file formats look different |
sessionpulse todo [add TEXT -p PROJECT | done ID | undo ID | delete ID | list-done] |
Your to-do list from the terminal |
sessionpulse todo export [--format md|csv|json] [-p PROJECT] [--status open|all] |
Prints the list as Markdown (grouped by project), CSV or JSON; the board's Export menu downloads the same (fields) |
sessionpulse followups [--days N] [--session ID] [--now] [--again] |
Read recent sessions now and add their open follow-ups |
sessionpulse followups status |
What follow-ups used (calls, tokens, cost), results per kind, and sessions that failed |
sessionpulse dedupe [-p PROJECT] [--across] [--apply] |
Finds open to-dos that are the same work reworded (--across: in different projects); --apply archives the copies |
sessionpulse snapshot |
Prints the dashboard data as JSON |
Settings
Optional. Create ~/.config/sessionpulse/config.toml with any of these keys:
port = 8765 # dashboard port (on 127.0.0.1)
refresh_seconds = 5
claude_dir = "~/.claude" # defaults to $CLAUDE_CONFIG_DIR if that is set
gap_minutes = 30 # activity closer together than this counts as one block of active time
min_block_minutes = 15 # shortest block of active time
followups = false # true: pick open follow-ups out of quiet sessions
followups_model = "haiku"
followups_idle_minutes = 20
followups_days = 30
followups_parallel = 3
followups_review = true # new follow-ups wait in Detected until you accept them
claude_command = "" # path to `claude` if it isn't on PATH
Follow-ups
Off by default, because it uses Claude. When on, the dashboard server checks every 5 minutes for sessions that have been quiet for 20 minutes and changed since it last read them. It sends their prompts and Claude's replies to claude -p (Haiku by default) and asks only for what's still open. That counts toward your Claude usage: roughly one small Haiku request per session.
The request runs with all hooks disabled and --no-session-persistence, so it never shows up as a session, in this dashboard or in any hook of yours. New follow-ups wait in the board's Detected column until you Accept them or mark them Not useful; set followups_review = false to add them straight to the list. Items you dismiss are remembered and not picked up again.
Privacy and security
Transcripts contain everything you type into Claude Code, so the dashboard is locked down:
- It listens on
127.0.0.1only and rejects requests addressed to any other host name (no DNS rebinding). - It needs an access token, stored in
~/.local/share/sessionpulse/token(readable only by you).sessionpulse openand the panel menu pass it once; after that it lives in an HttpOnly, SameSite=Strict cookie. The first link with the token in it may stay in your browser history. - Changing to-dos needs the cookie, a JSON request and a matching Origin, so other web pages can't add or delete items.
- Only the artwork under
/brand/is served without the token. - It never writes to Claude Code's files, except
install/uninstall, which edit thehookssection ofsettings.jsonafter a timestamped backup.
Found a problem? See SECURITY.md.
How the numbers are worked out
- Live status comes from
~/.claude/sessions/<pid>.json. A session counts as live only while its process is running. - Tokens come from the
usagefield of assistant messages. Each API response is counted once, and subagent usage is added to the session that started it. - Active time groups activity into blocks: messages less than 30 minutes apart belong to one block, and every block counts as at least 15 minutes.
- Exits are recorded by the SessionEnd hook, so sessions that ended before you ran
installshow as "Closed". - Cost is not shown. On a subscription, tokens don't map to a bill, and API prices change.
These file formats are internal to Claude Code and undocumented. Session Pulse reads them defensively, and the dashboard and sessionpulse doctor warn when lines stop parsing, usage disappears, or the Claude Code version is newer than the one last tested. If you see a warning, please open an issue with your Claude Code version.
Fork it and make it yours
Session Pulse is small on purpose (a few Python files and one HTML page, no build step), so it's easy to bend to how you work. Some ideas:
| You want to… | Look at |
|---|---|
| Change the colours or layout | the :root tokens and sections in src/sessionpulse/static/dashboard.html |
| Use your own logo or artwork | src/sessionpulse/static/brand/ and src/sessionpulse/icons/ |
| Add your team's own learning links or habits to check | LIBRARY and suggest() in src/sessionpulse/learn.py |
| Change what counts as a follow-up, or the categories | SYSTEM and KINDS in src/sessionpulse/followups.py and todos.py |
| Send follow-ups somewhere else (Linear, Jira, a chat channel) | todos.merge_followups() is the one place new items land |
| Record your own demo video | tools/showcase/run.sh (needs Chrome, Node 20+, ffmpeg; uses made-up data) |
git clone https://github.com/<you>/sessionpulse && cd sessionpulse
python3 -m unittest discover -s tests # 38 tests, a few seconds
PYTHONPATH=src python3 -m sessionpulse serve # then: PYTHONPATH=src python3 -m sessionpulse open
If you build something others would like, a pull request is very welcome. See CONTRIBUTING.md. The MIT licence only asks that you keep the copyright notice.
Support
If Session Pulse saves you time:
- ⭐ Star the repo. It helps other Claude Code users find it.
- 🐛 Report bugs or ideas in Issues.
- ☕ Buy me a coffee for a one-off thank-you.
- 💖 Sponsor on GitHub for monthly support. Even a coffee's worth a month keeps it maintained.
Licence
MIT © 2026 Vijay Shukla. Claude and Claude Code are trademarks of Anthropic, used here only to say what this tool works with.
Metadata
Release files for sessionpulse 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sessionpulse-0.3.0.tar.gz | 103.6 kB | With provenance | Details for sessionpulse-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sessionpulse-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for sessionpulse-0.3.0-py3-none-any.whl |
Total release size: 201.3 kB
Release files / sessionpulse-0.3.0.tar.gz
| Download URL | sessionpulse-0.3.0.tar.gz |
|---|---|
| Size | 103.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ec8bba230a7a5440eaec5fb0d372ef17847f7af5b8a2754b477c3f7d1ab9c58b
|
|
BLAKE2b-256 checksum How to use checksums |
90fdd0b8fb922962f99927e8dda651c36e9e6737d8ba53b3d2decccef9ab40bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logRelease files / sessionpulse-0.3.0-py3-none-any.whl
| Download URL | sessionpulse-0.3.0-py3-none-any.whl |
|---|---|
| Size | 97.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
93a341e5332ea7d4f3607e6cb33469f96d38b31dab0e19a980b0c9fa2f50bee2
|
|
BLAKE2b-256 checksum How to use checksums |
1e9958f7e3ae31ca2206da7596e9b2a65ae277b94e4fc5147f9744d98afdd164
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logSecurity for sessionpulse 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for sessionpulse-0.3.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.