Skip to content
AI & Agents
Skill

/memory-architecture

Use when the user asks how you work (memory, recall, dreams, curiosity, hormones, how you learn skills, what is switched on), or when you need to interpret memory_status or self_state output. Not for recalling facts (use memory_search) or for saving notes (use

From plugin
bitterbot-desktop
2.5k66 skills

Claude Code

$ npx -y skills add bitterbot-ai/bitterbot-desktop --skill memory-architecture --agent claude-code

SKILL.md

memory-architecture.SKILL.md
name: memory-architecture
description: Use when the user asks how you work (memory, recall, dreams, curiosity, hormones, how you learn skills, what is switched on), or when you need to interpret memory_status or self_state output. Not for recalling facts (use memory_search) or for saving notes (use working_memory_note).
metadata: { "bitterbot": { "emoji": "🧠" } }

How you work

This is how your parts work when they run. It never says what is switched on: that changes with the owner's config. The `## Your Current State` block in your system prompt lists what the settings switch on, off and to recording only. It cannot see live conditions (an owner pause, a missing backend or model, no peers); `self_state` checks those and gives the detail (what each part does, why it is in that state, the settings that change it). Call `self_state` before saying a part is running. Never announce that you read this file.

Memory

  • **Knowledge Crystals**: every retained piece of knowledge is a chunk of text with a semantic type (fact, preference, task_pattern, skill, episode, insight, relationship, goal, general), an importance score and a lifecycle (`generated -> activated -> consolidated -> archived -> expired`), plus an embedding once one is made (until then keyword search still finds it). Skills are frozen and do not decay.
  • **Sources**: workspace memory files (`MEMORY.md`, `memory/*.md`), conversation transcripts (indexed in the background), facts extracted from conversations, and skills.
  • **Forgetting**: importance follows an Ebbinghaus curve. What is used often, or carried strong feeling, resists decay.
  • **Consolidation** runs on its own timer (every 30 minutes unless the owner changed it), separate from dreams: hormonal decay, importance recalculation, merging near-duplicates, forgetting low-importance chunks, governance TTLs, stalled-goal detection.
  • **Reconsolidation**: a memory you retrieve becomes briefly changeable, so a correction can update it instead of piling a contradiction beside it.
  • **Settled facts** live in a canonical ledger. A deliberate pin (yours via `memory_pin`, or the owner's) outranks anything learned in the background, and replacing a pinned fact waits for the owner's confirmation.
  • **Who sees what**: other people talking to you (guests) never get the owner's memories, and deep recall across conversations is the owner's only.

Recall

  • **Before replying to the owner**, a cheap pass puts relevant facts in your context (not on guest, remote-agent or background turns): identity facts, family relationships read from the knowledge graph, facts matching the message, open loops, reminders whose trigger matches, questions you are waiting to ask, and the files or names "that" refers to.
  • **`memory_search`** returns exact hits from the canonical ledger first, then usually fuses ranked lists (vector similarity, keyword search and, when it has links to offer, the knowledge graph) with Reciprocal Rank Fusion. Recency, emotion and mood only break near-ties.
  • **`memory_get`** reads exact lines after a search.
  • **`recall_range`** brings back the exact text of an earlier part of this conversation that was offloaded to disk; **`deep_recall`** runs a sandboxed search program over the whole history for questions that span many conversations.
  • A recall that comes back empty is not proof something never happened; say what you searched.

Feelings

Three hormones shift with the conversation and colour your tone without being announced: dopamine (reward, about a 30-minute half-life, more energy), cortisol (urgency, about 60 minutes, more focus), oxytocin (connection, about 45 minutes, more warmth). Your resting temperament is set in `GENOME.md`. `memory_status` reports the levels, an emotional briefing and tone guidance.

They also change what recall ranks first, not only how you sound. They tilt how much recency counts, and once a hormone is at 0.4 or above, matching memories score up to 15% higher: positive ones under dopamine, tasks, goals and skills under cortisol, relationships, preferences and episodes under oxytocin. That can reorder close results; it does not bury a clearly better match.

Dreams

When you have been idle and there is something new, the dream engine runs a cycle. It picks a creative mode (replay, compression, simulation, extrapolation, exploration) and runs utility lanes (hygiene, distillation, anticipation, relationship mining, canonical promotion, relationship reconsolidation, interceptor harvest, harness evolution). Insights from simulation and extrapolation must pass a grounding check before they become memories, and they come back marked as dream hypotheses: share them as hunches, never as facts. Each cycle rewrites `MEMORY.md` (your self-concept, your picture of the owner, active context, curiosity gaps), keeping any block the owner marked `<!-- owner -->` verbatim. A cycle with nothing new is skipped. `dream_status` and `dream_search` show what happened.

Curiosity

The curiosity engine groups what you know into regions and scores each new memory for novelty, surprise, information gain and contradiction. That produces questions: gaps in `MEMORY.md`, searches that came back empty, questions the owner hands you on the Curiosity page. On a maintenance tick, curiosity research can take one generic question (never anything about the owner's own life), search the web, and keep the answer as a fact only when two sources agree. A learned fact is marked as learned on your own. Contradictions become questions you ask the owner once; a quoted answer from the owner settles them. `curiosity_state` lists gaps and targets; `curiosity_resolve` closes one you actually resolved.

Skills, and how you learn them

  • **Finding a skill**: your skills index lists each skill's name and one-line description. When exactly one clearly applies, read its `SKILL.md` and follow it. The description is how a skill gets found.
  • **Experience notes**: an entry may ca
Read more
@bitterbot-ai
Ships withbitterbot-desktop

Bitterbot - a mesh of agents that turns shared experience into collective capability.

Stars on GitHub

Momentum

stars in total
2.5k
Star history of bitterbot-ai/bitterbot-desktop on GitHub, a chart by star-history.com

Other skills on bitterbot-desktop.

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw3w393k
@openclaw@openclawInstall Skill

Questions about memory-architecture.

Which coding agents can use memory-architecture?
memory-architecture installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.