claude-sitrep

A to-do list for each of your Claude Code sessions, and a dashboard that shows which one is waiting for you.

sitrep dash --demo, on made-up sessions.
When you run several Claude Code sessions, you think of the next thing to ask one of them while it is still busy, or of something for another session. Where does that go? Your head, a scratch file, your whiteboard, or a prompt you have to remember to send. And you lose track of which session is waiting for you.
In the picture:
- Queue is your own list of what comes next for that session, and Inbox is your list for work that has no session yet.
- Objective, Progress and Now say what a session is for, how far it has got and what it is doing right now.
● the session needs you, ○ it is snoozed, and ▶ marks the selected row.
Why sitrep
Other tools, including Claude Code's own Agent View, show which sessions are working and which are waiting. sitrep also keeps your own list of what comes next, for each session, and shows it under the prompt.

Your queue under the prompt, on a made-up session: the last line is the queue, its next item, and the inbox.
- A queue for each session. In a Claude Code session, type
+ call Sam and press enter: the text goes on this session's queue, and nothing is sent to Claude. The queue is yours, and the next item shows under the prompt.
- An inbox for work that has no session yet. Type
+inbox <text> in a prompt to write it down without sending anything to Claude. The inbox is yours too, and you take an item into a session when you know where it belongs: press 1 to 9 in the dashboard, or run sitrep move inbox <id>.
- A report for each session. The Objective, the Progress and what it is doing Now show under each prompt. A short Haiku call rewrites them after each turn. It uses a little of your Claude usage, capped at $0.05 a call (see Privacy And Safety for what is sent).
- A dashboard that puts the sessions that need you first. A session that has stopped and waits for you has a
●, and the terminal bell rings when one newly does.
- No server and no runtime. Once built, it is one program with plain files, so the status line renders at once.
- A full command-line tool, and yours to script. Every action is a command (
sitrep add, rm, move, top, snooze, pin and more), each with --help, and completion fills in commands, flags and session ids (eval "$(sitrep completion bash)"). If you use the Modular Bash Environment, its sitrep module puts sitrep on your PATH, turns the completion on and adds sr as a short form. sitrep ls --json is a stable JSON format for your own tools.
Limits: Claude Code only, one machine (other machines can be reached over ssh, see docs/REMOTE.md), no cost tracking, and it cannot answer a session's approval prompts. docs/COMPARISON.md compares it with Agent View, claudectl, Plate-Spinner, the kanban boards and two other queue plugins, claude-valet and claude-queue, and says when one of them is the better choice.
Try it with no install (it needs Go 1.26 or newer): go run github.com/lfeagan/claude-sitrep/cmd/sitrep@latest dash --demo shows made-up sessions. It runs the newest release as you, so it trusts this repository and its owner; put a version in place of @latest (for example @v1.0.1) to run one fixed release, which the Go checksum database also vouches for.
Install: run /plugin install sitrep --marketplace lfeagan/claude-sitrep in Claude Code, then /sitrep:setup. It needs Go 1.26 or newer and the claude CLI, and the details are in Install.
Contents
Why sitrep · What It Looks Like · Install · How To Use It · The Queue · Listing Sessions · The Dashboard · Settings · For Programs · Backing Up · Privacy And Safety
More detail is in docs/: Install and update, the queue, listing and pruning, the dashboard, the themes, what is not built yet, all settings, the history log, the JSON format, how it works, remote machines and changing the code.
What It Looks Like
Under each prompt in Claude Code, sitrep draws a short report of the session, in your terminal's own colours (the picture under "Why sitrep" above). It works as follows:
- Objective starts as the first prompt (a resumed session is seeded from its transcript), so the raw prompt shows until the first turn finishes. A short title written by the same Haiku call that writes Progress and Now then replaces it. A pinned Objective (
+pin or sitrep pin) stays until you run sitrep unpin.
- Progress and Now are rewritten after each turn by a short Haiku call that reads the tail of the transcript.
- Queue shows how many items are waiting, the next item and the first four characters of the session id, which is how
sitrep addresses the session (sitrep add a1b2 ...). Inbox: 2 is how many items are in your inbox, the list that belongs to no session.
sitrep dash is a full-screen dashboard of every session, with three tabs, and tab switches between them. Cards shows the detail of a few sessions, as above. Table is a quick scan of many. CTX is the share of the context window left, so a low number is a warning, and it is bold when it is low. idle? marks a working session that has been quiet for a while:

Wall shows the sessions as tiles, many to a screen, with those that need you first. Text is cut to the width of a tile, +2 more counts the tiles that do not fit this window, and . shows the ended sessions:

