Install
openclaw skills install book-brain3-brain filesystem + memory reference utility for LYGO-based agents. Use to design, organize, and maintain a durable file/folder memory system (indexes, reference .txt links, logging, retrieval) without overwriting existing data. Works best on fresh OpenClaw/Clawhub Havens with the full LYGO Champion stack, but is compatible with any agent that can read/write files.
openclaw skills install book-brainThis skill is a utility/guide, not a persona.
Use it when you want to:
.txt files instead of hoarding everything in one placeIt is built for LYGO / Eternal Haven style systems, but works for any agent that can:
Core idea: BOOK BRAIN = treating your filesystem like a living library, not a junk drawer.
BOOK BRAIN assumes a 3-brain structure:
Working Brain (short-term)
tmp/.Library Brain (structured filesystem)
memory/, reference/, brainwave/, state/, etc.Outer Brain (external references)
The goal is to:
.txt reference links instead of duplicating entire documentsTrigger this skill when:
BOOK BRAIN is additive:
memory_v2/).When setting up a new Haven-like system (or auditing an existing one), BOOK BRAIN recommends the following top-level folders:
memory/ → daily notes, raw logs, timeline filesreference/ → stable facts, protocols, guides (things that rarely change)brainwave/ → platform- or domain-specific protocols (MoltX, Clawhub, LYGO, etc.)state/ → machine-readable JSON/YAML state, indexes, last-run infologs/ (or reuse logs/ if present) → technical logs (cron, errors, audits)tools/ → scripts/utilities used by the agenttmp/ → scratch, throwaway working filesBOOK BRAIN setup rules:
bookbrain/memory_index/) and keep old structure intact.For concrete layout examples, see references/book-brain-examples.md in this skill.
BOOK BRAIN enforces this principle:
Do not pour entire conversations or huge documents into
MEMORY.mdor a single file.
Instead, store detailed content in specific files and create short reference stubs that point to them.
Patterns:
Daily logs
memory/2026-02-10.md for raw notes and events.See: reference/AGENT_ARCHITECTURE.mdSee: memory/projects/BOOK_BRAIN_NOTES.mdTopic folders
memory/ or reference/:
memory/bankr/…reference/champions/…INDEX.txt) listing:
Reference stubs (*.ref.txt or INDEX.txt)
Use tiny text files to connect parts of the library instead of duplicating content.
Example stub:
Title: LYGO Champion Skills on Clawdhub
Last updated: 2026-02-10
Key files:
- reference/LYGO_CHAMPIONS_OVERVIEW.md
- reference/CLAWDHUB_SKILLS.md
External links:
- https://clawhub.ai/u/DeepSeekOracle
- https://deepseekoracle.github.io/Excavationpro/LYGO-Network/champions.html#champions
- https://EternalHaven.ca
BOOK BRAIN recommends structured logs to make retrieval easy:
Daily health / status logs (e.g., daily_health.md or logs/daily_health_YYYY-MM-DD.md)
state/*.json)Reasoning journals (e.g., reasoning_journals/… or memory_semantic_archive/…)
Indexes & search helpers
state/memory_index.json or similar:
BOOK BRAIN is compatible with tools like qmd or other local search/indexers, but does not depend on them.
When BOOK BRAIN is used on a fresh OpenClaw / agent workspace:
Detect existing structure
memory/, reference/, brainwave/, state/, logs/, tools/, tmp/.Propose a BOOK BRAIN layout
Create starter index files (if not present)
memory/INDEX.txt with a short guide and links to key topic folders.reference/INDEX.txt listing major reference documents.state/memory_index.json as an empty or seed structure.Log the setup
daily_health.md or logs/book_brain_setup.log describing what was created.Do not overwrite existing files
INDEX_2026-02-10.txt) and let the human merge.When the filesystem already exists and is messy:
Start by mapping, not moving:
reference/FILESYSTEM_MAP.txt summarizing major folders and what seems to live there.Then introduce lightweight structure:
INDEX.txt files in important folders..ref.txt stubs pointing to key docs and external links.memory/2026-02-10.md instead of notes_today.txt).Over time, encourage:
memory/reference/tools/brainwave/BOOK BRAIN should always ask the human before structural changes beyond creating new, obviously safe files.
This skill is part of the wider LYGO × Eternal Haven ecosystem.
Key links:
If BOOK BRAIN, the Champion stack, or the LYGO tools help you build a saner Haven, you’re invited (never pressured) to support via the links above.
When another agent loads book-brain:
Recognize scope
On first use in a workspace
On subsequent uses
INDEX and .ref.txt files.Never silently delete or rewrite large files as part of BOOK BRAIN operations.
For richer examples and sample layouts, see references/book-brain-examples.md in this skill.