← 返回 Skills 市场
terellison

Reddit Archive

作者 Terry Ellison · GitHub ↗ · v1.3.0
cross-platform ⚠ suspicious
752
总下载
0
收藏
0
当前安装
8
版本数
在 OpenClaw 中安装
/install reddit-archive
功能描述
Download and archive Reddit posts including images, GIFs, and videos from specified users or subreddits with filtering and sorting options.
安全使用建议
This skill appears to do what it says: fetch public Reddit JSON and download images/videos. Before installing or running it consider: (1) the script may attempt to pip-install 'requests' and 'yt-dlp' on first run—if you prefer control, preinstall these in a virtualenv or container; (2) media downloads come from third‑party hosts (imgur, redgifs, gfycat, reddit media), so downloaded content is untrusted—run in an isolated folder and verify files before opening; (3) yt-dlp is invoked via subprocess to fetch videos—if you want to be extra cautious, provide a vetted yt-dlp binary via YTDLP_PATH; (4) review the full script yourself if possible (the provided file is straightforward but truncated output here); and (5) be mindful of copyright/privacy concerns when archiving other users' content. If you want maximum safety, run the script inside a disposable VM/container or review/modify the code to meet your environment policies.
功能分析
Type: OpenClaw Skill Name: reddit-archive Version: 1.3.0 The skill is classified as suspicious due to two primary vulnerabilities that could lead to remote code execution (RCE) or arbitrary file writes if exploited via prompt injection against the agent. Firstly, the `scripts/reddit_archive.py` script allows the `yt-dlp` executable path to be overridden by the `YTDLP_PATH` environment variable, which is then executed via `subprocess.run`. A malicious agent prompt could set this variable to an arbitrary executable, leading to RCE. Secondly, the `--output` argument allows specifying any output directory, which could be exploited to write files to sensitive locations. While the stated purpose is benign, these capabilities present significant security risks without clear malicious intent within the skill's own code.
能力评估
Purpose & Capability
Name/description match the code and SKILL.md: the script fetches Reddit JSON endpoints, extracts images/galleries/videos and downloads them (direct HTTP or via yt-dlp). No unrelated credentials, binaries, or config paths are requested.
Instruction Scope
SKILL.md and the script limit actions to fetching Reddit JSON, extracting media URLs, and downloading media into a local output directory. The instructions reference only YTDLP_PATH as an optional env var. The script does not attempt to read unrelated system files or transmit data to unknown endpoints.
Install Mechanism
There is no platform install spec (instruction-only + included requirements.txt). SKILL.md states the script auto-installs dependencies via pip on first run; that is common but means code may invoke pip to install packages from PyPI. This is expected for a Python script but is a moderate operational consideration (run in a virtualenv/container if you want isolation).
Credentials
No required environment variables or credentials are declared. The only env var referenced is an optional YTDLP_PATH to override the yt-dlp binary, which is proportionate to media downloading.
Persistence & Privilege
Skill is not always-enabled and is user-invocable. It does not request system-wide persistence or alter other skills' configs. Autonomous invocation is enabled by default but that is normal and not combined with other high-risk flags.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install reddit-archive
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /reddit-archive 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.3.0
Recreated skill with unified reddit_archive.py script and file organization diagram
v1.2.0
Added file organization section, improved documentation
v2.0.0
Reddit Archive 2.0.0 – Major update with enhanced downloading and automation features - Now automatically installs required dependencies (requests, yt-dlp) on first run - Supports flexible archiving from either Reddit users or subreddits - Added multiple command-line options for filtering (sort, time, date range, media type) - Downloads images, GIFs, and videos, including gallery extraction and parallel downloading - Improved rate limiting and user agent handling to prevent API errors - Detailed usage instructions and examples included in documentation
v1.1.1
- Updated date filtering description: now specifies that filtering is done client-side after fetching, using Reddit's `created_utc`. - Removed previous note that date filtering is done server-side via API parameters.
v1.1.0
- Added automatic dependency installation: script now checks for and installs required Python packages (`requests`, `yt-dlp`) on first run. - Updated documentation to describe auto-install behavior and `pip` fallbacks. - No changes to command-line interface or core archiving features.
v1.0.2
- Added explicit dependencies section to documentation, including Python package and yt-dlp requirements. - Included installation instructions and environment variable override for yt-dlp path. - Added scripts/requirements.txt to list required Python packages. - Updated SKILL.md with clearer setup instructions.
v1.0.1
- Minor update to underlying script; no changes to skill usage or documentation. - SKILL.md remains unchanged.
v1.0.0
Reddit Archive 1.0.0 – Initial release - Archive Reddit posts (images, GIFs, videos) from specific users or subreddits. - Flexible filters: sort order, time range, date range, post limit, content type (images/GIFs). - Downloads saved with clear naming to configurable output directories. - Built-in rate limiting and support for parallel downloads. - Supports galleries and video downloads (via yt-dlp). - Easy command-line usage with multiple examples provided.
元数据
Slug reddit-archive
版本 1.3.0
许可证
累计安装 0
当前安装数 0
历史版本数 8
常见问题

Reddit Archive 是什么?

Download and archive Reddit posts including images, GIFs, and videos from specified users or subreddits with filtering and sorting options. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 752 次。

如何安装 Reddit Archive?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install reddit-archive」即可一键安装,无需额外配置。

Reddit Archive 是免费的吗?

是的,Reddit Archive 完全免费(开源免费),可自由下载、安装和使用。

Reddit Archive 支持哪些平台?

Reddit Archive 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Reddit Archive?

由 Terry Ellison(@terellison)开发并维护,当前版本 v1.3.0。

💬 留言讨论