All shelves / Mods / Usage
working-memory
By Hangghost
working-memory is a Claude Code usage mod by Hangghost.
Draws the context window as a brain: tool calls light regions, it fills as context grows, and compact plays a sleep sweep.
Draws
Install
The marketplace name is learning-hacker-claude-mod.
/plugin marketplace add Hangghost/learning-hacker-claude-mod /plugin install working-memory@learning-hacker-claude-mod
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.1.0
- License
- MIT
- Repo stars
- 13
- Last change
- 2026-10-03
What it can reach
- Draws in the session
- Reads usage or context figures
- Sees tool calls
The README is in Traditional Chinese. Needs Claude Code 2.1.287 or later. /brain opens the pane. Past 85 percent of the context window the brain flashes red. The author says it reads only a tool call's name and a short summary of its arguments, to draw. It does not read or write files, start a program, reach the network, or call a model.
The install name is working-memory. This page adds the author's name. learning-hacker-claude-mod is a collection of Claude Code mods by Learning Hacker, shared as-is, without support. The marketplace name is learning-hacker-claude-mod. The marketplace also holds dispatch-board, dispatch-relay, and handoff-runner. This one installs on its own. The marketplace source is ./plugins/working-memory. The brain is why this page files it under usage. token-weather draws a one-line forecast of the context window above the prompt. Fuller goes from clear toward a storm. context-bar draws the context window as one stacked bar, a color per category, with token counts and the compaction point. Nothing else on the shelf draws the context window as a brain. The source draws the pane's labels in Traditional Chinese.
Demo

What it hooks into
session.startWhen a session startscommand.runWhen you run its slash command/brainprompt.submitWhen you send a prompttool.callAround a tool call, where it can hold onesession.measureWhen usage is measuredsession.compactWhen the context is compactedui.renderDraws into the sessionPane
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Slash commands 1
/brain打開工作記憶腦圖
Files
The author's source, 3 files. They load when you open them.
Facts
- Author
- Hangghost
- Category
- Usage
- Marketplace
- learning-hacker-claude-mod
- Folder
- plugins/working-memory
- Version
- 0.1.0
- License
- MIT
- Repo stars
- 13
- Last change
- 2026-10-03
- Language
- TypeScript
- Files
- 6