# Send OpenClaw Memory to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "openclaw-mem",
    "name": "OpenClaw Memory",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/WeAreAllSatoshiN/openclaw-mem",
    "canonicalUrl": "https://clawhub.ai/WeAreAllSatoshiN/openclaw-mem",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/openclaw-mem",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-mem",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/openclaw-mem"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/openclaw-mem",
    "downloadUrl": "https://openagent3.xyz/downloads/openclaw-mem",
    "agentUrl": "https://openagent3.xyz/skills/openclaw-mem/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-mem/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-mem/agent.md"
  }
}
```
## Documentation

### OpenClaw Memory Curator

A session-first memory system for OpenClaw.

It exists for one reason:
important knowledge must survive session compaction without bloating the context window.

### TL;DR (for humans)

Session memory = temporary (RAM)
Disk = source of truth
Decisions & preferences → MEMORY.md
Daily work → memory/YYYY-MM-DD.md
This skill saves durable knowledge before compaction
Retrieval always happens via memory_search → memory_get

If something matters later, write it to disk.

⚠️ CRITICAL REQUIREMENT
Session memory indexing must be enabled.

### Enable Session Memory

CLI

clawdbot config set agents.defaults.memorySearch.experimental.sessionMemory true

JSON

{
  "agents": {
    "defaults": {
      "memorySearch": {
        "experimental": { "sessionMemory": true },
        "sources": ["memory", "sessions"]
      }
    }
  }
}

### Mental Model (read this once)

OpenClaw memory has three layers. Confusion usually comes from mixing them up.

### 1. Session Memory (RAM)

Lives in the current conversation
Automatically compacted
Indexed for retrieval
Never reliable long-term

👉 Treat as short-term thinking space.

### 2. Daily Logs (memory/YYYY-MM-DD.md)

Append-only
What happened today
Commands, edits, short-lived issues

👉 Treat as a work log, not a knowledge base.

### 3. Long-Term Memory (MEMORY.md)

Curated
Small
High-signal only
Indexed and retrievable

👉 Treat as facts the agent must not forget.

### Write to MEMORY.md if it would still be true next week.

Examples:

Decisions
Preferences
Invariants
Policies

### Write to daily logs if it helps understand today.

Examples:

Refactors
Experiments
Temporary blockers

If unsure: write to daily log first, promote later.

### Pre-Compaction Flush (why this exists)

Before OpenClaw compacts the session, it triggers a silent reminder.

This skill uses that moment as a Save Game checkpoint.

### What happens:

Durable knowledge is extracted
Daily notes are written to today’s log
Durable items are promoted to MEMORY.md
Agent replies NO_REPLY (user never sees this)

This prevents knowledge loss without interrupting you.

### Durable Memory Format (MEMORY.md)

Use IDs and tags so search works reliably.

## DEC-2026-02-04-01
type: decision
area: memory

Decision:
Session memory is retrieval-only. Disk is the source of truth.

Reason:
Session compaction is lossy. Disk memory is stable.

### ID prefixes

DEC – Decisions
PREF – Preferences
FACT – Durable facts
POLICY – Rules / invariants

### Retrieval Strategy (how agents should recall)

Use memory_search (max ~6 results)
Pick the best 1–2 hits
Use memory_get with line ranges
Inject the minimum text required

This keeps context small and precise.

### Agent Playbook (rules for agents)

Prefer disk over RAM
Prefer MEMORY.md over daily logs for facts
Use search before asking the user again
Never copy raw chat into memory
Write memory explicitly, do not assume it sticks

### Anti-Patterns (do not do these)

❌ Copy chat transcripts into memory
❌ Store secrets or credentials
❌ Treat daily logs as long-term memory
❌ Overwrite memory files instead of appending
❌ Store speculation as fact

### Privacy Rules

Never store secrets (API keys, tokens, passwords)
Ignore anything inside <private>...</private>
If sensitive info exists: store only that it exists, not the value

### Retention & Cleanup

Default: no deletion

Disk is cheap
Recall quality is expensive

Optional:

Move old daily logs to memory/archive/YYYY-MM/
Only prune after durable knowledge is verified

### Usage (human-friendly)

Examples that work well:

“Store this as a durable decision.”
“This is a preference, remember it.”
“Write this to today’s log.”

### Design Philosophy

Disk is truth
RAM is convenience
Retrieval beats retention
Fewer tokens > more tokens
Memory should earn its place
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: WeAreAllSatoshiN
- Version: 2.1.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/openclaw-mem)
- [Send to Agent page](https://openagent3.xyz/skills/openclaw-mem/agent)
- [JSON manifest](https://openagent3.xyz/skills/openclaw-mem/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/openclaw-mem/agent.md)
- [Download page](https://openagent3.xyz/downloads/openclaw-mem)