← 返回 Skills 市场
reddit-digest
作者
Alex Redisread
· GitHub ↗
· v1.0.3
· MIT-0
134
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install reddit-digest
功能描述
抓取指定单个 Subreddit 最近 24 小时热门 Post,逐一获取详情与评论,生成摘要、核心要点、可实践建议、灵感启发及社交媒体分享文案,输出为每日精选 Markdown 文档。 当用户说"帮我抓取/总结 Reddit r/xxx"、"生成 Reddit 每日摘要"、"reddit digest"时使用。
安全使用建议
This skill appears to do what it says (fetch Reddit posts and produce a Markdown digest), but there are red flags you should address before installing or running it:
- 'autocli' is a required runtime dependency (used by both the SKILL.md pipeline and the Python script) but it is not declared in the skill metadata. Verify you have a trusted 'autocli' binary installed and understand what permissions/sessions it uses (it is described as browser-based and may use your browser cookies/sessions).
- SKILL.md references environment variables (REDDIT_DIGEST_BASE_DIR, REDDIT_DIGEST_SUBREDDIT) and uses a hard-coded default path (/Users/victor/...). Update those defaults and provide explicit paths to avoid writing into unexpected locations.
- The skill runs a one-line background shell pipeline that writes logs to /tmp and creates temp directories. Review the exact command before running, and consider running it in an isolated environment (container or dedicated account) first.
- Inspect the bundled script (scripts/fetch_post_details.py) yourself — it uses subprocess.run to invoke 'autocli'; ensure there are no unexpected network endpoints or commands you don't want executed.
If you decide to proceed: install 'autocli' from a trusted source, set REDDIT_DIGEST_BASE_DIR to a safe directory you control, avoid running it while logged into sensitive browser accounts, and run the pipeline manually the first time to confirm behavior. If you cannot verify 'autocli', treat the skill as unsafe to run.
功能分析
Type: OpenClaw Skill
Name: reddit-digest
Version: 1.0.3
The skill is a legitimate tool for scraping and summarizing Reddit subreddits using the 'autocli' utility. The Python script 'scripts/fetch_post_details.py' safely handles subprocess execution using argument lists to prevent shell injection and focuses entirely on data retrieval and local storage. While it contains a hardcoded local path (/Users/victor/...) in SKILL.md, this appears to be a configuration default rather than a malicious indicator.
能力评估
Purpose & Capability
The skill's purpose (fetch recent hot posts from a subreddit and produce a Markdown digest) aligns with the included script and templates. However, the runtime relies heavily on an external binary 'autocli' to fetch post details, yet the registry metadata lists no required binaries and no install instructions — a clear mismatch (the skill cannot run as described without autocli).
Instruction Scope
SKILL.md instructs the agent to create directories, run a one-line background pipeline that calls 'autocli' and the bundled Python script, and poll temp directories/logs. It also references environment variables (REDDIT_DIGEST_BASE_DIR, REDDIT_DIGEST_SUBREDDIT) that are not declared in the skill metadata and embeds a hard-coded default path (/Users/victor/...) that is user-specific. These instructions grant the skill broad discretion to read/write local files and to start subprocesses — expected for a fetcher but the undocumented dependencies and hard-coded paths are problematic.
Install Mechanism
There is no install spec (instruction-only plus a local script). That limits what the skill itself writes to disk during install. The risk is primarily from runtime execution of an external binary ('autocli'), not from an installer fetched by the skill.
Credentials
The skill declares no required env vars or credentials, yet SKILL.md uses two env variables for configuration and the script invokes 'autocli' which may rely on browser sessions or local credentials. The lack of declared required binaries/credentials hides the real runtime needs and potential access to browser-stored auth/session state.
Persistence & Privilege
The skill is not set to always:true and does not request to modify other skills or global agent settings. It performs local file I/O within configured paths only, which is consistent with its purpose.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install reddit-digest - 安装完成后,直接呼叫该 Skill 的名称或使用
/reddit-digest触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
reddit-digest v1.0.3
- 新增 scripts/fetch_post_details.py,实现批量串行抓取所有 Post 详情与评论,提升数据准确性与完整性。
- 输出路径和临时目录结构优化,支持多 Subreddit 独立存储,便于管理和隔离。
- 流程升级:通过一键后台命令自动批量采集并持久化每条 Post,与 autocli 浏览器并发限制兼容。
- 增强容错,采集失败自动记录 error 字段,仅用元数据生成摘要。
- 文档优化,明确操作说明与排错建议,便于实际部署和使用。
v1.0.2
- 支持指定单个 Subreddit,抓取并摘要最近 24 小时热门 Post,输出为每日精选 Markdown 文档。
- 流程与参数简化,聚焦一个 Subreddit(命令行参数/环境变量,默认 `ClaudeAI`)。
- 输出与临时目录结构调整为单 Subreddit 模式,文档内容按新模板规范。
- 依赖与容错机制未变,保留自动筛除低价值内容和多重内容抓取 fallback。
- 详细内容与模板说明统一移至 `references/output-template.md`。
v1.0.1
No user-visible changes in this version.
- Documentation was updated, mostly removing the “被剔除的 Post” section from Subreddit文档和最终文档结构。
- No changes to code or features detected.
v1.0.0
reddit-digest v1.0.0
- 首次发布,支持自动获取配置 Subreddit 近24小时热门帖,结合评论区,生成高质量中文摘要、要点、建议、灵感和社交媒体文案。
- 按 Subreddit 输出每日精选文档,再自动合并为总览,支持命令行参数和环境变量灵活配置。
- 内置容错机制(autocli+agent-browser),自动筛选剔除低价值内容。
- 全流程目录清理、文档拼接均自动化,确保最终输出高信息密度、统一格式、多平台适用。
元数据
常见问题
reddit-digest 是什么?
抓取指定单个 Subreddit 最近 24 小时热门 Post,逐一获取详情与评论,生成摘要、核心要点、可实践建议、灵感启发及社交媒体分享文案,输出为每日精选 Markdown 文档。 当用户说"帮我抓取/总结 Reddit r/xxx"、"生成 Reddit 每日摘要"、"reddit digest"时使用。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 134 次。
如何安装 reddit-digest?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install reddit-digest」即可一键安装,无需额外配置。
reddit-digest 是免费的吗?
是的,reddit-digest 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
reddit-digest 支持哪些平台?
reddit-digest 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 reddit-digest?
由 Alex Redisread(@redisread)开发并维护,当前版本 v1.0.3。
推荐 Skills