{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/surreal-sync",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=surreal-sync",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "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/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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/surreal-sync",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Surreal-Sync -- Data Migration and Synchronization",
        "body": "Surreal-Sync is a CLI tool for migrating data from various database sources to\nSurrealDB with full and incremental synchronization via Change Data Capture (CDC)."
      },
      {
        "title": "Supported Sources",
        "body": "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"
      },
      {
        "title": "Quick Start",
        "body": "# Install surreal-sync (Rust binary)\ncargo install surreal-sync\n\n# Full sync from PostgreSQL (trigger-based)\nsurreal-sync from postgres trigger-full \\\n  --connection-string \"postgresql://user:pass@localhost/mydb\" \\\n  --surreal-endpoint \"http://localhost:8000\" \\\n  --surreal-username root \\\n  --surreal-password root \\\n  --to-namespace prod \\\n  --to-database main\n\n# Incremental CDC from PostgreSQL (wal2json)\nsurreal-sync from postgres wal2json \\\n  --connection-string \"postgresql://user:pass@localhost/mydb\" \\\n  --surreal-endpoint \"http://localhost:8000\" \\\n  --surreal-username root \\\n  --surreal-password root \\\n  --to-namespace prod \\\n  --to-database main\n\n# Full sync from MongoDB\nsurreal-sync from mongo full \\\n  --connection-string \"mongodb://localhost:27017/mydb\" \\\n  --surreal-endpoint \"http://localhost:8000\" \\\n  --surreal-username root \\\n  --surreal-password root \\\n  --to-namespace prod \\\n  --to-database main\n\n# Batch import from JSONL\nsurreal-sync from jsonl import \\\n  --file data.jsonl \\\n  --surreal-endpoint \"http://localhost:8000\" \\\n  --surreal-username root \\\n  --surreal-password root \\\n  --to-namespace prod \\\n  --to-database main\n\n# Consume from Kafka\nsurreal-sync from kafka consume \\\n  --bootstrap-servers \"localhost:9092\" \\\n  --topic my-events \\\n  --surreal-endpoint \"http://localhost:8000\" \\\n  --surreal-username root \\\n  --surreal-password root \\\n  --to-namespace prod \\\n  --to-database main"
      },
      {
        "title": "CLI Pattern",
        "body": "surreal-sync from <SOURCE> <COMMAND> \\\n  --connection-string [CONNECTION STRING] \\\n  --surreal-endpoint [SURREAL ENDPOINT] \\\n  --surreal-username [SURREAL USERNAME] \\\n  --surreal-password [SURREAL PASSWORD] \\\n  --to-namespace <NS> \\\n  --to-database <DB>"
      },
      {
        "title": "Key Features",
        "body": "Automatic schema inference and SurrealDB table creation\nRecord ID mapping from source primary keys\nRelationship extraction and graph edge creation\nConfigurable batch sizes and parallelism\nResumable sync with checkpoint tracking\nDeduplication for Kafka consumers"
      },
      {
        "title": "Full Documentation",
        "body": "See the main skill's rule file for complete guidance:\n\nrules/surreal-sync.md -- source configuration, schema mapping, CDC setup, conflict resolution, and production deployment\nsurrealdb/surreal-sync -- upstream repository"
      }
    ],
    "body": "Surreal-Sync -- Data Migration and Synchronization\n\nSurreal-Sync is a CLI tool for migrating data from various database sources to SurrealDB with full and incremental synchronization via Change Data Capture (CDC).\n\nSupported Sources\nSource\tFull Sync\tIncremental CDC\tMethod\nMongoDB\tYes\tYes\tChange streams\nMySQL\tYes\tYes\tTrigger-based CDC + sequence checkpoints\nPostgreSQL (triggers)\tYes\tYes\tTrigger-based CDC + sequence checkpoints\nPostgreSQL (wal2json)\tYes\tYes\tLogical replication with wal2json plugin\nNeo4j\tYes\tYes\tTimestamp-based tracking\nJSONL Files\tYes\tN/A\tBatch import from JSON Lines\nApache Kafka\tYes\tYes\tConsumer subscriptions with deduplication\nQuick Start\n# Install surreal-sync (Rust binary)\ncargo install surreal-sync\n\n# Full sync from PostgreSQL (trigger-based)\nsurreal-sync from postgres trigger-full \\\n  --connection-string \"postgresql://user:pass@localhost/mydb\" \\\n  --surreal-endpoint \"http://localhost:8000\" \\\n  --surreal-username root \\\n  --surreal-password root \\\n  --to-namespace prod \\\n  --to-database main\n\n# Incremental CDC from PostgreSQL (wal2json)\nsurreal-sync from postgres wal2json \\\n  --connection-string \"postgresql://user:pass@localhost/mydb\" \\\n  --surreal-endpoint \"http://localhost:8000\" \\\n  --surreal-username root \\\n  --surreal-password root \\\n  --to-namespace prod \\\n  --to-database main\n\n# Full sync from MongoDB\nsurreal-sync from mongo full \\\n  --connection-string \"mongodb://localhost:27017/mydb\" \\\n  --surreal-endpoint \"http://localhost:8000\" \\\n  --surreal-username root \\\n  --surreal-password root \\\n  --to-namespace prod \\\n  --to-database main\n\n# Batch import from JSONL\nsurreal-sync from jsonl import \\\n  --file data.jsonl \\\n  --surreal-endpoint \"http://localhost:8000\" \\\n  --surreal-username root \\\n  --surreal-password root \\\n  --to-namespace prod \\\n  --to-database main\n\n# Consume from Kafka\nsurreal-sync from kafka consume \\\n  --bootstrap-servers \"localhost:9092\" \\\n  --topic my-events \\\n  --surreal-endpoint \"http://localhost:8000\" \\\n  --surreal-username root \\\n  --surreal-password root \\\n  --to-namespace prod \\\n  --to-database main\n\nCLI Pattern\nsurreal-sync from <SOURCE> <COMMAND> \\\n  --connection-string [CONNECTION STRING] \\\n  --surreal-endpoint [SURREAL ENDPOINT] \\\n  --surreal-username [SURREAL USERNAME] \\\n  --surreal-password [SURREAL PASSWORD] \\\n  --to-namespace <NS> \\\n  --to-database <DB>\n\nKey Features\nAutomatic schema inference and SurrealDB table creation\nRecord ID mapping from source primary keys\nRelationship extraction and graph edge creation\nConfigurable batch sizes and parallelism\nResumable sync with checkpoint tracking\nDeduplication for Kafka consumers\nFull Documentation\n\nSee the main skill's rule file for complete guidance:\n\nrules/surreal-sync.md -- source configuration, schema mapping, CDC setup, conflict resolution, and production deployment\nsurrealdb/surreal-sync -- upstream repository"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/24601/surreal-sync",
    "publisherUrl": "https://clawhub.ai/24601/surreal-sync",
    "owner": "24601",
    "version": "1.2.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}