{
  "schemaVersion": "1.0",
  "item": {
    "slug": "relay-to-agent",
    "name": "Relay To Agent",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/ericsantos/relay-to-agent",
    "canonicalUrl": "https://clawhub.ai/ericsantos/relay-to-agent",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/relay-to-agent",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=relay-to-agent",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "agents.example.json",
      "agents.json",
      "package-lock.json",
      "package.json",
      "scripts/relay.mjs"
    ],
    "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-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-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/relay-to-agent"
    },
    "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/relay-to-agent",
    "agentPageUrl": "https://openagent3.xyz/skills/relay-to-agent/agent",
    "manifestUrl": "https://openagent3.xyz/skills/relay-to-agent/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/relay-to-agent/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": "Relay To Agent",
        "body": "Send messages to AI agents on any OpenAI-compatible endpoint. Works with Connect Chat, OpenRouter, LiteLLM, vLLM, Ollama, and any service implementing the Chat Completions API."
      },
      {
        "title": "List available agents",
        "body": "node {baseDir}/scripts/relay.mjs --list"
      },
      {
        "title": "Send a message to an agent",
        "body": "node {baseDir}/scripts/relay.mjs --agent linkedin-alchemist \"Transform this article into a LinkedIn post\""
      },
      {
        "title": "Multi-turn conversation",
        "body": "# First message\nnode {baseDir}/scripts/relay.mjs --agent connect-flow-ai \"Analyze our latest campaign\"\n\n# Follow-up (same session, agent remembers context)\nnode {baseDir}/scripts/relay.mjs --agent connect-flow-ai \"Compare with last month\""
      },
      {
        "title": "Reset session",
        "body": "node {baseDir}/scripts/relay.mjs --agent linkedin-alchemist --reset \"Start fresh with this article...\""
      },
      {
        "title": "Options",
        "body": "FlagDescriptionDefault--agent IDTarget agent identifier(required)--resetReset conversation before sendingoff--listList available agents—--session IDCustom session identifierdefault--jsonRaw JSON outputoff"
      },
      {
        "title": "agents.json",
        "body": "Configure agents and endpoint in {baseDir}/agents.json:\n\n{\n  \"baseUrl\": \"https://api.example.com/v1\",\n  \"agents\": [\n    {\n      \"id\": \"my-agent\",\n      \"name\": \"My Agent\",\n      \"description\": \"What this agent does\",\n      \"model\": \"model-id-on-the-api\"\n    }\n  ]\n}"
      },
      {
        "title": "Environment variables",
        "body": "export RELAY_API_KEY=\"sk-...\"          # API key (required)\nexport RELAY_BASE_URL=\"https://...\"    # Override base URL from config\nexport RELAY_CONFIG=\"/path/to/agents.json\"  # Custom config path"
      },
      {
        "title": "Compatible Services",
        "body": "Connect Chat — api.connectchat.ai/api\nOpenRouter — openrouter.ai/api/v1\nLiteLLM — localhost:4000/v1\nvLLM — localhost:8000/v1\nOllama — localhost:11434/v1\nAny OpenAI-compatible API"
      },
      {
        "title": "Session Management",
        "body": "Sessions are stored locally at ~/.cache/relay-to-agent/sessions/. Each agent+session combination keeps up to 50 messages. Use --session for parallel conversations with the same agent."
      }
    ],
    "body": "Relay To Agent\n\nSend messages to AI agents on any OpenAI-compatible endpoint. Works with Connect Chat, OpenRouter, LiteLLM, vLLM, Ollama, and any service implementing the Chat Completions API.\n\nList available agents\nnode {baseDir}/scripts/relay.mjs --list\n\nSend a message to an agent\nnode {baseDir}/scripts/relay.mjs --agent linkedin-alchemist \"Transform this article into a LinkedIn post\"\n\nMulti-turn conversation\n# First message\nnode {baseDir}/scripts/relay.mjs --agent connect-flow-ai \"Analyze our latest campaign\"\n\n# Follow-up (same session, agent remembers context)\nnode {baseDir}/scripts/relay.mjs --agent connect-flow-ai \"Compare with last month\"\n\nReset session\nnode {baseDir}/scripts/relay.mjs --agent linkedin-alchemist --reset \"Start fresh with this article...\"\n\nOptions\nFlag\tDescription\tDefault\n--agent ID\tTarget agent identifier\t(required)\n--reset\tReset conversation before sending\toff\n--list\tList available agents\t—\n--session ID\tCustom session identifier\tdefault\n--json\tRaw JSON output\toff\nConfiguration\nagents.json\n\nConfigure agents and endpoint in {baseDir}/agents.json:\n\n{\n  \"baseUrl\": \"https://api.example.com/v1\",\n  \"agents\": [\n    {\n      \"id\": \"my-agent\",\n      \"name\": \"My Agent\",\n      \"description\": \"What this agent does\",\n      \"model\": \"model-id-on-the-api\"\n    }\n  ]\n}\n\nEnvironment variables\nexport RELAY_API_KEY=\"sk-...\"          # API key (required)\nexport RELAY_BASE_URL=\"https://...\"    # Override base URL from config\nexport RELAY_CONFIG=\"/path/to/agents.json\"  # Custom config path\n\nCompatible Services\nConnect Chat — api.connectchat.ai/api\nOpenRouter — openrouter.ai/api/v1\nLiteLLM — localhost:4000/v1\nvLLM — localhost:8000/v1\nOllama — localhost:11434/v1\nAny OpenAI-compatible API\nSession Management\n\nSessions are stored locally at ~/.cache/relay-to-agent/sessions/. Each agent+session combination keeps up to 50 messages. Use --session for parallel conversations with the same agent."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/ericsantos/relay-to-agent",
    "publisherUrl": "https://clawhub.ai/ericsantos/relay-to-agent",
    "owner": "ericsantos",
    "version": "0.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/relay-to-agent",
    "downloadUrl": "https://openagent3.xyz/downloads/relay-to-agent",
    "agentUrl": "https://openagent3.xyz/skills/relay-to-agent/agent",
    "manifestUrl": "https://openagent3.xyz/skills/relay-to-agent/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/relay-to-agent/agent.md"
  }
}