/gabbe-brain:working-memoryfrom gabbe-brain
Manages complex tasks by chunking state into a scratchpad, limiting active chunks to 4-7, and re-anchoring goals to prevent hallucination or context overflow.
Ships in gabbe-brain. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill when handling complex tasks that exceed the "cognitive load" (context window) or require holding multiple variables in mind.
Don't read entire files. Chunk information into "Cognitive Units".
.scratchpad.md) to offload chunks.Explicitly define what you are "attending" to.
UserAuth function."Billing module to prevent interference."To keep data in working memory, you must "rehearse" it using the task_boundary tool summary.
If you feel "confused" or hallucinate:
.scratchpad.md (your own file only); copy anything you still need into the task notes first..scratchpad.md with one section per chunk, plus a "Goal" line at the top.
.scratchpad.md holds working notes only: no secrets or personal data. Add it to .gitignore and delete it at the end of the task.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub andreibesleaga/gabbe --plugin gabbe-brain16 skills in this plugin
/active-inferenceFrames an agent's predict, act, compare loop as surprise minimisation (conceptual, not a solver). Use when a tool result contradicts the agent's expectation and it must choose between probing and fixing./brain-modeAdds a plan-and-review layer over the normal work loop. Picks the cheapest strategy that passes, watches a Loki run, and records one decision-log entry. Use when the human says "brain mode" or "activate brain" for a task that needs a chosen strategy and cost control./cognitive-architecturesDescribes SOAR, ACT-R and LIDA patterns (propose, evaluate, select; activation-based retrieval; workspace broadcast) as ideas for agent design. Use when designing an agent's reasoning cycle or memory retrieval and you want a named pattern as a starting point./cognitive-testingTests cognitive and agentic loops by invariants, convergence, memory integrity and loop guards instead of exact output. Use when you must test an autonomous loop whose output varies, or check that its guards fire./consciousness-loopAdds an explicit observe, orient, decide, act trace with a breakout after 3 idle spins. Use when an agent keeps reasoning without calling a tool, or when a decision trace is needed./cost-benefit-routerChooses a local or remote model and a model tier for a task from complexity, privacy and context size. Use when asked to route a task, choose a model or cut cost, or when the task may involve sensitive data.Other plugins' skills for the same job