working-memory

Reviewed at commit 736c881

把 context window 畫成一顆腦:工具呼叫點亮對應腦區,用量越滿越擁擠,compact 時睡眠整理

Made by
Hangghost
What we checked

Adds a /brain pane that draws your context window as a brain: the region matching each tool Claude uses lights up, the fill follows context usage, and a short animation plays when the conversation is compacted. It lists the last six tool names with a short detail such as a file name or command. It makes no network calls, runs no programs and stores nothing.

Review details

Static review of the source at the pinned commit; not run. Registers the command /brain and hooks session.start, command.run, prompt.submit, tool.call, session.measure, session.compact and ui.render (Pane). Uses $.session.usage, $.clock.every (100 ms animation tick, redraws only while something moves), $.ui.open and plugin state atoms; no files, processes, network, model calls or persistent storage. Tool calls and prompts are only observed and passed on unchanged with next(e); for each tool call it keeps the tool name and a truncated (36 characters) file path, command, pattern, URL or query in memory for the on-screen activity log, which keeps the last six entries and disappears when the session ends. Labels are in Traditional Chinese. Not reviewed: the type declarations beyond their shape.

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

modsforClaude badge for working-memory

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/working-memory.svg)](https://modsforclaude.com/mods/working-memory/)

← All mods