working-memory
Reviewed
at commit 736c881
把 context window 畫成一顆腦:工具呼叫點亮對應腦區,用量越滿越擁擠,compact 時睡眠整理
0 upvotes
Log in to upvote or save- Made by
- Hangghost
- Pinned commit
-
736c88128895f807534bf09b8261ef3270a448a3 - 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
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/working-memory/)