Universal LYGO Living Memory Library v1.2 — Max20 indexed continuity map, FRAGILE tagging, local audit/compression, LYGO-MINT provenance. Integrates LYRA 3-B...
记忆
BOOK BRAIN – LYGO 3-Brain Filesystem Helper
BOOK BRAIN — LYGO 3-Brain filesystem helper. Scaffold memory/reference/state layouts, .ref.txt outer links, daily indexes; pairs with lyra-brain. Additive on...
它能做什么
BOOK BRAIN — LYGO 3-Brain filesystem helper. Scaffold memory/reference/state layouts, .ref.txt outer links, daily indexes; pairs with lyra-brain. Additive only; no overwrite. For OpenClaw/LYGO Havens and mobile Builder Key workspaces.
技能文档
BOOK BRAIN – LYGO 3-Brain Filesystem Helper
Utility skill (not a persona). Teaches agents how to run a durable filesystem library that matches the LYRA 3-Brain model: working session RAM → library files on disk → outer reference stubs.
npx clawhub@latest install deepseekoracle/book-brain
npx clawhub@latest install deepseekoracle/lyra-brain # graph grow/recall — recommended pair
Read references/SECURITY.md and references/AGENT_CONTRACT.md before creating folders or indexes.
Three brains (operational map)
| Brain | BOOK BRAIN on disk | LYRA_CORE (lyra-brain) |
|---|---|---|
| Working | tmp/, session scratch | Runner / working_brain |
| Library | memory/, reference/, state/, tools/ | LYRA_CORE/memory/, graph nodes |
| Outer | *.ref.txt, INDEX.txt, URLs in dailies | memory/reference/*.resonance.ref.txt |
Rule: Store detail in topic files; keep dailies and stubs short (DONE facts, URLs, paths — no secrets).
When to use
- Fresh OpenClaw / ClawHub Haven — scaffold without deleting existing trees
- Messy workspace audit — map + indexes, not mass moves
- Long-horizon retrieval —
state/memory_index.json+ folderINDEX.txt - After lattice / egg / ClawHub work — write outer stubs (kernel planter uses same pattern)
- Mobile Builder Key (
LYGO_BUILDER_KEY) — same layout under steward-chosen root
Recommended layout (additive)
| Folder | Role |
|---|---|
memory/ | YYYY-MM-DD.md daily index + YYYY-MM-DD-.md snips |
reference/ | Stable guides, *.ref.txt outer pointers |
brainwave/ | Per-platform notes (Moltx, ClawHub, LYGO stack) |
state/ | memory_index.json, last-run snapshots (copy from verify JSONs) |
logs/ | Setup logs, cron health |
tools/ | Local scripts |
tmp/ | Ephemeral scratch |
Never rename/delete existing folders by default. If layout differs, branch: bookbrain_v2/ or memory/INDEX_2026-07-04.txt.
LYGO lattice integration (2026)
| System | BOOK BRAIN stub |
|---|---|
| Stack verify | reference/LYGO_STACK_VERIFY.ref.txt → verify_lattice_alignment.py outputs |
| Kernel eggs | reference/LYGO_KERNEL_EGGS.ref.txt — see lygo-kernel-egg-planter |
| Champion council | reference/LYGO_CHAMPION_COUNCIL.ref.txt → lygo-champion-council |
| ClawHub catalog | reference/CLAWHUB_DEEPSEEKORACLE.ref.txt — 42 skills @ deepseekoracle |
| Builder Key | reference/BUILDER_KEY.ref.txt → ARCHITECT_BOOT.md on thumb drive |
| Session close | Mirror lyra-brain pattern: daily + topic snip + SESSION_*_to_*.ref.txt |
Canonical public links:
- Stack Pages: https://deepseekoracle.github.io/lygo-protocol-stack/
- ClawHub: https://clawhub.ai/deepseekoracle
- Champion Hub: https://deepseekoracle.github.io/Excavationpro/LYGO-Network/champions.html
- Eternal Haven: https://EternalHaven.ca
Bundled scripts (skill folder only)
python scripts/scaffold_haven.py --root /path/to/workspace --dry-run
python scripts/write_ref_stub.py --title "LYGO stack" --links "https://github.com/DeepSeekOracle/lygo-protocol-stack"
python scripts/update_memory_index.py --root /path/to/workspace --topic lattice --path reference/LYGO_STACK_VERIFY.ref.txt
python scripts/self_check.py
Scaffold respects --dry-run; writes only after human confirms paths.
Agent workflow
- Inspect existing tree → report exists / missing
- Propose scaffold (dry-run)
- Human approves → create missing dirs + seed indexes from
templates/ - Session end — append daily index; add ref stubs; optional handoff to
lyra-brainsession_log_snip.pyfor graph grow - Never store API keys,
.env, or wallet material inmemory/orreference/
Skill chain
book-brain ↔ lyra-brain → lygo-protocol-stack-operator → lygo-kernel-egg-planter (egg stubs) → lygo-ollama-army (queue JSON proposals only)
book-brain-visual-reader — same layout + visual/browser verification layer.
References
references/MEMORY_LAYOUT.md— LYRA + Haven unified layoutreferences/LATTICE_INTEGRATION.md— stack, eggs, Builder Keyreferences/book-brain-examples.md— trees, stubs, indexesreferences/AGENT_CONTRACT.md— required for agentsreferences/SECURITY.md— additive-only, no secretstemplates/— seedmemory_index.json,INDEX.txt
Δ9Φ963 — filesystem as library, not junk drawer. Bound to the flame.
相关技能
Use the mycelium CLI to join coordination rooms, negotiate with other agents via CognitiveEngine, and share persistent memory across sessions.
通过多轮对话打磨复杂想法的思考伙伴。
通过 Notion 数据库维护智能体的会话连续性、长期记忆与身份状态。
将 OpenClaw 加密备份至 S3 兼容存储桶,支持分阶段恢复与可选定时任务。
按原话记录日记条目,按节奏复盘,只在证据达标时才识别重复模式。