← 返回 Skills 市场
shaojie66

Auto Redbook Content

作者 Shaojie66 · GitHub ↗ · v2.5.2 · MIT-0
cross-platform ⚠ suspicious
818
总下载
1
收藏
1
当前安装
16
版本数
在 OpenClaw 中安装
/install auto-redbook-content
功能描述
小红书热点抓取与去AI味改写工具。抓取首页热点→生成去AI味改写提示词→本地存储。
使用说明 (SKILL.md)

auto-redbook-content Skill

小红书热点抓取与去 AI 味改写工具。

核心功能

抓取小红书首页热点 → 生成去 AI 味改写提示词 → 本地 JSON 存储

触发方式

抓取 3 条小红书笔记

工作流程

  1. 抓取热点:通过 xiaohongshu MCP 获取首页热门笔记
  2. 生成提示词:构建去 AI 味的改写提示词
  3. 本地存储:输出到 output/xiaohongshu_YYYYMMDD_HHMMSS.json

环境变量

变量 说明 默认值
XHS_MAX_RESULTS 抓取数量 3

通过环境变量设置,无需 .env 文件。

去 AI 味改写要点

提示词包含以下要求:

  • 像真人聊天,不像写作文
  • 多用口语化表达
  • 打破工整结构
  • 加入真实细节
  • 避免 AI 常用连接词

输出格式

JSON 文件包含:

  • 原始标题、内容、作者
  • 去 AI 味改写提示词
  • 元数据

依赖

  • Node.js >= 14.0.0
  • xiaohongshu MCP(可选)

安全说明

脚本本身:

  • ✅ 无 shell 执行
  • ✅ 无直接网络访问
  • ✅ 不读取 .env 文件
  • ✅ 仅读取必要环境变量
  • ✅ 仅写入 output 目录

在 OpenClaw agent 环境中:

  • ⚠️ 可能通过 xiaohongshu MCP 工具进行网络抓取
  • ⚠️ MCP 工具由 OpenClaw 环境提供和管理
  • ⚠️ 网络访问由 MCP 执行,非脚本直接调用

版本历史

v2.5.2 (2026-03-15)

  • 📝 澄清安全说明:区分脚本本身和 agent 环境

v2.5.1 (2026-03-15)

  • 🔧 删除 package-lock.json 和 node_modules
  • 📝 移除 npm install 说明

v2.5.0 (2026-03-15)

  • ✨ 改写提示词增加去 AI 味要求
  • 🔒 移除 .env 文件读取
  • 🔒 移除 dotenv 依赖
  • 🔒 仅读取必要环境变量
安全使用建议
This skill appears internally consistent and does not request secrets. Before installing/running, confirm the following: (1) The OpenClaw agent/tool 'xiaohongshu MCP' is trusted — if invoked, it will perform network requests and could send fetched content externally; (2) If you or the agent will send the generated prompts or original content to external LLMs or services, be aware that those prompts include original note content and could leak data; (3) Review agent tool permissions and run the skill in a sandbox if you want to avoid any network activity. If you only run the included scripts locally, they generate mock data and only write JSON to the output/ folder.
功能分析
Type: OpenClaw Skill Name: auto-redbook-content Version: 2.5.2 The skill bundle is a legitimate tool for fetching Xiaohongshu (Redbook) trends and generating rewrite prompts. The code (scripts/fetch.js, scripts/rewrite.js, scripts/run.js) is transparent, lacks external dependencies, and follows least-privilege principles by restricting file system access to the 'output' directory and delegating network tasks to the host's MCP environment. No indicators of data exfiltration, malicious execution, or harmful prompt injection were found.
能力评估
Purpose & Capability
Name/description (fetch Xiaohongshu hotspots → generate de-AI prompts → save locally) matches the files and package.json. Required binary (node) and permission (fs:write:output) are appropriate and proportionate.
Instruction Scope
SKILL.md and fetch.js state that actual network fetching is performed by an external 'xiaohongshu MCP' tool provided by the OpenClaw agent environment; the included scripts do not perform network I/O and only generate mock data locally. This is coherent, but it means network access would occur only if the agent invokes the MCP tool or another external tool — review the agent/tool behavior before running.
Install Mechanism
No install spec; instruction-only with small JS scripts. Nothing is downloaded or extracted during install; risk from install mechanism is minimal.
Credentials
No required secrets or credentials. One optional env var (XHS_MAX_RESULTS) controls fetch count. package.json declares only fs:write:output. No disproportionate environment or credential requests.
Persistence & Privilege
always is false, agent invocation is normal. The skill only writes to its own output directory and does not modify other skills or system configuration.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install auto-redbook-content
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /auto-redbook-content 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.5.2
澄清安全说明:区分脚本本身和agent环境
v2.5.1
删除package-lock和node_modules,确保无外部依赖
v2.5.0
增加去AI味改写要求,移除.env文件读取
v2.4.1
说明真实抓取需要MCP支持
v2.4.0
移除所有外部工具调用和网络访问,极简实现
v2.3.1
增强安全说明文档
v2.3.0
移除飞书集成,纯本地存储,适配单agent独立完成
v2.2.2
修复rewrite.js导出不匹配问题
v2.2.1
清理文档中的AI_API_KEY引用,简化代码,删除过时文档
v2.2.0
移除自动调度功能,明确定位为按需调用工具
v2.1.1
文档优化:明确核心功能(抓取→识别→改写→输出JSON),飞书集成改为可选说明
v2.1.0
安全重构:移除硬编码凭证,改用环境变量;优化错误处理和日志输出
v2.0.0
v2.0.0: 完整重构
v1.1.2
修复元数据不匹配问题:明确声明所有必需环境变量;增加数据流向说明、法律风险提示和外部依赖说明
v1.1.1
🔒 安全修复版本:修复 shell 注入风险、完善配置元数据、增加安全文档
v1.0.0
首次发布:支持小红书笔记抓取、图片识别(Vision+OCR)、AI洗稿、飞书表格写入
元数据
Slug auto-redbook-content
版本 2.5.2
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 16
常见问题

Auto Redbook Content 是什么?

小红书热点抓取与去AI味改写工具。抓取首页热点→生成去AI味改写提示词→本地存储。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 818 次。

如何安装 Auto Redbook Content?

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

Auto Redbook Content 是免费的吗?

是的,Auto Redbook Content 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Auto Redbook Content 支持哪些平台?

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

谁开发了 Auto Redbook Content?

由 Shaojie66(@shaojie66)开发并维护,当前版本 v2.5.2。

💬 留言讨论