toml0006

Session Activity Monitor — Development skill for Claude Code

Development community

Claude Code mod: live pane of your session's CPU, RAM and process tree.

How to install Session Activity Monitor

This entry records only its repository, not the path inside it, so there is no exact command to give. Open toml0006/session-activity-monitor and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Session Activity Monitor does

Claude Code mod: live pane of your session's CPU, RAM and process tree.

Alternatives in Development

  • Contributing To MCP Tree-sitter Server — Thank you for your interest in contributing to MCP Tree-sitter Server 288 ★
  • Bm Stats — Show the basemind dashboard — resource footprint (disk + RAM) and activity (tool calls, per-tool histogram, es 94 ★
  • Llama Modchip — 🐋 Run 284B DeepSeek-V4-Flash (<59GiB RAM, 44.4 tok/s pp, 9.1-14.7 tok/s) & 30B MoEs (25-111 tok/s) on a pure 72 ★

README

session-activity-monitor

A Claude Code mod that shows how hard your Claude Code sessions are working your machine: which prompt was expensive, how much battery it took, and how much all your open Claude windows draw together. It's easy to send a prompt that sets off minutes of builds, tests and subprocesses without noticing; with several windows open, that can saturate a laptop and drain the battery in an hour.

Type `/session-stats` and a pane opens with:

![The session-stats pane: CPU, RAM, network, disk and energy with sparklines, then the process tree](docs/pane.png)

  • CPU and RAM for the session's whole process tree (the claude process plus every shell, build, test runner and stdio MCP server it started), with sparklines of up to the last 4 minutes
  • network (down and up), disk (read and write) and energy (watts now, and the share of the battery this session used since you unplugged) for the same tree, each with its own sparkline
  • the session's share of your cores and memory, process count, uptime and load average
  • a process table, indented as a tree, busiest first, with each process's power draw
  • PROMPT: the running or last prompt's duration, share of your battery (and joules), CPU-seconds and peak cores. A prompt that uses 300 J or more raises a toast, such as "That prompt used 0.5% of your battery (1.2 kJ, peak 6.1 cores)"
  • ALL CLAUDE: every Claude process tree on the machine (all your windows and background sessions) totalled: watts, CPU, RAM, and this session's share of the power
  • the monitor's own cost, so you can see what watching costs

It samples while the pane, the bar or a prompt needs it, at the rate the mode sets, and stops when nothing does.

Bar mode

`/session-stats bar` toggles a one-line strip above the prompt:

![The session-stats bar above the prompt: CPU and RAM numbers, each followed by a sparkline](docs/bar.png)

After the histories the strip shows the session's power draw right now, then how much of the