← 返回 Skills 市场
redfox-data

AI小红书信息源

作者 RedFox · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
42
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install xiaohongshu-ai-feed
功能描述
AI小红书信息源 — 每日自动扫描小红书 AI 相关笔记,按互动量(点赞/分享/评论)筛选最火内容,智能聚类生成精美 HTML 日报,支持封面图、数据指标和每日订阅。当用户需要 AI 小红书日报、小红书AI热点、AI小红书内容、小红书信息源、xhs ai feed 时使用。
使用说明 (SKILL.md)

AI小红书信息源

每日自动扫描小红书 AI 相关笔记,按互动量(点赞/分享/评论)筛选最火内容,智能聚类后生成精美 HTML 日报。


能力概述

  • 爆款发现:按关键词搜索小红书 AI 笔记,按互动量筛选最火内容
  • 智能聚类:自动从当天内容中发现话题方向,每天的分类由内容决定
  • 终端表格:分类 + 标题 + 作者 + 点赞/分享/评论数,一目了然
  • 可视化日报:深色主题 HTML(小红书红色风格),封面图、互动数据、笔记直链、日期导航
  • 一键订阅--subscribe 开启每日自动产出,日报自动攒在本地

使用方式

# 生成今日爆款日报(默认关键词:AI)
python3 "$SKILL_PATH/scripts/fetch_xhs_ai.py"

# 自定义关键词
python3 "$SKILL_PATH/scripts/fetch_xhs_ai.py" --keyword "ChatGPT"

# 查看历史某天
python3 "$SKILL_PATH/scripts/fetch_xhs_ai.py" --date 2026-06-09

# 指定时间范围(开始时间含,结束时间不含)
python3 "$SKILL_PATH/scripts/fetch_xhs_ai.py" --start-time 2026-06-09 --end-time 2026-06-10

# 订阅 / 取消订阅
python3 "$SKILL_PATH/scripts/fetch_xhs_ai.py" --subscribe
python3 "$SKILL_PATH/scripts/fetch_xhs_ai.py" --unsubscribe

生成的 HTML 日报保存在 ~/Downloads/QoderReports/,自动浏览器打开。终端同步输出分类笔记表格。


🔑 鉴权

获取 API Key

前往 redfox.hk/login 注册获取个人 API Key。

配置 API Key

方式 命令
环境变量(推荐) export REDFOX_API_KEY=ak_你的密钥
写入 shell 配置 echo 'export REDFOX_API_KEY=ak_你的密钥' >> ~/.zshrc && source ~/.zshrc

脚本缺失环境变量时会明确报错并提供配置指引,不会静默失败。


参数说明

参数 说明 默认值
--keyword 搜索关键词 AI
--page-size 每页条数 50
--date 指定日期 YYYY-MM-DD 今天
--start-time 开始时间 YYYY-MM-DD(含) 根据 --date 自动计算
--end-time 结束时间 YYYY-MM-DD(不含) 根据 --date 自动计算
--output-dir 输出目录 ~/Downloads/QoderReports
--subscribe 安装每日定时任务 (16:00)
--unsubscribe 卸载定时任务
--no-open 不自动打开浏览器

依赖

pip3 install requests

常见问题

Q:日报里的分类是怎么来的? A:完全由当天内容决定。从笔记的 type/topic 标签中自动识别聚类,每天的热点方向不同。

Q:怎么看到更多笔记? A:用 --page-size 100 增大单次查询数量。

Q:订阅后日报存在哪? A:默认 ~/Downloads/QoderReports/,文件名格式 小红书AI日报_2026-06-10.html

Q:没有 API Key 怎么办? A:前往 redfox.hk 注册获取,然后执行 export REDFOX_API_KEY=ak_你的密钥

安全使用建议
Review this skill before installing if you plan to use subscriptions. One-shot report generation appears aligned with the stated purpose, but enabling --subscribe will add a recurring system task, and on macOS it may write your RedFoxHub API key into a LaunchAgent plist. Use a revocable API key, inspect/remove the scheduled task if you stop using the skill, and avoid subscription mode unless you accept that persistence.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
Fetching Xiaohongshu AI content through RedFoxHub, generating an HTML report, writing it to ~/Downloads/QoderReports, and opening it in a browser all fit the stated purpose.
Instruction Scope
The docs disclose --subscribe and daily reports, but they under-explain the side effects of scheduler modification and do not clearly warn that macOS subscription embeds REDFOX_API_KEY into a LaunchAgent plist.
Install Mechanism
No separate installer is present; runtime setup requires requests and an API key. The --subscribe path modifies LaunchAgents or crontab only when explicitly invoked.
Credentials
Network access, local report writes, and browser opening are proportionate, but raw crontab shell pipelines and unescaped external content inserted into generated HTML increase local risk beyond a simple report tool.
Persistence & Privilege
The subscription feature creates host-level persistence via launchctl on macOS or crontab elsewhere, and macOS stores the API key in the generated plist when the environment variable is present.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install xiaohongshu-ai-feed
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /xiaohongshu-ai-feed 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- 新增通过 --start-time 和 --end-time 参数自定义时间范围查询功能 - 订阅定时任务时间从 09:00 更新为 16:00 - API Key 获取链接的 source 参数从 clawhub 改为 github - 参数说明表和使用方式部分同步支持 start-time/end-time - 其余文档细节优化与描述更新
v1.0.0
- 首次发布 xiaohongshu-ai-feed,实现每日自动收集和筛选小红书 AI 热点笔记。 - 按互动量(点赞/评论/分享)筛选内容,智能聚类生成 HTML 日报,支持暗色主题及封面图。 - 提供终端表格和 HTML 日报,支持一键订阅功能,日报自动保存与浏览器打开。 - 支持自定义搜索关键词、日期选择、输出目录等常用参数,详细鉴权与配置指引。
元数据
Slug xiaohongshu-ai-feed
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

AI小红书信息源 是什么?

AI小红书信息源 — 每日自动扫描小红书 AI 相关笔记,按互动量(点赞/分享/评论)筛选最火内容,智能聚类生成精美 HTML 日报,支持封面图、数据指标和每日订阅。当用户需要 AI 小红书日报、小红书AI热点、AI小红书内容、小红书信息源、xhs ai feed 时使用。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 42 次。

如何安装 AI小红书信息源?

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

AI小红书信息源 是免费的吗?

是的,AI小红书信息源 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

AI小红书信息源 支持哪些平台?

AI小红书信息源 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 AI小红书信息源?

由 RedFox(@redfox-data)开发并维护,当前版本 v1.0.1。

💬 留言讨论