sidebar

A command for showing live coding-agent status in a tmux sidebar. Tmux is a terminal tool that lets several sessions or panes run at once.

In plain words
What is it for?
Use it to turn the sidebar on or off, limit it to one tmux session, position it, resize it, and display agent or pull-request status.
Why use it?
It makes agent activity, worktree names, elapsed time, and selected Git information visible without checking each session separately.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/raine/workmux/sidebar
Clone the repo
git clone --depth 1 https://github.com/raine/workmux
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,456 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00009 $0.01456
Opus 5 $0.00005 $0.00728
Sonnet 5 $0.00002 $0.00291
Haiku 4.5 $0.00001 $0.00146

Measured 2d ago against content hash 0d0b0d337467, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

sidebar scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

docs/src/content/docs/reference/commands/sidebar.md · 161 lines

How it starts

The opening of the file, as written. The whole thing — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Controls a live agent status sidebar on the left or top edge of tmux windows. By default, each sidebar pane shows active agents across all tmux sessions with live status updates. Use workmux sidebar filter session to show only agents in the current tmux session.

workmux sidebar                         # Toggle sidebar on/off (all sessions)
workmux sidebar on                      # Ensure the global sidebar is running
workmux sidebar off                     # Ensure the global sidebar is stopped
workmux sidebar --session on            # Ensure it is running in this session
workmux sidebar --session off           # Ensure it is stopped in this session
workmux sidebar on --position top       # Enable with a top sidebar
workmux sidebar on --width 40           # Set left sidebar width in columns
workmux sidebar on --height 3           # Set top sidebar height in rows

What it shows

Each agent row displays:

  • Status icon (working/waiting/done with spinner animation)
  • Project and worktree name (e.g. myproject/fix-bug)
  • Elapsed time since last status change
  • Git diff stats, plus optional pull request number and check status in custom templates

Keybindings

Key Action
j/k Navigate up/down
Enter Jump to agent pane
g/G Jump to first/last
v Toggle layout mode
f Toggle session filter
z Toggle sleeping on agent
q Open quit confirmation

Mouse support

With tmux mouse mode enabled (set -g mouse on), click an agent row or top-bar chip to jump to its pane, or scroll to navigate the list.

Switch between agents from any tmux pane, in the same order shown in the sidebar. Navigation uses the same filter mode as the sidebar view, so it cycles through all sessions by default:

Command Action
workmux sidebar next Switch to the next agent (wraps)
workmux sidebar prev Switch to the previous agent (wraps)
workmux sidebar jump <N> Jump to the Nth agent (1-indexed)
workmux sidebar filter Toggle session filter (none/session)
workmux sidebar filter <MODE> Set filter mode: none/all or session/project

Read the full file on GitHub · 161 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 161 lines · 9 tokens per session scan A 0d0b0d337467

Subscribe to this mod's changes

sidebar is a command published in the GitHub repository raine/workmux (2,284 stars, last pushed 2d ago), licensed MIT. It adds 9 tokens to every session and 1,456 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.