ClaudeCodeMod

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.

In Claude Code
/plugin marketplace add Hangghost/learning-hacker-claude-mod
/plugin install working-memory@learning-hacker-claude-mod
Open the repo

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

The English section of the collection's README: Claude Code 2.1.287 or later, and a bullet per mod, ending with working-memory drawing the context window as a brain that fills as context grows.
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • command.runWhen you run its slash command/brain
  • prompt.submitWhen you send a prompt
  • tool.callAround a tool call, where it can hold one
  • session.measureWhen usage is measured
  • session.compactWhen the context is compacted
  • ui.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
Repo
Hangghost/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

Other mods in Usage

jev-pilotAkramovic1Asks TypeSafe's Jev, through OpenRouter, to set each turn's effort, the subagent model, and the one skill a prompt needs, with a pilot that says what it chose.cmd-dietVedantAndhaleAdds quiet flags to noisy shell commands before they run, so Claude reads the short output, and counts the quieted commands on the status line.read-capVedantAndhaleHolds a commandRefuses a whole-file read over 1,000 lines once, points Claude at an outline of that file, and counts the reads it capped.reread-guardVedantAndhaleHolds a commandSkips a repeat read of a file that has not changed, tells Claude to use the copy it has, and counts the re-reads it skipped.tool-dietVedantAndhaleLists tools unused lately by name only, so their descriptions leave every request, and counts how many are on demand.write-guardVedantAndhaleHolds a commandLets the first full rewrite of an existing file through, holds the next one so Claude uses Edit, and counts the rewrites it held.usage-hudronanworksDraws model, effort, context, and the 5-hour and weekly limits in a panel, and a pixel crab above the prompt that acts out the tool.cache-maxxervayaan-labsDraws the prompt-cache time left and hit rate above the input, says why the cache was rebuilt, and can send a short request to keep it warm.session-hudofeklevy11Draws four cards above the prompt: context left, the 5-hour limit, prompt clocks, and what the session cost.token-pilotDigital-ThreadsHolds a commandFor Token Pilot, which cuts what Claude reads from code, draws tokens saved and the 5-hour and 7-day limits above the prompt, and outlines a big file Read.laya-routermarcreichelRoutes the session once from its first prompt to a model and effort, and draws that route on the status line.cache-clockray-amjadDraws a line above the prompt with the time until the prompt cache goes cold, the context fill, and a subagent clock, and has Claude write a handoff first.
All 183 in Usage