# Send Mema Brain 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": "mema",
    "name": "Mema Brain",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/1999AZZAR/mema",
    "canonicalUrl": "https://clawhub.ai/1999AZZAR/mema",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/mema",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=mema",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "assets/schema.sql",
      "env.example.txt",
      "requirements.txt",
      "scripts/mema.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "mema",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T09:15:15.657Z",
      "expiresAt": "2026-05-07T09:15:15.657Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=mema",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=mema",
        "contentDisposition": "attachment; filename=\"mema-1.1.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "mema"
      },
      "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/mema"
    },
    "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/mema",
    "downloadUrl": "https://openagent3.xyz/downloads/mema",
    "agentUrl": "https://openagent3.xyz/skills/mema/agent",
    "manifestUrl": "https://openagent3.xyz/skills/mema/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/mema/agent.md"
  }
}
```
## Documentation

### Mema Brain (Centralized Memory)

Standardized memory system providing a Metadata Index (SQLite) and Short-Term Context (Redis).

### 1. Document Index (SQLite)

Primary Path: ~/.openclaw/memory/main.sqlite
Capability: Stores file paths, titles, and tags.
Note: This is a Metadata Index only. It does not ingest or provide full-text search of file contents.

### 2. Short-Term Memory (Redis)

Key Prefix: mema:mental:*
Purpose: Ephemeral state management and cross-session context passing.
TTL: Default 6 hours (21600 seconds).

### Indexing Knowledge

Record a file's location and tags in the local database.

Usage: python3 $WORKSPACE/skills/mema/scripts/mema.py index <path> [--tag <tag>]

### Searching Index

List indexed paths filtered by tag or recency.

Usage: python3 $WORKSPACE/skills/mema/scripts/mema.py list [--tag <tag>]

### Mental State (Redis)

Manage key-value pairs in the mema:mental namespace.

Set: python3 $WORKSPACE/skills/mema/scripts/mema.py mental set <key> <value> [--ttl N]
Get: python3 $WORKSPACE/skills/mema/scripts/mema.py mental get <key>

### Setup

Copy env.example.txt to .env.
Configure REDIS_HOST and REDIS_PORT (defaults: localhost:6379).
Initialize the SQLite schema:
python3 $WORKSPACE/skills/mema/scripts/mema.py init

### Reliability & Security

Data Privacy: All data is stored locally.
Network Safety: Only point REDIS_HOST to trusted instances.
Path Isolation: Database operations are confined to the ~/.openclaw/memory directory.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: 1999AZZAR
- Version: 1.1.1
## 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-04-30T09:15:15.657Z
- Expires at: 2026-05-07T09:15:15.657Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/mema)
- [Send to Agent page](https://openagent3.xyz/skills/mema/agent)
- [JSON manifest](https://openagent3.xyz/skills/mema/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/mema/agent.md)
- [Download page](https://openagent3.xyz/downloads/mema)