Autodream Brain Sync

SkillFiles & storage

Lets your agent copy memories it saves locally to Open Brain so other AI apps and devices can see them.

Then ask your AI: use the Autodream Brain Sync skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add it as a step in a pipeline you build on Ahel, or connect Ahel to Claude, ChatGPT, Cursor, Claude Code or Codex and ask your AI to use it.

About this skill

Syncs Claude Code's local memory system to Open Brain. Triggers whenever memories are saved via dreaming, autodream, or explicit "remember this" requests. After every local memory file write, captures the same content to Open Brain via mcp__open-brain__capture_thought so that memories are accessible

What this skill tells your AI

The instructions your AI receives, as published by natebjones-projects/ob1 in skills/autodream-brain-sync/SKILL.md and read by Ahel’s review.

Problem

Claude Code's auto-memory system (dreaming/autodream) saves memories to local files under .claude/projects/*/memory/. These files are only accessible to Claude Code on the same machine. If you use multiple AI clients (ChatGPT, Claude Desktop, Codex) or multiple devices, those memories are invisible to your other sessions.

Trigger Conditions

  • Any write to a memory file in .claude/projects/*/memory/ (excluding MEMORY.md index)
  • User says "remember this", "save to memory", "dream", "autodream"
  • End-of-session memory saves (auto-dreaming)
  • Explicit /memory command usage

Process

  1. Write the memory to its local file as normal (following the standard memory system format with frontmatter)
  2. Update MEMORY.md index as normal
  3. Immediately after each memory file write, call mcp__open-brain__capture_thought with the memory content
    • Use the memory content (not the frontmatter) as the thought
    • Prefix with the memory type in brackets for context, e.g. [feedback] Don't mock the database in integration tests
    • If the memory references a specific project, include the project name

Output

Each memory save produces:

  • A local .md file in the memory directory (standard behavior)
  • An updated MEMORY.md index (standard behavior)
  • A corresponding Open Brain thought capture (added by this skill)

Guard Rails

  • Do not capture the MEMORY.md index file itself — it's just pointers, not content
  • Do not duplicate — if updating an existing memory file, capture the updated version (Open Brain handles dedup via embeddings)
  • Do not block on failure — if mcp__open-brain__capture_thought fails (MCP server down, network error), complete the local memory save anyway and note the sync failure
  • Respect memory exclusions — if the standard memory system says "don't save this", don't capture to Open Brain either

Notes for Other Clients

This skill is specific to Claude Code's auto-memory system. Other clients don't have local memory files, so they capture directly to Open Brain without needing this sync step. The skill ensures Claude Code's local memories don't become an isolated silo.

Signals

GitHub stars
5k
Forks
892
Last commit
Oct 2026
Advanced
Item type
skill
Key
autodream-brain-sync
Source
github.com/natebjones-projects/ob1