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).
How do I install this agent skill?
npx skills add https://github.com/mphinance/alpha-skills --skill portable-memory-coreIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill is a meta-skill designed to centralize and persist agent state, preferences, and identity rules across different AI environments via a local '.agent/' directory. No malicious patterns, such as network exfiltration, remote code execution, or credential harvesting, were detected. The skill is entirely descriptive and contains no executable code.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
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.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/mphinance/alpha-skills/portable-memory-core">View portable-memory-core on skillZs</a>