Portable memory core
A meta-skill that establishes a 'One Brain' portable memory folder (.agent/). It persists context, user preferences, identity rules, and execution history across different AI harnesses (Claude Code, Cursor, Windsurf, OpenClaw).From its SKILL.md
npx -y skills add mphinance/alpha-skills --skill portable-memory-coreAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.3 KB, as published. Nobody here has run it
Portable Memory Core
"Never explain yourself twice."
This skill enforces the One Brain protocol. Instead of scattering your preferences across dozens of system prompts, it centralizes them into a portable .agent/ directory that any LLM runner can hook into.
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
IDENTITY.mdrules (e.g., "Caveman mode", "No em dashes", "Substack voice") universally across all generated code and text. - Harness Agnostic: Works seamlessly whether the upstream harness is Claude CLI, a custom Python script, or a GUI.
Usage
When activated, you will automatically:
- Load
.agent/preferences.yaml - Update
.agent/history.jsonwith the current session summary. - Export relevant variables to the local workspace.