{
  "schemaVersion": "1.0",
  "item": {
    "slug": "onebot-adapter-1-0-0",
    "name": "Onebot Adapter 1.0.0",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/haohaodlam/onebot-adapter-1-0-0",
    "canonicalUrl": "https://clawhub.ai/haohaodlam/onebot-adapter-1-0-0",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/onebot-adapter-1-0-0",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=onebot-adapter-1-0-0",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "_meta.json",
      "references/message-handling.md",
      "scripts/onebot_client.py",
      "scripts/onebot_ws_listener.py"
    ],
    "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/onebot-adapter-1-0-0"
    },
    "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/onebot-adapter-1-0-0",
    "agentPageUrl": "https://openagent3.xyz/skills/onebot-adapter-1-0-0/agent",
    "manifestUrl": "https://openagent3.xyz/skills/onebot-adapter-1-0-0/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/onebot-adapter-1-0-0/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": "OneBot Adapter",
        "body": "Connect OpenClaw to OneBot protocol servers like NapCat for QQ bot functionality."
      },
      {
        "title": "1. Configure Connection",
        "body": "Set OneBot server URL in environment or config:\n\nexport ONEBOT_WS_URL=\"ws://127.0.0.1:3001\"\nexport ONEBOT_HTTP_URL=\"http://127.0.0.1:3000\"\nexport ONEBOT_TOKEN=\"your-token\""
      },
      {
        "title": "2. Receive Messages",
        "body": "Use the WebSocket listener script to receive QQ messages:\n\npython scripts/onebot_ws_listener.py"
      },
      {
        "title": "3. Send Messages",
        "body": "Use HTTP API to send messages:\n\nfrom scripts.onebot_client import OneBotClient\n\nclient = OneBotClient()\nclient.send_private_msg(user_id=123456, message=\"Hello!\")\nclient.send_group_msg(group_id=789012, message=\"Group message\")"
      },
      {
        "title": "WebSocket (Recommended)",
        "body": "Real-time bidirectional communication\nReceives events instantly\nSupports both sending and receiving"
      },
      {
        "title": "HTTP",
        "body": "Request-response model\nGood for simple sending\nRequires polling for receiving"
      },
      {
        "title": "Get Login Info",
        "body": "client.get_login_info()"
      },
      {
        "title": "Get Friend/Group List",
        "body": "client.get_friend_list()\nclient.get_group_list()"
      },
      {
        "title": "Handle Messages",
        "body": "See references/message-handling.md for message parsing and response patterns."
      },
      {
        "title": "NapCat Specific",
        "body": "NapCat is a OneBot11 implementation based on NTQQ.\n\nDefault ports:\n\nWebSocket: 3001\nHTTP: 3000\nWebUI: 6099\n\nToken authentication is optional but recommended for public deployments."
      },
      {
        "title": "Troubleshooting",
        "body": "Connection refused: Check if OneBot server is running and ports are correct.\n\nAuthentication failed: Verify token matches OneBot server configuration.\n\nMessage not delivered: Check user_id/group_id exists and bot has permission."
      }
    ],
    "body": "OneBot Adapter\n\nConnect OpenClaw to OneBot protocol servers like NapCat for QQ bot functionality.\n\nQuick Start\n1. Configure Connection\n\nSet OneBot server URL in environment or config:\n\nexport ONEBOT_WS_URL=\"ws://127.0.0.1:3001\"\nexport ONEBOT_HTTP_URL=\"http://127.0.0.1:3000\"\nexport ONEBOT_TOKEN=\"your-token\"\n\n2. Receive Messages\n\nUse the WebSocket listener script to receive QQ messages:\n\npython scripts/onebot_ws_listener.py\n\n3. Send Messages\n\nUse HTTP API to send messages:\n\nfrom scripts.onebot_client import OneBotClient\n\nclient = OneBotClient()\nclient.send_private_msg(user_id=123456, message=\"Hello!\")\nclient.send_group_msg(group_id=789012, message=\"Group message\")\n\nConnection Modes\nWebSocket (Recommended)\nReal-time bidirectional communication\nReceives events instantly\nSupports both sending and receiving\nHTTP\nRequest-response model\nGood for simple sending\nRequires polling for receiving\nCommon Tasks\nGet Login Info\nclient.get_login_info()\n\nGet Friend/Group List\nclient.get_friend_list()\nclient.get_group_list()\n\nHandle Messages\n\nSee references/message-handling.md for message parsing and response patterns.\n\nNapCat Specific\n\nNapCat is a OneBot11 implementation based on NTQQ.\n\nDefault ports:\n\nWebSocket: 3001\nHTTP: 3000\nWebUI: 6099\n\nToken authentication is optional but recommended for public deployments.\n\nTroubleshooting\n\nConnection refused: Check if OneBot server is running and ports are correct.\n\nAuthentication failed: Verify token matches OneBot server configuration.\n\nMessage not delivered: Check user_id/group_id exists and bot has permission."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/haohaodlam/onebot-adapter-1-0-0",
    "publisherUrl": "https://clawhub.ai/haohaodlam/onebot-adapter-1-0-0",
    "owner": "haohaodlam",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/onebot-adapter-1-0-0",
    "downloadUrl": "https://openagent3.xyz/downloads/onebot-adapter-1-0-0",
    "agentUrl": "https://openagent3.xyz/skills/onebot-adapter-1-0-0/agent",
    "manifestUrl": "https://openagent3.xyz/skills/onebot-adapter-1-0-0/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/onebot-adapter-1-0-0/agent.md"
  }
}