{
  "schemaVersion": "1.0",
  "item": {
    "slug": "reddit-archive",
    "name": "Reddit Archive",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/terellison/reddit-archive",
    "canonicalUrl": "https://clawhub.ai/terellison/reddit-archive",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/reddit-archive",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=reddit-archive",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/reddit_archive.py",
      "scripts/requirements.txt"
    ],
    "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/reddit-archive"
    },
    "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-archive",
    "agentPageUrl": "https://openagent3.xyz/skills/reddit-archive/agent",
    "manifestUrl": "https://openagent3.xyz/skills/reddit-archive/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/reddit-archive/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": "SKILL.md — Reddit Archive",
        "body": "Download and archive Reddit posts (images, GIFs, videos) from users or subreddits."
      },
      {
        "title": "Auto-Installation",
        "body": "This script automatically checks for and installs its dependencies on first run:\n\nrequests — Python HTTP library\nyt-dlp — video downloader\n\nIf missing, it will attempt to install them via pip install --user. You can also:\n\nPre-install: pip3 install requests yt-dlp\nOverride yt-dlp path: export YTDLP_PATH=/your/custom/path/yt-dlp"
      },
      {
        "title": "When to Use",
        "body": "You want to archive content from Reddit — either from a specific user (u/username) or a subreddit (r/subname)."
      },
      {
        "title": "Usage",
        "body": "python3 ~/path/to/reddit_archive.py [options]"
      },
      {
        "title": "Options",
        "body": "FlagDescriptionDefault-u, --userReddit username (either this OR --subreddit required)—-s, --subredditSubreddit name (either this OR --user required)—-o, --outputOutput directory~/temp/.reddit_<target>--sortSort order: hot, new, rising, top, controversialhot--timeTime filter for top/controversial: hour, day, week, month, year, all—--afterStart date (YYYY-MM-DD)No filter--beforeEnd date (YYYY-MM-DD)No filter--limitMax posts to fetch (0 = unlimited)0--imagesDownload images (jpg, png, webp)✓--gifsDownload GIFs/videos (gfycat, redgifs, imgur)✓--skip-existingSkip already-downloaded files✓--workersParallel download workers4"
      },
      {
        "title": "Examples",
        "body": "# All posts from a user\npython3 reddit_archive.py -u someuser\n\n# Subreddit with date range\npython3 reddit_archive.py -s orlando --after 2025-01-01 --before 2025-12-31\n\n# Top 10 most upvoted posts of all time from a subreddit\npython3 reddit_archive.py -s funny --sort top --time all --limit 10\n\n# New posts only\npython3 reddit_archive.py -s orlando --sort new\n\n# GIFs only, specific user\npython3 reddit_archive.py -u someguy --gifs\n\n# Custom output dir\npython3 reddit_archive.py -u someuser -o ~/Downloads/reddit_archive"
      },
      {
        "title": "Output",
        "body": "Downloads are saved to the output directory with the following structure:\n\noutput_directory/\n├── Pictures/\n│   ├── {target}_{post_id}.jpg\n│   ├── {target}_{post_id}.png\n│   └── ...\n└── Videos/\n    ├── {target}_{post_id}.mp4\n    └── ..."
      },
      {
        "title": "File Organization",
        "body": "The skill is organized as:\n\nreddit-archive/\n├── SKILL.md              ← This file\n└── scripts/\n    ├── reddit_archive.py ← Main downloader script\n    └── requirements.txt  ← Python dependencies"
      },
      {
        "title": "Rate Limiting",
        "body": "Pauses 0.8s between Reddit API calls to avoid 403s\nUses requests with proper User-Agent header\nRun one instance at a time — parallel runs trigger rate limits"
      },
      {
        "title": "Technical Notes",
        "body": "Uses Reddit's JSON API (/user/{name}/submitted.json or /r/{name}/hot.json)\nFor galleries, extracts all images from media_metadata\nGIF/video downloads use yt-dlp\nDate filtering is done client-side after fetching (filters by Reddit's created_utc)"
      }
    ],
    "body": "SKILL.md — Reddit Archive\n\nDownload and archive Reddit posts (images, GIFs, videos) from users or subreddits.\n\nAuto-Installation\n\nThis script automatically checks for and installs its dependencies on first run:\n\nrequests — Python HTTP library\nyt-dlp — video downloader\n\nIf missing, it will attempt to install them via pip install --user. You can also:\n\nPre-install: pip3 install requests yt-dlp\nOverride yt-dlp path: export YTDLP_PATH=/your/custom/path/yt-dlp\nWhen to Use\n\nYou want to archive content from Reddit — either from a specific user (u/username) or a subreddit (r/subname).\n\nUsage\npython3 ~/path/to/reddit_archive.py [options]\n\nOptions\nFlag\tDescription\tDefault\n-u, --user\tReddit username (either this OR --subreddit required)\t—\n-s, --subreddit\tSubreddit name (either this OR --user required)\t—\n-o, --output\tOutput directory\t~/temp/.reddit_<target>\n--sort\tSort order: hot, new, rising, top, controversial\thot\n--time\tTime filter for top/controversial: hour, day, week, month, year, all\t—\n--after\tStart date (YYYY-MM-DD)\tNo filter\n--before\tEnd date (YYYY-MM-DD)\tNo filter\n--limit\tMax posts to fetch (0 = unlimited)\t0\n--images\tDownload images (jpg, png, webp)\t✓\n--gifs\tDownload GIFs/videos (gfycat, redgifs, imgur)\t✓\n--skip-existing\tSkip already-downloaded files\t✓\n--workers\tParallel download workers\t4\nExamples\n# All posts from a user\npython3 reddit_archive.py -u someuser\n\n# Subreddit with date range\npython3 reddit_archive.py -s orlando --after 2025-01-01 --before 2025-12-31\n\n# Top 10 most upvoted posts of all time from a subreddit\npython3 reddit_archive.py -s funny --sort top --time all --limit 10\n\n# New posts only\npython3 reddit_archive.py -s orlando --sort new\n\n# GIFs only, specific user\npython3 reddit_archive.py -u someguy --gifs\n\n# Custom output dir\npython3 reddit_archive.py -u someuser -o ~/Downloads/reddit_archive\n\nOutput\n\nDownloads are saved to the output directory with the following structure:\n\noutput_directory/\n├── Pictures/\n│   ├── {target}_{post_id}.jpg\n│   ├── {target}_{post_id}.png\n│   └── ...\n└── Videos/\n    ├── {target}_{post_id}.mp4\n    └── ...\n\nFile Organization\n\nThe skill is organized as:\n\nreddit-archive/\n├── SKILL.md              ← This file\n└── scripts/\n    ├── reddit_archive.py ← Main downloader script\n    └── requirements.txt  ← Python dependencies\n\nRate Limiting\nPauses 0.8s between Reddit API calls to avoid 403s\nUses requests with proper User-Agent header\nRun one instance at a time — parallel runs trigger rate limits\nTechnical Notes\nUses Reddit's JSON API (/user/{name}/submitted.json or /r/{name}/hot.json)\nFor galleries, extracts all images from media_metadata\nGIF/video downloads use yt-dlp\nDate filtering is done client-side after fetching (filters by Reddit's created_utc)"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/terellison/reddit-archive",
    "publisherUrl": "https://clawhub.ai/terellison/reddit-archive",
    "owner": "terellison",
    "version": "1.3.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/reddit-archive",
    "downloadUrl": "https://openagent3.xyz/downloads/reddit-archive",
    "agentUrl": "https://openagent3.xyz/skills/reddit-archive/agent",
    "manifestUrl": "https://openagent3.xyz/skills/reddit-archive/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/reddit-archive/agent.md"
  }
}