Skip to content
Back to skills

Memory Manager

ASecurity

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

  • 33 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 30, 2026
businessbashnode

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 30, 2026

npx -y skills add dvcrn/openclaw-skills-marketplace --skill memory-manager --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Memory Manager?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Memory Manager
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/dvcrn-memory-manager/badge)](https://www.skillsdirectory.com/skills/dvcrn-memory-manager)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: memory-manager
description: Read and write JSON data to memory files. Use for persisting leads, contacts, and structured data across sessions.
metadata: {"clawdbot":{"emoji":"πŸ’Ύ","requires":{"bins":["node"]}}}
---

# 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:

```bash
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

Files in this skill

  • SKILL.md1.3 KB
  • memory-manager.js12.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…