Hippocampus Subagent Memory
Use this skill when OpenClaw spawns sub-agents that need their own memory
without contaminating the parent agent context.
Use It For
- - creating isolated sub-agent memory namespaces
- preventing accidental memory leakage across siblings
- returning only bounded summaries or artifacts to the parent
- coordinating explicit import from child to parent
Preferred Flow
- 1. Spawn a child with a scoped
HIPOKAMP_SUBAGENT_ID. - Let the child write only into its own namespace.
- Return a bounded result package at the end of the task.
- Import back to parent only what is explicitly approved.
Guidance
- - Default to isolation.
- Do not flatten full child memory into the parent.
- Prefer summary, artifacts, and references over transcript copy.
- Tag child memory with session and parent linkage metadata.
- Root-agent bootstrap should happen once in the portal; child agents should
inherit scope automatically and should not require separate portal signup.
Related
- -
hippocampus-memory-core for core memory operations - INLINECODE2 for base config
- INLINECODE3 for automated spawn/end lifecycle hooks
海马体子代理记忆
当OpenClaw生成需要独立记忆的子代理,且不希望污染父代理上下文时,请使用此技能。
适用场景
- - 创建隔离的子代理记忆命名空间
- 防止兄弟代理之间发生意外的记忆泄漏
- 仅向父代理返回有界摘要或产物
- 协调从子代理到父代理的显式导入
推荐流程
- 1. 使用限定范围的HIPOKAMPSUBAGENTID生成子代理。
- 让子代理仅写入其自身的命名空间。
- 在任务结束时返回有界的结果包。
- 仅将明确批准的内容导入回父代理。
使用指南
- - 默认采用隔离模式。
- 不要将完整的子代理记忆扁平化合并到父代理中。
- 优先使用摘要、产物和引用,而非转录副本。
- 使用会话和父代理链接元数据标记子代理记忆。
- 根代理引导应在门户中一次性完成;子代理应自动继承作用域,无需单独注册门户。
相关技能
- - hippocampus-memory-core:核心记忆操作
- hippocampus-openclaw-onboarding:基础配置
- @hippocampus/openclaw-context-engine:自动生成/结束生命周期钩子