Integrations
OpenClaw
Integrate memories.sh with OpenClaw.
OpenClaw is an open-source personal AI assistant. Its current onboarding flow imports AGENTS.md and skill files into ~/.openclaw/workspace, so the clean memories.sh integration path is to generate those artifacts from your memory store.
Why memories.sh + OpenClaw
Adding memories.sh gives you:
- Cross-tool portability — Rules and decisions you keep for OpenClaw also power Claude Code, Cursor, Windsurf, and other integrations
- Structured memory store — Keep rules, decisions, and facts in one searchable local database
- Reusable skills — Generate
.agents/skills/**/SKILL.mdonce and reuse across agent ecosystems
Recommended Setup (Workspace-First)
1) Run OpenClaw onboarding once
openclaw onboardThis creates and configures your OpenClaw workspace (default: ~/.openclaw/workspace).
2) Generate memories.sh output for OpenClaw
From your project (where your memories are scoped):
cd your-project
memories init
memories generate claude -o ~/.openclaw/workspace/AGENTS.md --force
memories generate agents
mkdir -p ~/.openclaw/workspace/skills
if [ -d .agents/skills ]; then
cp -R .agents/skills/. ~/.openclaw/workspace/skills/
fiThis writes:
AGENTS.mdinto OpenClaw's workspace for session instructionsSKILL.mdfiles into OpenClaw's workspaceskills/directory
3) Keep it in sync
Whenever memories change:
cd your-project
memories generate claude -o ~/.openclaw/workspace/AGENTS.md --force
memories generate agents
if [ -d .agents/skills ]; then
cp -R .agents/skills/. ~/.openclaw/workspace/skills/
fiImportant Notes
- OpenClaw docs currently define context discovery around
AGENTS.mdandSKILL.mdartifacts. - OpenClaw docs currently do not document a project-level MCP config path like
.openclaw/mcp.jsonfor this integration flow. openclaw onboardseeds a default~/.openclaw/workspace/AGENTS.md; use--forceso memories.sh can replace it.memories generate agentsonly creates.agents/skillswhen skills exist in your memory store, so copying skills should be conditional.- If you changed your workspace path in
~/.openclaw/openclaw.json(for exampleagent.workspaceoragents.defaults.workspace), replace~/.openclaw/workspacewith your configured path.