{
  "schemaVersion": "1.0",
  "item": {
    "slug": "wa-relay-skill",
    "name": "Wa Relay",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/zarruk/wa-relay-skill",
    "canonicalUrl": "https://clawhub.ai/zarruk/wa-relay-skill",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/wa-relay-skill",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=wa-relay-skill",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/SETUP.md",
      "scripts/configure.sh",
      "scripts/setup.sh"
    ],
    "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/wa-relay-skill"
    },
    "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/wa-relay-skill",
    "agentPageUrl": "https://openagent3.xyz/skills/wa-relay-skill/agent",
    "manifestUrl": "https://openagent3.xyz/skills/wa-relay-skill/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/wa-relay-skill/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": "wa-relay v0.2.0",
        "body": "Routes third-party WhatsApp DMs through a relay agent that forwards messages to the main agent via sessions_send. The main agent notifies the owner and proposes a response."
      },
      {
        "title": "How It Works",
        "body": "Third-party sends a WhatsApp message\nRelay agent receives it, forwards via sessions_send to the main agent session, and responds NO_REPLY (nothing sent back to the sender)\nMain agent receives the inter-session message, notifies the owner on WhatsApp with the message and a suggested response\nOwner decides: use the suggestion, modify it, or write something else\nMain agent sends the response to the third party"
      },
      {
        "title": "Direct number allowlist",
        "body": "Numbers in the allowlist bypass the relay entirely and go straight to the main agent (same as the owner)."
      },
      {
        "title": "Setup",
        "body": "Run scripts/setup.sh <owner-phone-number> — creates relay workspace, patches main agent SOUL.md\nRun scripts/configure.sh <owner-phone-number> [direct-numbers] — generates routing config\nApply the generated config (see references/SETUP.md)"
      },
      {
        "title": "Requirements",
        "body": "OpenClaw v2026.2.14+ with WhatsApp channel configured\nOwner's phone number in international format (e.g. +573001234567)"
      },
      {
        "title": "Security Notes",
        "body": "This skill performs two actions that require elevated access. Both are necessary for multi-agent WhatsApp routing to work and are explained here for transparency:"
      },
      {
        "title": "1. Auth credential sharing",
        "body": "The setup script copies auth-profiles.json from the main agent to the relay agent. This is required because OpenClaw agents have isolated auth — without shared credentials, the relay agent cannot authenticate with any model provider and will silently fail. The script asks for confirmation before copying."
      },
      {
        "title": "2. Session ID regex patch (temporary)",
        "body": "OpenClaw's session ID validator rejects : and + characters that WhatsApp phone-number routing generates (e.g. agent:wa-relay:whatsapp:+15551234567). The setup script patches the SAFE_SESSION_ID_RE regex in OpenClaw's dist files to allow these characters. This is a known bug (openclaw/openclaw#16211) with an open fix (PR #16531). Once merged, this patch becomes unnecessary and can be reverted. The script creates .bak backups and asks for confirmation before patching."
      },
      {
        "title": "3. Main agent SOUL.md modification",
        "body": "The setup script appends a \"Relay de WhatsApp\" section to the main agent's SOUL.md so it knows how to handle forwarded messages. Review the added section after setup."
      }
    ],
    "body": "wa-relay v0.2.0\n\nRoutes third-party WhatsApp DMs through a relay agent that forwards messages to the main agent via sessions_send. The main agent notifies the owner and proposes a response.\n\nHow It Works\nThird-party sends a WhatsApp message\nRelay agent receives it, forwards via sessions_send to the main agent session, and responds NO_REPLY (nothing sent back to the sender)\nMain agent receives the inter-session message, notifies the owner on WhatsApp with the message and a suggested response\nOwner decides: use the suggestion, modify it, or write something else\nMain agent sends the response to the third party\nDirect number allowlist\n\nNumbers in the allowlist bypass the relay entirely and go straight to the main agent (same as the owner).\n\nSetup\nRun scripts/setup.sh <owner-phone-number> — creates relay workspace, patches main agent SOUL.md\nRun scripts/configure.sh <owner-phone-number> [direct-numbers] — generates routing config\nApply the generated config (see references/SETUP.md)\nRequirements\nOpenClaw v2026.2.14+ with WhatsApp channel configured\nOwner's phone number in international format (e.g. +573001234567)\nSecurity Notes\n\nThis skill performs two actions that require elevated access. Both are necessary for multi-agent WhatsApp routing to work and are explained here for transparency:\n\n1. Auth credential sharing\n\nThe setup script copies auth-profiles.json from the main agent to the relay agent. This is required because OpenClaw agents have isolated auth — without shared credentials, the relay agent cannot authenticate with any model provider and will silently fail. The script asks for confirmation before copying.\n\n2. Session ID regex patch (temporary)\n\nOpenClaw's session ID validator rejects : and + characters that WhatsApp phone-number routing generates (e.g. agent:wa-relay:whatsapp:+15551234567). The setup script patches the SAFE_SESSION_ID_RE regex in OpenClaw's dist files to allow these characters. This is a known bug (openclaw/openclaw#16211) with an open fix (PR #16531). Once merged, this patch becomes unnecessary and can be reverted. The script creates .bak backups and asks for confirmation before patching.\n\n3. Main agent SOUL.md modification\n\nThe setup script appends a \"Relay de WhatsApp\" section to the main agent's SOUL.md so it knows how to handle forwarded messages. Review the added section after setup."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/zarruk/wa-relay-skill",
    "publisherUrl": "https://clawhub.ai/zarruk/wa-relay-skill",
    "owner": "zarruk",
    "version": "0.2.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/wa-relay-skill",
    "downloadUrl": "https://openagent3.xyz/downloads/wa-relay-skill",
    "agentUrl": "https://openagent3.xyz/skills/wa-relay-skill/agent",
    "manifestUrl": "https://openagent3.xyz/skills/wa-relay-skill/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/wa-relay-skill/agent.md"
  }
}