{
  "schemaVersion": "1.0",
  "item": {
    "slug": "discord-doctor",
    "name": "Discord Doctor",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/jhillock/discord-doctor",
    "canonicalUrl": "https://clawhub.ai/jhillock/discord-doctor",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/discord-doctor",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=discord-doctor",
    "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-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-doctor"
    },
    "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-doctor",
    "agentPageUrl": "https://openagent3.xyz/skills/discord-doctor/agent",
    "manifestUrl": "https://openagent3.xyz/skills/discord-doctor/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/discord-doctor/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 Doctor",
        "body": "Quick diagnosis and repair for Discord/Gateway availability issues, OAuth token problems, and legacy Clawdis configuration conflicts."
      },
      {
        "title": "Usage",
        "body": "# Check status (diagnostic only)\ndiscord-doctor\n\n# Check and auto-fix issues\ndiscord-doctor --fix"
      },
      {
        "title": "What It Checks",
        "body": "Discord App - Is the Discord desktop app running (optional, for monitoring)\nGateway Process - Is the Clawdbot gateway daemon running\nGateway HTTP - Is the gateway responding on port 18789\nDiscord Connection - Is the bot actually connected to Discord (via clawdbot health)\nAnthropic OAuth - Is your OAuth token valid or expired\nLegacy Clawdis - Detects old launchd services and config directories that cause conflicts\nRecent Activity - Shows recent Discord sessions"
      },
      {
        "title": "Auto-Fix Capabilities",
        "body": "When run with --fix, it can:\n\nStart gateway if not running\nInstall missing npm packages (like discord.js, strip-ansi)\nRestart gateway after fixing dependencies\nRemove legacy launchd service (com.clawdis.gateway.plist)\nBackup legacy config (moves ~/.clawdis to ~/.clawdis-backup)"
      },
      {
        "title": "Common Issues & Fixes",
        "body": "IssueAuto-Fix ActionGateway not runningStarts gateway on port 18789Missing npm packagesRuns npm install + installs specific packageDiscord disconnectedRestarts gateway to reconnectOAuth token expiredShows instructions to re-authenticateLegacy launchd serviceRemoves old com.clawdis.gateway.plistLegacy ~/.clawdis configMoves to ~/.clawdis-backup"
      },
      {
        "title": "OAuth Token Issues",
        "body": "If you see \"Access token EXPIRED\", run:\n\ncd ~/Clawdis && npx clawdbot configure\n\nThen select \"Anthropic OAuth (Claude Pro/Max)\" to re-authenticate."
      },
      {
        "title": "Legacy Clawdis Migration",
        "body": "If you upgraded from Clawdis to Clawdbot, you may have legacy artifacts causing OAuth token conflicts:\n\nOld launchd service: ~/Library/LaunchAgents/com.clawdis.gateway.plist\nOld config directory: ~/.clawdis/\n\nRun discord-doctor --fix to clean these up automatically."
      },
      {
        "title": "Example Output",
        "body": "Discord Doctor\nChecking Discord and Gateway health...\n\n1. Discord App\n   Running (6 processes)\n\n2. Gateway Process\n   Running (PID: 66156, uptime: 07:45)\n\n3. Gateway HTTP\n   Responding on port 18789\n\n4. Discord Connection\n   Discord: ok (@Clawdis) (321ms)\n\n5. Anthropic OAuth\n   Valid (expires in 0h 45m)\n\n6. Legacy Clawdis\n   No legacy launchd service\n   No legacy config directory\n\n7. Recent Discord Activity\n   - discord:group:123456789012345678 (21h ago)\n\nSummary\nAll checks passed! Discord is healthy."
      }
    ],
    "body": "Discord Doctor\n\nQuick diagnosis and repair for Discord/Gateway availability issues, OAuth token problems, and legacy Clawdis configuration conflicts.\n\nUsage\n# Check status (diagnostic only)\ndiscord-doctor\n\n# Check and auto-fix issues\ndiscord-doctor --fix\n\nWhat It Checks\nDiscord App - Is the Discord desktop app running (optional, for monitoring)\nGateway Process - Is the Clawdbot gateway daemon running\nGateway HTTP - Is the gateway responding on port 18789\nDiscord Connection - Is the bot actually connected to Discord (via clawdbot health)\nAnthropic OAuth - Is your OAuth token valid or expired\nLegacy Clawdis - Detects old launchd services and config directories that cause conflicts\nRecent Activity - Shows recent Discord sessions\nAuto-Fix Capabilities\n\nWhen run with --fix, it can:\n\nStart gateway if not running\nInstall missing npm packages (like discord.js, strip-ansi)\nRestart gateway after fixing dependencies\nRemove legacy launchd service (com.clawdis.gateway.plist)\nBackup legacy config (moves ~/.clawdis to ~/.clawdis-backup)\nCommon Issues & Fixes\nIssue\tAuto-Fix Action\nGateway not running\tStarts gateway on port 18789\nMissing npm packages\tRuns npm install + installs specific package\nDiscord disconnected\tRestarts gateway to reconnect\nOAuth token expired\tShows instructions to re-authenticate\nLegacy launchd service\tRemoves old com.clawdis.gateway.plist\nLegacy ~/.clawdis config\tMoves to ~/.clawdis-backup\nOAuth Token Issues\n\nIf you see \"Access token EXPIRED\", run:\n\ncd ~/Clawdis && npx clawdbot configure\n\n\nThen select \"Anthropic OAuth (Claude Pro/Max)\" to re-authenticate.\n\nLegacy Clawdis Migration\n\nIf you upgraded from Clawdis to Clawdbot, you may have legacy artifacts causing OAuth token conflicts:\n\nOld launchd service: ~/Library/LaunchAgents/com.clawdis.gateway.plist\nOld config directory: ~/.clawdis/\n\nRun discord-doctor --fix to clean these up automatically.\n\nExample Output\nDiscord Doctor\nChecking Discord and Gateway health...\n\n1. Discord App\n   Running (6 processes)\n\n2. Gateway Process\n   Running (PID: 66156, uptime: 07:45)\n\n3. Gateway HTTP\n   Responding on port 18789\n\n4. Discord Connection\n   Discord: ok (@Clawdis) (321ms)\n\n5. Anthropic OAuth\n   Valid (expires in 0h 45m)\n\n6. Legacy Clawdis\n   No legacy launchd service\n   No legacy config directory\n\n7. Recent Discord Activity\n   - discord:group:123456789012345678 (21h ago)\n\nSummary\nAll checks passed! Discord is healthy."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/jhillock/discord-doctor",
    "publisherUrl": "https://clawhub.ai/jhillock/discord-doctor",
    "owner": "jhillock",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/discord-doctor",
    "downloadUrl": "https://openagent3.xyz/downloads/discord-doctor",
    "agentUrl": "https://openagent3.xyz/skills/discord-doctor/agent",
    "manifestUrl": "https://openagent3.xyz/skills/discord-doctor/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/discord-doctor/agent.md"
  }
}