{
  "schemaVersion": "1.0",
  "item": {
    "slug": "discord-connect-ui",
    "name": "Discord Connect UI",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/maverick-software/discord-connect-ui",
    "canonicalUrl": "https://clawhub.ai/maverick-software/discord-connect-ui",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/discord-connect-ui",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=discord-connect-ui",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "package.json",
      "scripts/install-plugin.js",
      "scripts/test-token.py",
      "scripts/health-check.py",
      "assets/config-schema.json"
    ],
    "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-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.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/discord-connect-ui"
    },
    "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/discord-connect-ui",
    "agentPageUrl": "https://openagent3.xyz/skills/discord-connect-ui/agent",
    "manifestUrl": "https://openagent3.xyz/skills/discord-connect-ui/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/discord-connect-ui/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": "Discord Connect Hub",
        "body": "Complete Discord integration for Clawdbot with automatic UI installation. This skill provides everything needed for Discord bot connectivity including:\n\nDiscord Channel Plugin - Full Discord bot integration for messaging\nDashboard UI Tab - Web interface for setup and monitoring\nSetup Wizard - Step-by-step bot creation and configuration\nCredential Management - Secure token storage (OpenBao support)\nServer Monitoring - Health checks and guild management\nPlugin Architecture Hooks - Automatic installation of UI components"
      },
      {
        "title": "Installation",
        "body": "This skill automatically installs all necessary components:\n\n# Install via agent\nInstall the discord-connect-hub skill from ClawHub\n\nThe skill will automatically:\n\nInstall Discord channel plugin if not present\nAdd Discord tab to the Control dashboard\nRegister RPC handlers for Discord management\nSet up navigation and routing\nInstall UI components and views"
      },
      {
        "title": "Discord Bot Integration",
        "body": "Full Discord.js bot implementation\nMessage sending/receiving with formatting preservation\nReaction handling and emoji support\nFile attachment support\nSlash command integration\nMember and guild management"
      },
      {
        "title": "Dashboard UI",
        "body": "Connection Status - Real-time bot status and health\nSetup Wizard - Interactive bot creation guide\nServer Management - View guilds, channels, and permissions\nInvite Generator - Create bot invite URLs\nHealth Diagnostics - Automatic troubleshooting\nToken Management - Secure credential storage"
      },
      {
        "title": "Plugin Architecture Integration",
        "body": "Automatic UI tab installation\nDynamic navigation updates\nRPC method registration\nConfiguration management\nRestart orchestration"
      },
      {
        "title": "1. Discord Application Setup",
        "body": "Go to discord.com/developers/applications\nCreate New Application → Enter name → Create\nGo to Bot tab → Reset Token → Copy token\nEnable Message Content Intent ✅"
      },
      {
        "title": "2. Bot Permissions",
        "body": "Go to OAuth2 → URL Generator:\n\nScopes: bot + applications.commands\nPermissions: Send Messages, Read History, Reactions, Embeds, Files, Slash Commands\nCopy invite URL → Open in browser → Authorize"
      },
      {
        "title": "3. Configure in Clawdbot",
        "body": "Option A: Dashboard (Recommended)\n\nOpen Control Dashboard → Channels → Discord\nPaste bot token → Save & Connect\n\nOption B: Config File\n\nchannels:\n  discord:\n    botToken: \"YOUR_BOT_TOKEN\"\n    # Or with OpenBao:\n    # botToken: \"bao:channels/discord#bot_token\""
      },
      {
        "title": "Plugin Architecture Hooks",
        "body": "This skill includes hooks for the Clawdbot plugin architecture:"
      },
      {
        "title": "Installation Hooks",
        "body": "install/navigation.js - Adds Discord tab to dashboard\ninstall/rpc-handlers.js - Registers Discord RPC methods\ninstall/ui-components.js - Installs UI views and templates\ninstall/config-defaults.js - Sets up default configuration"
      },
      {
        "title": "Runtime Hooks",
        "body": "hooks/post-install.js - Post-installation setup and verification\nhooks/pre-uninstall.js - Cleanup before removal\nhooks/config-updated.js - Responds to configuration changes"
      },
      {
        "title": "Capabilities Registration",
        "body": "The skill declares its capabilities for the plugin system:\n\nUI Tabs: discord tab with navigation and routing\nRPC Methods: Discord API interaction endpoints\nChannel Type: discord messaging channel\nConfig Schema: Discord channel configuration"
      },
      {
        "title": "RPC Methods",
        "body": "MethodDescriptiondiscord.statusGet bot connection status and user infodiscord.healthRun comprehensive health checksdiscord.guildsList connected Discord serversdiscord.guildGet detailed server informationdiscord.channelsList channels in a serverdiscord.inviteGenerate bot invite URLsdiscord.testTokenValidate token without savingdiscord.setTokenStore and activate bot tokendiscord.permissionsCheck bot permissions"
      },
      {
        "title": "Configuration Options",
        "body": "channels:\n  discord:\n    # Required\n    botToken: \"YOUR_BOT_TOKEN\"\n    \n    # Guild restrictions (optional)\n    guilds:\n      \"SERVER_ID\":\n        enabled: true\n        channels:\n          \"CHANNEL_ID\":\n            enabled: true\n            requireMention: false\n    \n    # Global behavior\n    requireMention: true        # Require @mention in servers\n    dmPolicy: \"pairing\"         # DM handling: pairing|open|closed\n    groupPolicy: \"open\"         # Server handling: open|mention|closed\n    \n    # Advanced options\n    retryAttempts: 3\n    heartbeatInterval: 30000\n    reconnectDelay: 5000"
      },
      {
        "title": "Security Features",
        "body": "Token Protection - Never exposes full tokens in API responses\nOpenBao Integration - Vault-based credential storage\nScoped Permissions - Requests only necessary bot permissions\nInput Validation - Sanitizes all Discord API inputs\nRate Limiting - Respects Discord API limits\nHTTPS Enforcement - Secure token transmission"
      },
      {
        "title": "Health Checks",
        "body": "Automatic diagnostics include:\n\n✅ Token Validity - Bot token authentication\n✅ Gateway Connection - Discord WebSocket status\n✅ Message Intent - Required intent enablement\n✅ Bot Permissions - Guild-level permission verification\n✅ Channel Access - Read/write permission checks\n✅ API Rate Limits - Current usage and limits"
      },
      {
        "title": "Common Issues",
        "body": "\"Invalid token\" errors:\n\nEnsure you're using a bot token (not user token)\nVerify the token was copied completely\nTry resetting the token in Developer Portal\n\nBot not responding in channels:\n\nCheck Message Content Intent is enabled\nVerify bot has permissions in the channel\nCheck requireMention setting (try @mentioning)\n\nDashboard not loading:\n\nVerify UI installation completed successfully\nCheck browser console for errors\nRestart gateway: clawdbot gateway restart"
      },
      {
        "title": "Log Analysis",
        "body": "# Check Discord connection logs\nclawdbot logs | grep discord\n\n# Test token independently\npython scripts/test-token.py YOUR_TOKEN"
      },
      {
        "title": "Files Structure",
        "body": "discord-connect-hub/\n├── SKILL.md                 # This skill guide\n├── scripts/\n│   ├── test-token.py       # Token validation utility\n│   ├── install-plugin.js   # Plugin installation script\n│   └── health-check.py     # Diagnostic tool\n├── references/\n│   ├── discord-api.md      # Discord API documentation\n│   ├── bot-setup.md        # Detailed setup guide\n│   └── troubleshooting.md  # Extended troubleshooting\n└── assets/\n    ├── discord-backend.ts   # RPC handler implementation\n    ├── discord-views.ts     # UI component templates\n    ├── navigation-hooks.js  # Navigation registration\n    ├── install-hooks.js     # Installation automation\n    └── config-schema.json   # Configuration validation"
      },
      {
        "title": "Automatic Installation Process",
        "body": "Detect Environment - Check if Clawdbot source is available\nInstall Backend - Copy RPC handlers to gateway\nRegister Handlers - Add method registration to server\nInstall UI Components - Copy views and templates\nUpdate Navigation - Add Discord tab to dashboard\nConfigure Routes - Set up URL routing for tab\nBuild & Restart - Compile changes and restart gateway"
      },
      {
        "title": "Manual Installation Fallback",
        "body": "If automatic installation isn't possible, the skill provides detailed manual instructions similar to the original discord-connect skill."
      },
      {
        "title": "Compatibility",
        "body": "Clawdbot: >=2026.1.0\nNode.js: >=18.0.0\nDiscord.js: >=14.0.0\nPlugin Architecture: v2+"
      },
      {
        "title": "Links",
        "body": "Discord Developer Portal\nBot Permissions Calculator\nClawdbot Discord\nClawHub Repository"
      }
    ],
    "body": "Discord Connect Hub\n\nComplete Discord integration for Clawdbot with automatic UI installation. This skill provides everything needed for Discord bot connectivity including:\n\nDiscord Channel Plugin - Full Discord bot integration for messaging\nDashboard UI Tab - Web interface for setup and monitoring\nSetup Wizard - Step-by-step bot creation and configuration\nCredential Management - Secure token storage (OpenBao support)\nServer Monitoring - Health checks and guild management\nPlugin Architecture Hooks - Automatic installation of UI components\nInstallation\n\nThis skill automatically installs all necessary components:\n\n# Install via agent\nInstall the discord-connect-hub skill from ClawHub\n\n\nThe skill will automatically:\n\nInstall Discord channel plugin if not present\nAdd Discord tab to the Control dashboard\nRegister RPC handlers for Discord management\nSet up navigation and routing\nInstall UI components and views\nFeatures\nDiscord Bot Integration\nFull Discord.js bot implementation\nMessage sending/receiving with formatting preservation\nReaction handling and emoji support\nFile attachment support\nSlash command integration\nMember and guild management\nDashboard UI\nConnection Status - Real-time bot status and health\nSetup Wizard - Interactive bot creation guide\nServer Management - View guilds, channels, and permissions\nInvite Generator - Create bot invite URLs\nHealth Diagnostics - Automatic troubleshooting\nToken Management - Secure credential storage\nPlugin Architecture Integration\nAutomatic UI tab installation\nDynamic navigation updates\nRPC method registration\nConfiguration management\nRestart orchestration\nQuick Setup\n1. Discord Application Setup\nGo to discord.com/developers/applications\nCreate New Application → Enter name → Create\nGo to Bot tab → Reset Token → Copy token\nEnable Message Content Intent ✅\n2. Bot Permissions\n\nGo to OAuth2 → URL Generator:\n\nScopes: bot + applications.commands\nPermissions: Send Messages, Read History, Reactions, Embeds, Files, Slash Commands\nCopy invite URL → Open in browser → Authorize\n3. Configure in Clawdbot\n\nOption A: Dashboard (Recommended)\n\nOpen Control Dashboard → Channels → Discord\nPaste bot token → Save & Connect\n\nOption B: Config File\n\nchannels:\n  discord:\n    botToken: \"YOUR_BOT_TOKEN\"\n    # Or with OpenBao:\n    # botToken: \"bao:channels/discord#bot_token\"\n\nPlugin Architecture Hooks\n\nThis skill includes hooks for the Clawdbot plugin architecture:\n\nInstallation Hooks\ninstall/navigation.js - Adds Discord tab to dashboard\ninstall/rpc-handlers.js - Registers Discord RPC methods\ninstall/ui-components.js - Installs UI views and templates\ninstall/config-defaults.js - Sets up default configuration\nRuntime Hooks\nhooks/post-install.js - Post-installation setup and verification\nhooks/pre-uninstall.js - Cleanup before removal\nhooks/config-updated.js - Responds to configuration changes\nCapabilities Registration\n\nThe skill declares its capabilities for the plugin system:\n\nUI Tabs: discord tab with navigation and routing\nRPC Methods: Discord API interaction endpoints\nChannel Type: discord messaging channel\nConfig Schema: Discord channel configuration\nRPC Methods\nMethod\tDescription\ndiscord.status\tGet bot connection status and user info\ndiscord.health\tRun comprehensive health checks\ndiscord.guilds\tList connected Discord servers\ndiscord.guild\tGet detailed server information\ndiscord.channels\tList channels in a server\ndiscord.invite\tGenerate bot invite URLs\ndiscord.testToken\tValidate token without saving\ndiscord.setToken\tStore and activate bot token\ndiscord.permissions\tCheck bot permissions\nConfiguration Options\nchannels:\n  discord:\n    # Required\n    botToken: \"YOUR_BOT_TOKEN\"\n    \n    # Guild restrictions (optional)\n    guilds:\n      \"SERVER_ID\":\n        enabled: true\n        channels:\n          \"CHANNEL_ID\":\n            enabled: true\n            requireMention: false\n    \n    # Global behavior\n    requireMention: true        # Require @mention in servers\n    dmPolicy: \"pairing\"         # DM handling: pairing|open|closed\n    groupPolicy: \"open\"         # Server handling: open|mention|closed\n    \n    # Advanced options\n    retryAttempts: 3\n    heartbeatInterval: 30000\n    reconnectDelay: 5000\n\nSecurity Features\nToken Protection - Never exposes full tokens in API responses\nOpenBao Integration - Vault-based credential storage\nScoped Permissions - Requests only necessary bot permissions\nInput Validation - Sanitizes all Discord API inputs\nRate Limiting - Respects Discord API limits\nHTTPS Enforcement - Secure token transmission\nHealth Checks\n\nAutomatic diagnostics include:\n\n✅ Token Validity - Bot token authentication\n✅ Gateway Connection - Discord WebSocket status\n✅ Message Intent - Required intent enablement\n✅ Bot Permissions - Guild-level permission verification\n✅ Channel Access - Read/write permission checks\n✅ API Rate Limits - Current usage and limits\nTroubleshooting\nCommon Issues\n\n\"Invalid token\" errors:\n\nEnsure you're using a bot token (not user token)\nVerify the token was copied completely\nTry resetting the token in Developer Portal\n\nBot not responding in channels:\n\nCheck Message Content Intent is enabled\nVerify bot has permissions in the channel\nCheck requireMention setting (try @mentioning)\n\nDashboard not loading:\n\nVerify UI installation completed successfully\nCheck browser console for errors\nRestart gateway: clawdbot gateway restart\nLog Analysis\n# Check Discord connection logs\nclawdbot logs | grep discord\n\n# Test token independently\npython scripts/test-token.py YOUR_TOKEN\n\nFiles Structure\ndiscord-connect-hub/\n├── SKILL.md                 # This skill guide\n├── scripts/\n│   ├── test-token.py       # Token validation utility\n│   ├── install-plugin.js   # Plugin installation script\n│   └── health-check.py     # Diagnostic tool\n├── references/\n│   ├── discord-api.md      # Discord API documentation\n│   ├── bot-setup.md        # Detailed setup guide\n│   └── troubleshooting.md  # Extended troubleshooting\n└── assets/\n    ├── discord-backend.ts   # RPC handler implementation\n    ├── discord-views.ts     # UI component templates\n    ├── navigation-hooks.js  # Navigation registration\n    ├── install-hooks.js     # Installation automation\n    └── config-schema.json   # Configuration validation\n\nPlugin Integration Details\nAutomatic Installation Process\nDetect Environment - Check if Clawdbot source is available\nInstall Backend - Copy RPC handlers to gateway\nRegister Handlers - Add method registration to server\nInstall UI Components - Copy views and templates\nUpdate Navigation - Add Discord tab to dashboard\nConfigure Routes - Set up URL routing for tab\nBuild & Restart - Compile changes and restart gateway\nManual Installation Fallback\n\nIf automatic installation isn't possible, the skill provides detailed manual instructions similar to the original discord-connect skill.\n\nCompatibility\nClawdbot: >=2026.1.0\nNode.js: >=18.0.0\nDiscord.js: >=14.0.0\nPlugin Architecture: v2+\nLinks\nDiscord Developer Portal\nBot Permissions Calculator\nClawdbot Discord\nClawHub Repository"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/maverick-software/discord-connect-ui",
    "publisherUrl": "https://clawhub.ai/maverick-software/discord-connect-ui",
    "owner": "maverick-software",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/discord-connect-ui",
    "downloadUrl": "https://openagent3.xyz/downloads/discord-connect-ui",
    "agentUrl": "https://openagent3.xyz/skills/discord-connect-ui/agent",
    "manifestUrl": "https://openagent3.xyz/skills/discord-connect-ui/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/discord-connect-ui/agent.md"
  }
}