fugui-monitor

# 小红书博主监测 Skill

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "fugui-monitor" with this command: npx skills add kmknkk/xiaohongshu-monitor

小红书博主监测 Skill

监测指定小红书博主是否有新帖子,并通过飞书通知用户。

功能

  • ✅ 自动检测多个小红书博主新帖子
  • ✅ 根据时间段调整监控频率(08:00-18:00 每5分钟,18:00-24:00 每10分钟)
  • ✅ 00:00-08:00 不监控
  • ✅ 飞书通知推送
  • ✅ 帖子快照对比,避免重复通知
  • ✅ 支持登录态(保持 cookie)
  • ✅ 路径动态获取,适配不同用户

监控的博主

  1. 还是叫吴富贵吧

文件结构

~/.openclaw/workspace/
├── scripts/
│   └── xiaohongshu-monitor.sh    # 主监测脚本
└── memory/
    ├── xiaohongshu-monitor-还是叫吴富贵吧.md    # 博主1帖子快照
    ├── xiaohongshu-monitor-还是叫吴富贵吧.log   # 博主1日志
    └── xiaohongshu-cron.log                     # Cron运行日志

脚本配置

脚本使用动态路径,适配不同用户:

export PATH="..."  # 使用 $HOME 动态获取
WORKSPACE="$HOME/.openclaw/workspace"

博主观测配置在 BLOGGERS 数组中:

BLOGGERS=(
    "ID|博主名|快照文件|日志文件"
)

使用方法

1. 手动运行检测

bash ~/.openclaw/workspace/scripts/xiaohongshu-monitor.sh

2. 查看日志

# 查看所有日志
tail -f ~/.openclaw/workspace/memory/xiaohongshu-cron.log

# 查看特定博主日志
tail -f ~/.openclaw/workspace/memory/xiaohongshu-monitor-还是叫吴富贵吧.log

3. 查看当前快照

cat ~/.openclaw/workspace/memory/xiaohongshu-monitor-还是叫吴富贵吧.md

4. Cron 任务配置

# 查看当前 cron
crontab -l

# 当前配置:
# */5 8-18 * * *  (08:00-18:00 每5分钟)
# */10 18-23 * * * (18:00-24:00 每10分钟)

5. 修改或停止 Cron

# 编辑 crontab
crontab -e

# 停止所有任务
crontab -r

首次设置

1. 登录小红书(保持 cookie)

首次使用需要在浏览器中登录小红书一次,之后脚本会自动使用登录态:

openclaw browser --profile openclaw open "https://www.xiaohongshu.com"

在弹出的浏览器中登录小红书即可。

2. 验证登录态

首次设置后手动运行一次检测脚本,确认正常工作:

bash ~/.openclaw/workspace/scripts/xiaohongshu-monitor.sh

通知效果

当有新帖子时,你会收到飞书通知:

🔔 小红书博主「还是叫吴富贵吧」发新帖子啦:

1. 新帖子标题1
2. 新帖子标题2

添加新博主

如果要添加新博主,修改脚本中的 BLOGGERS 数组:

BLOGGERS=(
    "5b6150c56b58b741e26b8c7f|还是叫吴富贵吧|xiaohongshu-monitor-还是叫吴富贵吧.md|xiaohongshu-monitor-还是叫吴富贵吧.log"
    "新博主ID|新博主名字|xiaohongshu-monitor-新博主名字.md|xiaohongshu-monitor-新博主名字.log"
)

格式:ID|名字|快照文件|日志文件

注意事项

  • 浏览器使用 openclaw profile,数据保存在 ~/.openclaw/browser/openclaw/
  • 小红书有频率限制,脚本已内置重试机制
  • 频繁请求可能触发"请求太频繁",脚本会自动等待后重试
  • 监控时间:00:00-08:00 不监控,08:00-18:00 每5分钟,18:00-24:00 每10分钟
  • 中文文件名在 Mac/Linux 系统上完全兼容

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Weibo Hot Search API

Call GET /api/weibo/hot-search/v1 for Weibo Hot Search through JustOneAPI.

Registry SourceRecently Updated
General

Weibo Keyword Search API

Call GET /api/weibo/search-all/v2 for Weibo Keyword Search through JustOneAPI with endDay, endHour, q, startDay, and startHour.

Registry SourceRecently Updated
General

Weibo Search User Published Posts API

Call GET /api/weibo/search-profile/v1 for Weibo Search User Published Posts through JustOneAPI with q and uid.

Registry SourceRecently Updated
General

Weibo Post Details API

Call GET /api/weibo/get-weibo-detail/v1 for Weibo Post Details through JustOneAPI with id.

Registry SourceRecently Updated