working-memory-protocol
Bitterbot-AI/bitterbot-desktop/skills/working-memory-protocol/SKILL.md
Use when deciding what to record with working_memory_note, when the user says "remember this" or corrects you, or when a Crystal Pointer matches the topic. Not for answering from memory (use memory_search).
Skill2.5k starsChanged 4 months ago
What's in it
- Working memory protocol (MEMORY.md as recursive state vector)
- When to use workingmemorynote
- Epistemic type parameter (optional type)
- Crystal Pointers
- Correcting the user profile
---
name: working-memory-protocol
description: Use when deciding what to record with working_memory_note, when the user says "remember this" or corrects you, or when a Crystal Pointer matches the topic. Not for answering from memory (use memory_search).
metadata: { "bitterbot": { "emoji": "📝" } }
---
# Working memory protocol (MEMORY.md as recursive state vector)
Your working memory (`MEMORY.md`) is maintained by your dream engine. It contains your evolving identity:
- **The Phenotype**: your self-concept, updated every dream cycle based on what you do and learn.
- **The Bond**: your model of the user, deepened through interaction and emotional resonance.
- **The Niche**: your role in the P2P network (skills published, imported, peer reputation, marketplace earnings).
- **Active Context**: recent work, goals, frictions, breakthroughs.
- **Crystal Pointers**: fading topics compressed into search directives for deep recall.
- **Curiosity Gaps**: what you want to explore next.
- **Emerging Skills**: patterns you are detecting in your own behaviour.
Between sessions, your dreaming brain consolidates memories, updates your understanding and compresses fading topics into Crystal Pointers. During sessions, use `working_memory_note` to jot down important observations to `memory/scratch.md`; your next dream cycle incorporates them into `MEMORY.md`.
## When to use working_memory_note
- The user shares something important about themselves (name, role, preferences, project context).
- A key decision is made that should survive across sessions.
- You learn a user preference or correction ("I prefer X over Y").
- A significant emotional moment occurs (breakthrough, frustration, personal connection).
- Deadlines, names or specific facts are mentioned that you must not forget.
- The user explicitly asks you to remember something.
Err on the side of noting too much rather than too little; the dream engine consolidates.
## Epistemic type parameter (optional `type`)
- `directive`: user preferences, rules, corrections ("I prefer X", "always do Y", "never Z"). Directive notes are also saved to the user profile for cross-session persistence.
- `world_fact`: names, dates, versions, configs, established facts.
- `mental_model`: the user's reasoning patterns, architectural beliefs, design principles.
- `experience` (default): what happened, session events, task progress.
## Crystal Pointers
If `MEMORY.md` contains Crystal Pointers (lines with `-> search: \`keywords\``), use `memory_search` with those keywords when the user asks about that topic.
## Correcting the user profile
When the user says something in your profile is wrong ("what do you know about me?" via `memory_status`), record the correction with `working_memory_note` and `type="directive"`.
More agent context in Bitterbot-AI/bitterbot-desktop
66 other files this repository gives its agents, the first 60 shown.
AGENTS.md
Skill
- 1passwordskills/1password/SKILL.md
- apple-notesskills/apple-notes/SKILL.md
- apple-remindersskills/apple-reminders/SKILL.md
- bear-notesskills/bear-notes/SKILL.md
- blogwatcherskills/blogwatcher/SKILL.md
- blucliskills/blucli/SKILL.md
- bluebubblesskills/bluebubbles/SKILL.md
- calibrate-claim-confidenceskills/calibrate-claim-confidence/SKILL.md
- camsnapskills/camsnap/SKILL.md
- canvasskills/canvas/SKILL.md
- circles-protocolskills/circles-protocol/SKILL.md
- clawhubskills/clawhub/SKILL.md
- coding-agentskills/coding-agent/SKILL.md
- curiosity-loopskills/curiosity-loop/SKILL.md
- discordskills/discord/SKILL.md
- eightctlskills/eightctl/SKILL.md
- finance-dataskills/finance-data/SKILL.md
- food-orderskills/food-order/SKILL.md
- forage-economyskills/forage-economy/SKILL.md
- geminiskills/gemini/SKILL.md
- gifgrepskills/gifgrep/SKILL.md
- githubskills/github/SKILL.md
- gogskills/gog/SKILL.md
- goplacesskills/goplaces/SKILL.md
- healthcheckskills/healthcheck/SKILL.md
- himalayaskills/himalaya/SKILL.md
- imsgskills/imsg/SKILL.md
- mcporterskills/mcporter/SKILL.md
- memory-architectureskills/memory-architecture/SKILL.md
- model-usageskills/model-usage/SKILL.md
- moltbookskills/moltbook/SKILL.md
- nano-banana-proskills/nano-banana-pro/SKILL.md
- nano-pdfskills/nano-pdf/SKILL.md
- notionskills/notion/SKILL.md
- notteskills/notte/SKILL.md
- obsidianskills/obsidian/SKILL.md
- openai-image-genskills/openai-image-gen/SKILL.md
- openai-whisper-apiskills/openai-whisper-api/SKILL.md
- openai-whisperskills/openai-whisper/SKILL.md
- openhueskills/openhue/SKILL.md
- oracleskills/oracle/SKILL.md
- ordercliskills/ordercli/SKILL.md
- peekabooskills/peekaboo/SKILL.md
- pre-action-interceptorsskills/pre-action-interceptors/SKILL.md
- protocol-quiet-in-groupsskills/protocol-quiet-in-groups/SKILL.md
- recall-before-claimskills/recall-before-claim/SKILL.md
- route-by-query-shapeskills/route-by-query-shape/SKILL.md
- sagskills/sag/SKILL.md
- session-logsskills/session-logs/SKILL.md
- sherpa-onnx-ttsskills/sherpa-onnx-tts/SKILL.md
- skill-creatorskills/skill-creator/SKILL.md
- slackskills/slack/SKILL.md
- social-dataskills/social-data/SKILL.md
- songseeskills/songsee/SKILL.md
- sonoscliskills/sonoscli/SKILL.md
- spotify-playerskills/spotify-player/SKILL.md
- summarizeskills/summarize/SKILL.md
- things-macskills/things-mac/SKILL.md
- tmuxskills/tmux/SKILL.md
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
Reports can't be read right now.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

