Skip to main content

working-memory-protocol

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).

来源信息

仓库
Bitterbot-AI/bitterbot-desktop
最近来源活动
2026年9月20日 06:46
检测到的 SKILL.md 语言
英语
星标
2,473
分支
418

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
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"`.
在 GitHub 查看