# Send OpenClaw Universal 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-universal-memory",
    "name": "OpenClaw Universal Memory",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/marcosathanasoulis/openclaw-universal-memory",
    "canonicalUrl": "https://clawhub.ai/marcosathanasoulis/openclaw-universal-memory",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/openclaw-universal-memory",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-universal-memory",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/run_memory.py",
      "setup.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "openclaw-universal-memory",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-06T12:28:53.509Z",
      "expiresAt": "2026-05-13T12:28:53.509Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-universal-memory",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-universal-memory",
        "contentDisposition": "attachment; filename=\"openclaw-universal-memory-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "openclaw-universal-memory"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/openclaw-universal-memory"
    },
    "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-universal-memory",
    "downloadUrl": "https://openagent3.xyz/downloads/openclaw-universal-memory",
    "agentUrl": "https://openagent3.xyz/skills/openclaw-universal-memory/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-universal-memory/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-universal-memory/agent.md"
  }
}
```
## Documentation

### OpenClaw Universal Memory

This skill provides a generic memory layer for heterogeneous data:

canonical entity/chunk schema,
connector-style ingestion with cursors,
searchable memory in Postgres.

### Use Cases

Normalize records from multiple systems into one schema.
Keep incremental sync history (cursor per connector/account).
Build RAG-ready chunk storage in pgvector.

### Prerequisites

Postgres with vector extension.
Local package installed: pip install -e ..
Python dependency for DB I/O:

pip install "psycopg[binary]>=3.2"


DSN provided via environment variable (DATABASE_DSN by default).

### Security Boundaries

Do not pass raw passwords/tokens in command-line arguments.
Prefer OS secret store or process environment injection for DSN.
This skill only reads/writes your configured Postgres database; it does not call external APIs directly.
Use least-privilege DB credentials (SELECT/INSERT/UPDATE/DELETE on um_* tables only).
Review and trust any custom connector before running it.

### Responsible Use Caveat

Use this only for accounts/data you legitimately control or are authorized to process.
You are responsible for privacy, retention, and regulatory compliance.
This project is provided under Apache 2.0 without operational warranty.
This implementation is mostly AI-generated code with experienced engineer oversight; validate before production use.

### Commands

Store DB credentials once (recommended):

python skills/openclaw-universal-memory/scripts/run_memory.py \\
  --action configure-dsn

Initialize schema:

python skills/openclaw-universal-memory/scripts/run_memory.py \\
  --action init-schema \\
  --dsn-env DATABASE_DSN

Ingest JSON/NDJSON:

python skills/openclaw-universal-memory/scripts/run_memory.py \\
  --action ingest-json \\
  --dsn-env DATABASE_DSN \\
  --source gmail \\
  --account marcos@athanasoulis.net \\
  --entity-type email \\
  --input /path/to/records.ndjson

Ingest from built-in connectors:

python skills/openclaw-universal-memory/scripts/run_memory.py \\
  --action ingest-connector \\
  --connector google \\
  --account you@example.com \\
  --dsn-env DATABASE_DSN \\
  --limit 300

Validate connector auth/config before ingest:

python skills/openclaw-universal-memory/scripts/run_memory.py \\
  --action validate-connector \\
  --connector google \\
  --account you@example.com \\
  --dsn-env DATABASE_DSN \\
  --limit 1

Search:

python skills/openclaw-universal-memory/scripts/run_memory.py \\
  --action search \\
  --dsn-env DATABASE_DSN \\
  --query "Deryk" \\
  --limit 20

Recent ingest history:

python skills/openclaw-universal-memory/scripts/run_memory.py \\
  --action events \\
  --dsn-env DATABASE_DSN \\
  --limit 20

Doctor check:

python skills/openclaw-universal-memory/scripts/run_memory.py \\
  --action doctor

Scheduling reference:

docs/SCHEDULING.md (cron examples, 15-minute default, connector toggles)

### Connector Contract (for custom adapters)

A connector returns normalized records + next cursor:

external_id
entity_type
title
body_text
raw_json
meta_json
next_cursor

This keeps ingestion generic and supports arbitrary source systems.

Starter connector templates:

src/openclaw_memory/connectors/templates.py

Step-by-step setup guide (Gmail/Slack/Asana/iMessage):

docs/CONNECTOR_SETUP_WALKTHROUGH.md

### Community

We welcome connector contributions via PR.
See docs/CONNECTOR_CONTRIBUTING.md for required contract, tests, and setup instructions.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: marcosathanasoulis
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-06T12:28:53.509Z
- Expires at: 2026-05-13T12:28:53.509Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/openclaw-universal-memory)
- [Send to Agent page](https://openagent3.xyz/skills/openclaw-universal-memory/agent)
- [JSON manifest](https://openagent3.xyz/skills/openclaw-universal-memory/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/openclaw-universal-memory/agent.md)
- [Download page](https://openagent3.xyz/downloads/openclaw-universal-memory)