{
  "schemaVersion": "1.0",
  "item": {
    "slug": "reddit",
    "name": "Reddit",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/theglove44/reddit",
    "canonicalUrl": "https://clawhub.ai/theglove44/reddit",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/reddit",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=reddit",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "scripts/reddit.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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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/reddit"
    },
    "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/reddit",
    "agentPageUrl": "https://openagent3.xyz/skills/reddit/agent",
    "manifestUrl": "https://openagent3.xyz/skills/reddit/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/reddit/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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Reddit",
        "body": "Browse, search, post to, and moderate subreddits. Read-only actions work without auth; posting/moderation requires OAuth setup."
      },
      {
        "title": "Setup (for posting/moderation)",
        "body": "Go to https://www.reddit.com/prefs/apps\nClick \"create another app...\"\nSelect \"script\" type\nSet redirect URI to http://localhost:8080\nNote your client ID (under app name) and client secret\nSet environment variables:\nexport REDDIT_CLIENT_ID=\"your_client_id\"\nexport REDDIT_CLIENT_SECRET=\"your_client_secret\"\nexport REDDIT_USERNAME=\"your_username\"\nexport REDDIT_PASSWORD=\"your_password\""
      },
      {
        "title": "Read Posts (no auth required)",
        "body": "# Hot posts from a subreddit\nnode {baseDir}/scripts/reddit.mjs posts wallstreetbets\n\n# New posts\nnode {baseDir}/scripts/reddit.mjs posts wallstreetbets --sort new\n\n# Top posts (day/week/month/year/all)\nnode {baseDir}/scripts/reddit.mjs posts wallstreetbets --sort top --time week\n\n# Limit results\nnode {baseDir}/scripts/reddit.mjs posts wallstreetbets --limit 5"
      },
      {
        "title": "Search Posts",
        "body": "# Search within a subreddit\nnode {baseDir}/scripts/reddit.mjs search wallstreetbets \"YOLO\"\n\n# Search all of Reddit\nnode {baseDir}/scripts/reddit.mjs search all \"stock picks\""
      },
      {
        "title": "Get Comments on a Post",
        "body": "# By post ID or full URL\nnode {baseDir}/scripts/reddit.mjs comments POST_ID\nnode {baseDir}/scripts/reddit.mjs comments \"https://reddit.com/r/subreddit/comments/abc123/...\""
      },
      {
        "title": "Submit a Post (requires auth)",
        "body": "# Text post\nnode {baseDir}/scripts/reddit.mjs submit yoursubreddit --title \"Weekly Discussion\" --text \"What's on your mind?\"\n\n# Link post\nnode {baseDir}/scripts/reddit.mjs submit yoursubreddit --title \"Great article\" --url \"https://example.com/article\""
      },
      {
        "title": "Reply to a Post/Comment (requires auth)",
        "body": "node {baseDir}/scripts/reddit.mjs reply THING_ID \"Your reply text here\""
      },
      {
        "title": "Moderation (requires auth + mod permissions)",
        "body": "# Remove a post/comment\nnode {baseDir}/scripts/reddit.mjs mod remove THING_ID\n\n# Approve a post/comment\nnode {baseDir}/scripts/reddit.mjs mod approve THING_ID\n\n# Sticky a post\nnode {baseDir}/scripts/reddit.mjs mod sticky POST_ID\n\n# Unsticky\nnode {baseDir}/scripts/reddit.mjs mod unsticky POST_ID\n\n# Lock comments\nnode {baseDir}/scripts/reddit.mjs mod lock POST_ID\n\n# View modqueue\nnode {baseDir}/scripts/reddit.mjs mod queue yoursubreddit"
      },
      {
        "title": "Notes",
        "body": "Read actions use Reddit's public JSON API (no auth needed)\nPost/mod actions require OAuth - run login command once to authorize\nToken stored at ~/.reddit-token.json (auto-refreshes)\nRate limits: ~60 requests/minute for OAuth, ~10/minute for unauthenticated"
      }
    ],
    "body": "Reddit\n\nBrowse, search, post to, and moderate subreddits. Read-only actions work without auth; posting/moderation requires OAuth setup.\n\nSetup (for posting/moderation)\nGo to https://www.reddit.com/prefs/apps\nClick \"create another app...\"\nSelect \"script\" type\nSet redirect URI to http://localhost:8080\nNote your client ID (under app name) and client secret\nSet environment variables:\nexport REDDIT_CLIENT_ID=\"your_client_id\"\nexport REDDIT_CLIENT_SECRET=\"your_client_secret\"\nexport REDDIT_USERNAME=\"your_username\"\nexport REDDIT_PASSWORD=\"your_password\"\n\nRead Posts (no auth required)\n# Hot posts from a subreddit\nnode {baseDir}/scripts/reddit.mjs posts wallstreetbets\n\n# New posts\nnode {baseDir}/scripts/reddit.mjs posts wallstreetbets --sort new\n\n# Top posts (day/week/month/year/all)\nnode {baseDir}/scripts/reddit.mjs posts wallstreetbets --sort top --time week\n\n# Limit results\nnode {baseDir}/scripts/reddit.mjs posts wallstreetbets --limit 5\n\nSearch Posts\n# Search within a subreddit\nnode {baseDir}/scripts/reddit.mjs search wallstreetbets \"YOLO\"\n\n# Search all of Reddit\nnode {baseDir}/scripts/reddit.mjs search all \"stock picks\"\n\nGet Comments on a Post\n# By post ID or full URL\nnode {baseDir}/scripts/reddit.mjs comments POST_ID\nnode {baseDir}/scripts/reddit.mjs comments \"https://reddit.com/r/subreddit/comments/abc123/...\"\n\nSubmit a Post (requires auth)\n# Text post\nnode {baseDir}/scripts/reddit.mjs submit yoursubreddit --title \"Weekly Discussion\" --text \"What's on your mind?\"\n\n# Link post\nnode {baseDir}/scripts/reddit.mjs submit yoursubreddit --title \"Great article\" --url \"https://example.com/article\"\n\nReply to a Post/Comment (requires auth)\nnode {baseDir}/scripts/reddit.mjs reply THING_ID \"Your reply text here\"\n\nModeration (requires auth + mod permissions)\n# Remove a post/comment\nnode {baseDir}/scripts/reddit.mjs mod remove THING_ID\n\n# Approve a post/comment\nnode {baseDir}/scripts/reddit.mjs mod approve THING_ID\n\n# Sticky a post\nnode {baseDir}/scripts/reddit.mjs mod sticky POST_ID\n\n# Unsticky\nnode {baseDir}/scripts/reddit.mjs mod unsticky POST_ID\n\n# Lock comments\nnode {baseDir}/scripts/reddit.mjs mod lock POST_ID\n\n# View modqueue\nnode {baseDir}/scripts/reddit.mjs mod queue yoursubreddit\n\nNotes\nRead actions use Reddit's public JSON API (no auth needed)\nPost/mod actions require OAuth - run login command once to authorize\nToken stored at ~/.reddit-token.json (auto-refreshes)\nRate limits: ~60 requests/minute for OAuth, ~10/minute for unauthenticated"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/theglove44/reddit",
    "publisherUrl": "https://clawhub.ai/theglove44/reddit",
    "owner": "theglove44",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/reddit",
    "downloadUrl": "https://openagent3.xyz/downloads/reddit",
    "agentUrl": "https://openagent3.xyz/skills/reddit/agent",
    "manifestUrl": "https://openagent3.xyz/skills/reddit/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/reddit/agent.md"
  }
}