Memory Manager

Read and write JSON data to memory files. Use for persisting leads, contacts, and structured data across sessions.

dvcrn Updated 32 repo stars

File contents

memory-manager

Use this skill to persist structured data (leads, contacts, notes) to JSON files in your OpenClaw workspace.

Setup

No setup required.

Usage

Read memory file

cat ~/.openclaw/workspace/memory/leads.json

Write memory file

Use exec tool to run:

node -e "
const fs = require('fs');
const path = process.env.HOME + '/.openclaw/workspace/memory/leads.json';
const data = JSON.parse(fs.readFileSync(path, 'utf8'));
// modify data
fs.writeFileSync(path, JSON.stringify(data, null, 2));
"

Or use printf with escaped JSON:

To save leads:

  1. Build the complete JSON
  2. Use exec: printf '%s' 'JSON_CONTENT' > ~/.openclaw/workspace/memory/leads.json

To read:

cat ~/.openclaw/workspace/memory/leads.json

Common Operations

  • Add lead: Read → Modify → Write
  • Update status: Read → Modify → Write
  • List all: cat ~/.openclaw/workspace/memory/leads.json

Default Files

  • ~/.openclaw/workspace/memory/leads.json - Lead tracking
  • ~/.openclaw/workspace/memory/contacts.json - Contacts
  • ~/.openclaw/workspace/memory/notes.json - Notes

dvcrn/openclaw-skills-marketplace/tree/main/plugins/clawdquip--lead-gen-operator/skills/lead-gen-operator/memory-manager commit 7a40cfd812

Frequently asked questions

npx skillmds@latest add dvcrn/memory-manager-7