There are more than 25 colour themes, most with a dark and a light form, and sitrep colors is a tool for choosing one or making your own. The themes page shows some of them, and the colour-blind view of cvd-safe.
Install
You need Go 1.26 or newer (go version) and the claude CLI. Go is needed only to build the program: what you run afterwards is one program with plain files, and no runtime to keep up to date. sitrep runs on macOS and Linux; it uses file locks and process groups, so there is no Windows build. On Windows, use WSL.
-
In Claude Code, run:
/plugin install sitrep --marketplace lfeagan/claude-sitrep
/sitrep:setup
The first line installs the plugin (the program's source, the hooks and two skills). A plugin cannot build a program or declare a status line, so /sitrep:setup builds the program into ~/.claude/sitrep/bin/sitrep, points the status line at it (an existing status line, such as Claude HUD, is saved and runs first), and links sitrep into ~/bin. Claude Code asks before it changes ~/.claude/settings.json, which setup backs up first.
-
Restart your Claude Code sessions, and send a prompt in one. The status block shows under the prompt, and the session appears in the dashboard. With no sessions the dashboard shows only the tabs and 0 running, 0 ended, and fills in as sessions start.
-
In any terminal, run sitrep dash. Press ? for the keys and x to exit. Setup links sitrep into ~/bin, so that folder must be on your PATH; if the shell says sitrep: command not found, add it, or run ~/.claude/sitrep/bin/sitrep dash.
A session "needs you" when Claude has stopped and the next move is yours, or when it waits at a permission dialog. It has a ● before its state, and the dashboard puts it first.
Start on Cards for a few sessions, Table for many, and Wall when you have more than fit on a screen. The Inbox line is work you queued for no session yet. enter jumps to the terminal that shows the selected session, z snoozes one that can wait (it then shows a ○ instead of the ●, and the snooze ends by itself when the session changes), and n gives a session a name. The colour of a row that needs you fades after ten minutes, and the ● stays.
Updating
When a newer release exists, the status line says so under the queue line. Update the plugin, then restart Claude Code (or run /reload-plugins in the session you will use), and only then run /sitrep:setup again, so that the program matches the plugin: a session that was open during the update still has the old plugin loaded and would build the old program. From a clone, run git pull --tags && make install. The details, upgrading from 0.3.x and taking sitrep out are in docs/INSTALL.md.
How To Use It
A suggested workflow, which you can use all of or in part. Write work down the moment you think of it, put it where it belongs when you are ready, and let sitrep show you which session is waiting.
- Capture. When a task comes to mind, add it without stopping what you are doing:
+inbox <text> in any Claude prompt, or sitrep add inbox <text> in a shell. A script can fill the inbox from your GitHub or Linear issues (how).
- Sort. When a session is free for it, pull an item in:
+take in that session's prompt, 1-9 on a dashboard tab, or sitrep move inbox <id>. Work you already know belongs to a session goes straight there with + <text>. sitrep top and sitrep reorder put the next item first, and the status line shows it under your prompt.
- Work. Run your sessions. The dashboard (
sitrep dash) puts the ones that need you first, with a ●, so you go to the one that is waiting and not the one you remember. When Claude finishes, send the next item as your next prompt. sitrep never sends one for you.
- Finish.
sitrep done <id> removes the item you sent. When a session ends with items left, sitrep prune (or p in the dashboard) asks whether to move them back to the inbox, so nothing is lost with the window.
The whole life of an item:
flowchart LR
shell["sitrep add inbox …<br/>(shell, script, cron)"]
prompt["+inbox …<br/>(in a Claude prompt)"]
issues["GitHub or Linear issues<br/>(a script you run)"]
inbox[("Inbox<br/>no session yet")]
direct["+ … in a prompt,<br/>or sitrep add id …"]
queue[("A session's queue<br/>top, reorder, edit")]
other[("Another session's queue")]
claude["You send the item<br/>to Claude as a prompt"]
done(["Removed<br/>sitrep done"])
shell --> inbox
prompt --> inbox
issues --> inbox
direct --> queue
inbox -->|"+take, 1-9 in the dashboard, sitrep move"| queue
queue -->|"sitrep move, m in the dashboard"| other
queue -->|"its session ended: sitrep prune asks"| inbox
queue --> claude
claude --> done
inbox -->|"not wanted: sitrep rm"| done
There is no done state: finishing an item removes it from the queue. A + prefix queues the text without sending it to Claude.
The Queue
sitrep addresses a session by any unique prefix of its id, as shown in the status line and in sitrep ls, or by a name you gave it. sitrep help lists the commands, and sitrep help <command> shows the details of one.
sitrep ls lists running sessions with their queue, Objective and Now, and sitrep ls <id> lists one queue.
sitrep add <id> <text> appends an item, and sitrep rm <id> [n] (or done) removes item n (default 1).
sitrep move <from> <to> [n] hands an item to another queue, sitrep top <id> <n> moves it to the front, and sitrep edit <id> <n> <text> rewords it.
sitrep pin <id> <text> pins a session's Objective, and sitrep alias <id> <name> gives a session a name.
The inbox is a queue that belongs to no session, for work you have not yet matched to one: use inbox where a command takes an id (sitrep add inbox <text>). Inside a Claude Code session, + <text> queues the text to this session, +inbox <text> to the inbox, +take [n] takes an inbox item, and +pin <text> pins the Objective; none of them is sent to Claude. The full list of commands, the guards that keep a program from changing the wrong item, and the exact rules for the prefixes are in docs/QUEUE.md.
The queue does not feed work to Claude automatically. With SITREP_QUEUE_NUDGE=on the hooks tell Claude how many items are queued, so that it asks you whether to start the next one when a task is done; it never starts one without a yes (see docs/QUEUE-NEXT.md).
eval "$(sitrep completion bash)" in ~/.bashrc completes commands, flags and session ids.
Listing Sessions
sitrep ls prints a table of the running sessions: id, directory, state and queue, then Objective and Now, newest first. -v adds Progress and every queue, and -a adds ended sessions. A ● before the state marks a session that needs you, and a ○ one you snoozed. The state comes from the hooks: working from the moment a prompt goes to Claude, waiting when Claude has stopped and it is your turn, blocked while it waits at a permission dialog, and ended when the session exits. A working session that has been quiet for ten minutes shows idle?, since Claude Code fires no hook when you interrupt a turn. sitrep prune tidies sessions that are gone. How a session counts as running, the hidden lines, what an unreadable state folder does and prune are in docs/LISTING.md.
The Dashboard
sitrep dash is a full-screen view of all your sessions, with the counts (who needs you, how many run, how many have ended) on the top row beside the tabs, and the keys on the bottom row. Without a terminal it prints one frame and exits, and sitrep status always does.
- Cards shows Objective, Progress, Now and the queue of each session.
- Table is one line per session, with its state, queue size, the share of its context window left (CTX) and what it is doing now.
- Wall lays the sessions out as tiles of one size, in as many columns as the width holds, for twenty sessions at once. The sessions that need you come first,
h l j k move between tiles, s sorts them, and S changes the tile size.
A session that needs you, meaning Claude has stopped and the next move is yours, or it waits at a permission dialog, has a ● before its state and a coloured bar down its card (a coloured row in the Table and the Wall), and the status bar leads with ● 2 need you. The colour fades after ten minutes (SITREP_ATTN_FADE, see docs/SETTINGS.md) and the ● stays. The terminal bell rings once when a session starts needing you.
sitrep colors is a tool for choosing the colours: it previews every use of colour on made-up sessions, lets you pick each one, and writes the two settings to sitrep.conf when you say so (see the dashboard); C in the dashboard opens it too.
The keys you need first:
| Key |
What it does |
j k gg G |
Move the selection. |
enter |
Jump to the terminal that shows the selected session (tmux, cmux, iTerm2 and Terminal.app). |
v or space |
The selected session in full. |
tab h l |
Switch tab. |
/ |
Filter the sessions. |
q i |
The selected session's queue, and the inbox. |
n |
Name the selected session. |
z |
Snooze a session that can wait. |
? |
Every key and colour. esc goes back, x exits (ctrl+c too). |
The dashboard rings the terminal bell once when a session starts needing you; sitrep dash --no-bell (or SITREP_TUI_BELL=0) turns that off, and z mutes one session. --mouse makes a click select a row (or a tile), a click on a tab name open that tab, and a double click jump. All keys, how the jump works for each terminal, the queue screens, the options (--read-only, --no-bell, --interval) and the colours are in docs/DASHBOARD.md.
Settings
Defaults live in ~/.claude/sitrep/sitrep.conf or the environment, and the environment wins. sitrep setup keeps a block of commented examples at the end of the file. The ones most people want:
SITREP_THEME=<name> picks the dashboard's colours: default, pastel, rainbow, high-contrast, mono, or one of thirty-three more (ocean, forest, eighties, blues, reggae, tokyo, coffee, cvd-safe and others, listed in docs/SETTINGS.md); sitrep colors shows them all.
SITREP_STATUS_LINES=<names> chooses which lines of the status line show: any of objective, progress, now and queue (default all four).
SITREP_QUEUE_ITEMS=<items> is the queue list limit (default 5).
SITREP_CHECK_UPDATES=<0|1> lets sitrep look once a day for a newer release (default on). It is the only setting that uses the network, and 0 turns it off.
SITREP_LOG=on turns on the history log (default off), which keeps the text of your items.
The rest (single colours, how long a session that needs you keeps its colour, refresh, debounce, a state folder of your own and the log limits) are in docs/SETTINGS.md.
Other languages. Text in any language is shown as you wrote it, and double-width characters (Chinese, Japanese, Korean) and emoji are counted in the layout. The summaries (Objective, Progress and Now) come out in the language of your messages, or in the one that SITREP_SUMMARY_LANG names (zh-Hans, ja, pt-BR). Session names (aliases) are letters, digits and hyphens only, so that they are safe to type and to print: a name in your language belongs in the Objective, which is free text. The dashboard's own words (the tabs, the states, the counts, the keys, the ? help, the queue screens and the colour tool) are in English, and in Simplified Chinese when SITREP_LANG=zh_CN is set, as a first draft that no native reader has checked yet: send a correction as an issue on GitHub, using the list in docs/I18N-ZH.md. sitrep help, the errors and sitrep ls stay in English on purpose; docs/I18N.md says what is translated and how to add a language. Invisible joiners inside emoji sequences and bidirectional controls are removed on purpose, so a family emoji is shown as its parts. Arabic and Hebrew are shown in logical order and the terminal decides how to draw them.
For Programs
sitrep ls --json prints one JSON document that describes the running sessions, for a program that draws its own view. It always prints a valid document, every text field is a single line with no control characters, and version changes only when a field is removed or changes meaning, so a program should ignore fields it does not know. needs_input is the field that says a session waits for you. The fields are in docs/JSON.md, and the history log, sitrep log --json, is in docs/LOG.md.
Backing Up
sitrep backup /Volumes/nas/sitrep # save the queues, the inbox, the names and the history log
sitrep restore --dry-run <that archive> # read what it would put back, item by item
sitrep restore <that archive> # put it back, after asking
On a machine where the sessions are gone, the items of their queues arrive in the inbox, with a note of where each came from, and +take or 1-9 in the dashboard moves them to the sessions you start.
sitrep backup <folder> writes one archive, sitrep-<host>-<time>-<hex>.tar.gz, in a folder that already exists (a mounted NAS share, say). It takes the lock that queue changes take for as long as it takes to read the files, so that an item being moved between two queues is in the archive once, and it changes nothing in the state folder but the time of the last backup. sitrep backup - writes the archive to standard output for a pipe. The status line and the dashboard tell you when the last backup is more than SITREP_BACKUP_WARN days old (2 by default), but only if you have made one, and sitrep backup --last is the same check for a script. Run it from cron or launchd, not from a hook. The archive holds your queue text and the folders you work in, so keep it where only you can read it.
sitrep restore <archive> adds the queue items that a queue lacks at its end, sets the names of sessions that have none, and never removes or overwrites anything, so it is safe to run twice. --only <session> restores one queue, --summary says what an archive holds, --with-conf also sets the theme and the colours, and --replace makes the queues and the history log exactly the archive's instead: it saves the present state first, prints how to undo it, marks the queues of running sessions, and always asks, even with -y, which is why a program that means it says --yes-replace as well. The archive is not trusted, so the plan shows the text of every item it would add before it asks. Restore only archives you made. Backup is one-way, not a way to keep two machines the same. docs/BACKUP.md has recipes for cron, launchd, an ssh pipe, keeping the newest thirty, signing and age.
Privacy And Safety
Each summary is one Haiku call on the tail of the transcript, capped at $0.05, and at most one runs for a session in 45 seconds. The cost has not been measured; docs/COMPARISON.md works out the worst case.
Session state is stored in ~/.claude/sitrep, which is owner-only (700, files 600). Prompt and model text is treated as untrusted terminal input, so control characters (escape sequences and the C1 range) and format characters (such as bidi overrides) are removed before it is stored and again before it is printed. The summarizer sends the tail of the transcript to Haiku through claude -p, the same service the session itself uses. It runs from an empty temporary directory with no tools, no MCP servers, no settings and a 60 second limit, in its own process group that the limit ends whole, and only reads transcripts that live under ~/.claude/projects. The daily update check is the only other network use: it asks this repository for its tag names and sends nothing from your sessions. Set SITREP_CHECK_UPDATES=0 to turn it off.
License
MIT. See LICENSE.