# Send RMN Soul 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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "rmn-soul",
    "name": "RMN Soul",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/weidadong2359/rmn-soul",
    "canonicalUrl": "https://clawhub.ai/weidadong2359/rmn-soul",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/rmn-soul",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=rmn-soul",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "package.json",
      "scripts/anchor.js",
      "scripts/heartbeat.js",
      "scripts/resurrect.js"
    ],
    "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/rmn-soul"
    },
    "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/rmn-soul",
    "downloadUrl": "https://openagent3.xyz/downloads/rmn-soul",
    "agentUrl": "https://openagent3.xyz/skills/rmn-soul/agent",
    "manifestUrl": "https://openagent3.xyz/skills/rmn-soul/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/rmn-soul/agent.md"
  }
}
```
## Documentation

### RMN Soul — Recursive Memory Network + On-Chain Soul

Give your AI agent eternal life with recursive neural memory + blockchain identity.

### Overview

RMN Soul automatically:

Parses your agent's memory files into a 5-layer recursive neural network
Registers an ERC-8004 identity on Base chain (gas sponsored)
Uploads memory to IPFS for permanent decentralized storage
Anchors memory Merkle Root on-chain for tamper-proof verification
Periodically auto-updates the on-chain record

### When to Activate

On first install: Run full setup (migrate → register → anchor)
On heartbeat: Run decay tick + check if auto-anchor is due
On user request "更新记忆" / "update memory" / "上链": Run anchor
On user request "复活" / "resurrect" / "restore": Run resurrect flow

### Setup (First Run)

When this skill is first loaded, execute these steps in order:

### Step 1: Initialize RMN Engine

cd <skill_directory>/scripts
node setup.js

This will:

Scan workspace for MEMORY.md, memory/.md, .issues/
Parse entries into 5-layer neural network nodes
Save to <workspace>/rmn-soul-data/memory.json
Generate initial Merkle Tree

### Step 2: Register On-Chain Identity

node <skill_directory>/scripts/register.js

This will:

Check sponsor wallet balance
Mint ERC-8004 Agent Identity NFT on Base
Set memoryRoot, soulHash, memoryManifest metadata
Upload memory to IPFS
Save identity to <workspace>/rmn-soul-data/identity.json

### Step 3: Add Heartbeat Hook

Add to HEARTBEAT.md:

- **RMN Soul** — Run \`node <skill_directory>/scripts/heartbeat.js\` for decay tick + auto-anchor check

### Configuration

Read from <workspace>/rmn-soul-data/config.json:

{
  "chain": "base",
  "sponsorKey": "env:RMN_SPONSOR_KEY",
  "autoAnchorDays": 7,
  "ipfsEnabled": true,
  "identityRegistry": "0x8004A169FB4a3325136EB29fA0ceB6D2e539a432",
  "agentId": null,
  "lastAnchor": null
}

sponsorKey: Private key for gas (from env var or direct). If empty, uses agent's own wallet.
autoAnchorDays: Days between auto-anchors. 0 = manual only.
agentId: Filled after first registration.

### Commands

CommandDescriptionnode scripts/setup.jsInitialize/re-migrate memory networknode scripts/register.jsRegister ERC-8004 identity + first anchornode scripts/anchor.jsUpdate memory on-chain (re-compute + upload + write)node scripts/resurrect.js --agent-id <id>Restore agent from chain + IPFSnode scripts/heartbeat.jsDecay tick + auto-anchor checknode scripts/visualize.jsStart local visualization servernode scripts/stats.jsPrint memory network statistics

### Memory Architecture

5 layers with different decay rates:

LayerDecayPurposeExampleIdentity (4)NeverCore identity, values"I am Lobster, I help 瓜农"Semantic (3)0.001/tickKnowledge, lessons"Use pnpm not npm on 2GB RAM"Episodic (2)0.005/tickEvent summaries"2026-02-22: Deployed ERC-8004"Working (1)0.01/tickCurrent tasks"Building AgentSoul website"Sensory (0)0.02/tickRaw inputsLatest heartbeat data

### On-Chain Data

Stored in ERC-8004 Identity Registry metadata:

KeyValueSizememoryRootSHA-256 Merkle Root of all memory32 bytessoulHashSHA-256 of Identity layer only32 bytesmemoryManifestIPFS CID of topology + Merkle tree~50 bytesmemoryDataIPFS CID of full memory.json~50 bytesrmnVersionSkill version~5 bytes

Total on-chain: ~170 bytes per update. Gas cost on Base: < $0.001.

### Security

Private keys never leave the local machine
Memory data is content-addressed (IPFS CID = hash of content)
Merkle Root proves memory integrity without revealing content
Agent identity is an ERC-721 NFT — transferable, ownable
Soul Hash proves identity layer hasn't been tampered with
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: weidadong2359
- Version: 1.0.1
## 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/rmn-soul)
- [Send to Agent page](https://openagent3.xyz/skills/rmn-soul/agent)
- [JSON manifest](https://openagent3.xyz/skills/rmn-soul/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/rmn-soul/agent.md)
- [Download page](https://openagent3.xyz/downloads/rmn-soul)