portable-memory-core
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChinesePortable Memory Core
便携内存核心
"Never explain yourself twice."
This skill enforces the protocol. Instead of scattering your preferences across dozens of system prompts, it centralizes them into a portable directory that any LLM runner can hook into.
One Brain.agent/“无需重复解释自身。”
该技能遵循协议。它不会将你的偏好分散在数十个系统提示词中,而是将它们集中到一个便携的目录中,任何LLM运行器都可以接入该目录。
One Brain.agent/Core Directives
核心指令
- Memory Synchronization: Upon startup, read from .
.agent/memory.yaml - Context Passing: Whenever the user switches contexts (e.g., from Cursor to OpenClaw), this skill ensures the new context loads the latest state from .
.agent/state.json - Identity Enforcement: Enforces the rules (e.g., "Caveman mode", "No em dashes", "Substack voice") universally across all generated code and text.
IDENTITY.md - Harness Agnostic: Works seamlessly whether the upstream harness is Claude CLI, a custom Python script, or a GUI.
- 内存同步:启动时读取文件。
.agent/memory.yaml - 上下文传递:当用户切换上下文时(例如从Cursor切换到OpenClaw),该技能确保新上下文从加载最新状态。
.agent/state.json - 身份规则强制执行:在所有生成的代码和文本中统一执行中的规则(例如“穴居人模式”、“禁止使用破折号”、“Substack风格语气”)。
IDENTITY.md - 工具无关性:无论上游工具是Claude CLI、自定义Python脚本还是GUI,都能无缝运行。
Usage
使用方法
When activated, you will automatically:
- Load
.agent/preferences.yaml - Update with the current session summary.
.agent/history.json - Export relevant variables to the local workspace.
激活后,将自动执行以下操作:
- 加载文件
.agent/preferences.yaml - 将当前会话摘要更新至
.agent/history.json - 将相关变量导出到本地工作区