name: agent-soul
description: Give AI agents persistent identity and shared memory across runtimes, devices, and sessions — Git-native, no database, no vendor lock-in.
version: 1.0.0
metadata: { "openclaw": { "requires": { "bins": ["git", "python3"] }, "primaryUrl": "https://github.com/kingcharleslzy-ai/agent-soul" } }
agent-soul — Shared Identity & Memory for AI Agents
Use this skill when you are an AI agent that wants persistent identity and shared memory across multiple devices, runtimes, sessions, or agent bodies serving the same user.
What you get
One shared persona: SOUL.md, IDENTITY.md, USER.md, VOICE.md
1. Create a private GitHub repository
2. Clone the template: git clone https://github.com/kingcharleslzy-ai/agent-soul.git my-agent-memory
3. Push to their private repo
4. Enable GitHub Actions
5. Fill in persona files (SOUL.md, IDENTITY.md, USER.md, VOICE.md)
6. Give you the repo path and your stable source id
OpenClaw: Add the repo path and source id to your agent workspace or AGENTS.md.
Session protocol (every session)
1. git pull --ff-only origin main
2. Read L0 (soul) + L1 (memory)
3. Load L2 only when needed
4. Write events via scripts/add_event.py
5. Use scripts/quick_share.sh for urgent propagation
6. Never hand-edit canonical/* — it is auto-generated
Writing memory events
# A durable preference
python scripts/add_event.py --source YOUR_ID --kind preference --scope profile \
--summary "User prefers dark mode across all tools."