sidebar

Reviewed at commit 0e4c0dd New version, not yet reviewed

Opens one shared pane beside the transcript and draws the sections, lines and buttons every other mod writes into it through $.sidebar; each stream entry is…

Made by
Kerem Gok
What we checked

Opens a pane beside the transcript that other mods write sections, lines and buttons into. Entries other mods add to its stream are saved per project under ~/.claude/sidebar and taken back next session. It makes no network calls; turning it on switches Claude Code to fullscreen layout, and the model gets a tool to read the pane.

Review details

Static review of the source at the pinned commit; not run. Registers engine.create (adds the $.sidebar noun with set, clear and isOpen for other mods), session.start, tool.describe and tool.call for its own mcp__sidebar__read tool (returns the pane text to the model), command.run for /sidebar (on, off, status, log, snapshot), ui.render for the Pane component, ui.close, turn.start and turn.complete. Runtime calls: $.env.get('HOME'), $.session.cwd, $.store.get/set (remembers open or closed), $.fs.list/read/write/exists on ~/.claude/sidebar/<project>-<day>.log (stream entries as JSON lines, newest 500 kept, last 10 restored on start), $.settings.read (only enabledPlugins, to drop sections of plugins that were switched off), $.command.list, $.command.run (runs '/tui fullscreen' when the sidebar is switched on, which its own comments say may restart the session, and runs the slash commands that buttons of other mods name, as the user would by clicking), $.ui.open/close/panes/invalidate/log. No fetch, sockets, $.process, $.http or $.mcp. Section content from other mods is validated and cut to limits (names 1-64 characters, 50 lines per section, 5 buttons). What lands in the log is whatever other mods choose to write to the stream; the sidebar itself does not read prompts, files of the project or tool results. Log writes are guarded by try/catch and failures are silent. Not reviewed: the engine's own handling of $.command.run and the other mods that write into the pane. eslint.config.js and Makefile are dev tooling and are not loaded by the code.

What it uses
  • Reads your prompts: no
  • Sees tool calls: no
  • Blocks or changes tool calls: no
  • Reads or writes files: yes
  • Runs programs on your machine: no
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: yes
  • Shows something on screen: yes
Hooked events

Opens one shared pane beside the transcript and draws the sections, lines and buttons every other mod writes into it through $.sidebar; each stream entry is stamped with its time and kept in a per-project log the next session takes back.

Made this mod? Add a badge to your README

modsforClaude badge for sidebar

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/sidebar.svg)](https://modsforclaude.com/mods/sidebar/)

← All mods