# Send surreal-sync 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": "surreal-sync",
    "name": "surreal-sync",
    "source": "tencent",
    "type": "skill",
    "category": "数据分析",
    "sourceUrl": "https://clawhub.ai/24601/surreal-sync",
    "canonicalUrl": "https://clawhub.ai/24601/surreal-sync",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/surreal-sync",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=surreal-sync",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "surreal-sync",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T17:13:14.024Z",
      "expiresAt": "2026-05-07T17:13:14.024Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=surreal-sync",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=surreal-sync",
        "contentDisposition": "attachment; filename=\"surreal-sync-1.2.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "surreal-sync"
      },
      "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/surreal-sync"
    },
    "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/surreal-sync",
    "downloadUrl": "https://openagent3.xyz/downloads/surreal-sync",
    "agentUrl": "https://openagent3.xyz/skills/surreal-sync/agent",
    "manifestUrl": "https://openagent3.xyz/skills/surreal-sync/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/surreal-sync/agent.md"
  }
}
```
## Documentation

### Surreal-Sync -- Data Migration and Synchronization

Surreal-Sync is a CLI tool for migrating data from various database sources to
SurrealDB with full and incremental synchronization via Change Data Capture (CDC).

### Supported Sources

SourceFull SyncIncremental CDCMethodMongoDBYesYesChange streamsMySQLYesYesTrigger-based CDC + sequence checkpointsPostgreSQL (triggers)YesYesTrigger-based CDC + sequence checkpointsPostgreSQL (wal2json)YesYesLogical replication with wal2json pluginNeo4jYesYesTimestamp-based trackingJSONL FilesYesN/ABatch import from JSON LinesApache KafkaYesYesConsumer subscriptions with deduplication

### Quick Start

# Install surreal-sync (Rust binary)
cargo install surreal-sync

# Full sync from PostgreSQL (trigger-based)
surreal-sync from postgres trigger-full \\
  --connection-string "postgresql://user:pass@localhost/mydb" \\
  --surreal-endpoint "http://localhost:8000" \\
  --surreal-username root \\
  --surreal-password root \\
  --to-namespace prod \\
  --to-database main

# Incremental CDC from PostgreSQL (wal2json)
surreal-sync from postgres wal2json \\
  --connection-string "postgresql://user:pass@localhost/mydb" \\
  --surreal-endpoint "http://localhost:8000" \\
  --surreal-username root \\
  --surreal-password root \\
  --to-namespace prod \\
  --to-database main

# Full sync from MongoDB
surreal-sync from mongo full \\
  --connection-string "mongodb://localhost:27017/mydb" \\
  --surreal-endpoint "http://localhost:8000" \\
  --surreal-username root \\
  --surreal-password root \\
  --to-namespace prod \\
  --to-database main

# Batch import from JSONL
surreal-sync from jsonl import \\
  --file data.jsonl \\
  --surreal-endpoint "http://localhost:8000" \\
  --surreal-username root \\
  --surreal-password root \\
  --to-namespace prod \\
  --to-database main

# Consume from Kafka
surreal-sync from kafka consume \\
  --bootstrap-servers "localhost:9092" \\
  --topic my-events \\
  --surreal-endpoint "http://localhost:8000" \\
  --surreal-username root \\
  --surreal-password root \\
  --to-namespace prod \\
  --to-database main

### CLI Pattern

surreal-sync from <SOURCE> <COMMAND> \\
  --connection-string [CONNECTION STRING] \\
  --surreal-endpoint [SURREAL ENDPOINT] \\
  --surreal-username [SURREAL USERNAME] \\
  --surreal-password [SURREAL PASSWORD] \\
  --to-namespace <NS> \\
  --to-database <DB>

### Key Features

Automatic schema inference and SurrealDB table creation
Record ID mapping from source primary keys
Relationship extraction and graph edge creation
Configurable batch sizes and parallelism
Resumable sync with checkpoint tracking
Deduplication for Kafka consumers

### Full Documentation

See the main skill's rule file for complete guidance:

rules/surreal-sync.md -- source configuration, schema mapping, CDC setup, conflict resolution, and production deployment
surrealdb/surreal-sync -- upstream repository
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: 24601
- Version: 1.2.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-30T17:13:14.024Z
- Expires at: 2026-05-07T17:13:14.024Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/surreal-sync)
- [Send to Agent page](https://openagent3.xyz/skills/surreal-sync/agent)
- [JSON manifest](https://openagent3.xyz/skills/surreal-sync/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/surreal-sync/agent.md)
- [Download page](https://openagent3.xyz/downloads/surreal-sync)