Skip to main content

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.

tests Python 3.11+ No dependencies Local only MIT licence Sponsor on GitHub Buy me a coffee

Session Pulse: a terminal prompt whose cursor turns into a pulse line, with Working, Idle and No sessions states

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

Overview: live sessions, KPIs, to-do list and completed items

To-dos that fill themselves One board for everything you still owe
To-do list grouped by project, with follow-ups picked up from sessions Kanban board with colour-coded columns: Decide, Outside work, Waiting on, Checklist, Later, Added by me, Done
Get better at Claude Code Light theme
Suggestions based on your usage, with links to free official docs and courses The overview in the light theme

All screenshots use made-up data (tools/showcase/).

Features

  • 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. A later session that finishes an item closes it automatically.
  • Board: every to-do as a card, colour-coded by kind (Decide, Outside work, Waiting on, Checklist, Later), or by status (To do, Doing, Done). Drag and drop, project filter, search.
  • Your own to-dos too: add them on the dashboard or with sessionpulse todo add "…".
  • Usage: input, output and cache tokens per day, split by model; active hours per day; busiest projects.
  • Starts and exits: when each session started and ended, and why (/clear, Ctrl+D, logout…).
  • History: every session, searchable, with a copyable claude --resume command.
  • Get better at Claude Code: suggestions picked from how you actually work (no CLAUDE.md in 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, works in light and dark mode and on a phone screen.

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

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.

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 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 followups [--days N] [--session ID] [--now] [--again] Read recent sessions now and add their open follow-ups
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
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. 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.1 only 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 open and 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 the hooks section of settings.json after 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 usage field 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 install show 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.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sessionpulse 0.1.0
File Size Uploaded Provenance Actions
sessionpulse-0.1.0.tar.gz 62.5 kB With provenance Details for sessionpulse-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sessionpulse 0.1.0
File Interpreter ABI Platform Actions
sessionpulse-0.1.0-py3-none-any.whl Python 3 none any Details for sessionpulse-0.1.0-py3-none-any.whl

Total release size: 128.1 kB

Release files / sessionpulse-0.1.0.tar.gz

Download URL sessionpulse-0.1.0.tar.gz
Size 62.5 kB
Tags Source
SHA-256 checksum
How to use checksums
62c5d55e2e4af5728020c73b54b1d206641407d528be222860e7105dbd6d7144
BLAKE2b-256 checksum
How to use checksums
6c4944e9f5835643d49340b6252f764c4360d9fcc6c915d48963a980c22212b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 14, 2026.

Transparency log

Release files / sessionpulse-0.1.0-py3-none-any.whl

Download URL sessionpulse-0.1.0-py3-none-any.whl
Size 65.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bad6642d6c4f07d0ccb5c77f445bf5bdf550a69694a2dec450c66aeb121b405e
BLAKE2b-256 checksum
How to use checksums
bcf6678b1a0e5211244aa9fdb23b8dda4066d7345f7fe745220d61137445b6ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 14, 2026.

Transparency log

Security for sessionpulse 0.1.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.

Select from 2 files

Attestation for sessionpulse-0.1.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 Oct 14, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page