{
  "schemaVersion": "1.0",
  "item": {
    "slug": "discord-context",
    "name": "Discord Context",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/demitrim/discord-context",
    "canonicalUrl": "https://clawhub.ai/demitrim/discord-context",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/discord-context",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=discord-context",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SECURITY.md",
      "SKILL.md",
      "scripts/discord-context-cli.js",
      "scripts/discord-context-poll.sh",
      "scripts/discord-context.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",
      "slug": "discord-context",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T22:39:22.813Z",
      "expiresAt": "2026-05-06T22:39:22.813Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=discord-context",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=discord-context",
        "contentDisposition": "attachment; filename=\"discord-context-0.1.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "discord-context"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/discord-context"
    },
    "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-context",
    "agentPageUrl": "https://openagent3.xyz/skills/discord-context/agent",
    "manifestUrl": "https://openagent3.xyz/skills/discord-context/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/discord-context/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-context",
        "body": "Run node {baseDir}/scripts/discord-context-cli.js <command> ...."
      },
      {
        "title": "Commands",
        "body": "poll [--guild <id>] [--forum <id>] [--workspace <path>]\n\nPull active threads from Discord and refresh cache for new/updated threads.\nRequires DISCORD_TOKEN plus guild/forum IDs (flags or env vars).\n\n\n\ncontext [threadId] [--workspace <path>] [--json]\n\nWithout threadId: list cached threads.\nWith threadId: print cached context and metadata for one thread.\n\n\n\nlink <threadId> <qmdName> [--workspace <path>]\n\nLink a thread to memory/<qmdName>.md and refresh cached context text."
      },
      {
        "title": "Environment",
        "body": "DISCORD_TOKEN (required for poll)\nDISCORD_GUILD_ID (default guild id for poll)\nDISCORD_FORUM_CHANNEL_ID (default forum id for poll)\nOPENCLAW_WORKSPACE (defaults to ~/.openclaw/workspace)"
      },
      {
        "title": "Security Rules",
        "body": "Never hardcode Discord tokens.\nAccept only numeric thread/guild/forum IDs.\nAccept only [a-zA-Z0-9_-]+ for qmdName.\nKeep all reads/writes inside the workspace memory/ tree."
      },
      {
        "title": "Paths",
        "body": "Cache metadata: memory/discord-cache/thread-<id>.json\nCache text: memory/discord-cache/thread-<id>-context.txt\nSource context files: memory/*.md"
      }
    ],
    "body": "discord-context\n\nRun node {baseDir}/scripts/discord-context-cli.js <command> ....\n\nCommands\n\npoll [--guild <id>] [--forum <id>] [--workspace <path>]\n\nPull active threads from Discord and refresh cache for new/updated threads.\nRequires DISCORD_TOKEN plus guild/forum IDs (flags or env vars).\n\ncontext [threadId] [--workspace <path>] [--json]\n\nWithout threadId: list cached threads.\nWith threadId: print cached context and metadata for one thread.\n\nlink <threadId> <qmdName> [--workspace <path>]\n\nLink a thread to memory/<qmdName>.md and refresh cached context text.\nEnvironment\nDISCORD_TOKEN (required for poll)\nDISCORD_GUILD_ID (default guild id for poll)\nDISCORD_FORUM_CHANNEL_ID (default forum id for poll)\nOPENCLAW_WORKSPACE (defaults to ~/.openclaw/workspace)\nSecurity Rules\nNever hardcode Discord tokens.\nAccept only numeric thread/guild/forum IDs.\nAccept only [a-zA-Z0-9_-]+ for qmdName.\nKeep all reads/writes inside the workspace memory/ tree.\nPaths\nCache metadata: memory/discord-cache/thread-<id>.json\nCache text: memory/discord-cache/thread-<id>-context.txt\nSource context files: memory/*.md"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/demitrim/discord-context",
    "publisherUrl": "https://clawhub.ai/demitrim/discord-context",
    "owner": "demitrim",
    "version": "0.1.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/discord-context",
    "downloadUrl": "https://openagent3.xyz/downloads/discord-context",
    "agentUrl": "https://openagent3.xyz/skills/discord-context/agent",
    "manifestUrl": "https://openagent3.xyz/skills/discord-context/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/discord-context/agent.md"
  }
}