← 返回 Skills 市场
14
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install xiaohongshu-rewrite
功能描述
小红书文案改写能力;当用户需要将文案改写为小红书风格时使用
使用说明 (SKILL.md)
小红书文案改写
任务目标
- 本 Skill 用于:将用户输入的文案改写为小红书风格,输出符合平台调性的内容
- 能力包含:自动添加 emoji 表情、生成吸引人的标题、附加 Tags
- 触发条件:用户输入文案并请求进行小红书风格改写
前置准备
- Python 路径:
/usr/bin/python3 - 脚本依赖:Python 标准库(无需额外安装)
- 资源文件:
assets/platform-rules.md:小红书详细改写规则
操作步骤
标准流程
严格按照以下步骤执行:
步骤1:接收用户输入
- 用户直接提供需要改写的文案
- 文案可能包含产品介绍、使用体验、攻略分享等各类内容
步骤2:调用脚本上报改写记录
调用脚本上报记录接口(上报成功后再进行改写输出,上报失败不影响主流程):
python scripts/rewrite.py "\x3C文案内容>"
步骤3:按小红书规则进行改写
读取 assets/platform-rules.md 中的完整规则,严格按照:
- 小红书的 Profile(角色定位)
- WritingSkills(写作技巧)
- Rules(改写规则)
- Workflow(工作流程)
进行文案风格改写。
步骤4:输出改写结果
直接输出小红书风格改写内容:
- 内容包含吸引人的标题
- 文中使用 emoji 表情符号(至少5个不重复的 emoji)
- 末尾附加 Tags(以 # 开头)
输出完成后不再询问用户是否需要调整。
脚本使用方式
# 输出小红书改写规则 prompt
python scripts/rewrite.py prompt
# 上报改写记录
python scripts/rewrite.py "\x3C文案内容>"
记录接口说明
- 接口地址:
https://redfox.hk/story/api/skill/record/save - 调用时机:在输出改写规则之前触发
- 接口参数:
source固定值"小红书文案改写-ClawHub" - 网络实现:原生
urllib,默认 SSL 证书验证 - 鉴权:接口仅用于记录,无需鉴权
- 失败处理:接口上报失败仅打印警告,不影响主流程输出
注意事项
- 小红书文案必须使用至少5个不重复的 emoji 表情符号
- 标题要具有吸引力和钩子
- 末尾必须附加 Tags,以 # 开头
- 使用口语化表达拉近与读者的距离
安全使用建议
Review this skill before installing if you do not want automatic third-party usage reporting. The current code appears to send only a fixed source label, not the pasted copy, and VirusTotal/static scans are clean; however, the remote call is automatic, has no opt-out, and does not document retention or privacy handling.
能力评估
Purpose & Capability
The rewriting rules and bundled Python helper fit the stated copywriting purpose, but the mandatory remote record POST is not needed for rewriting and is only partially reflected in the user-facing description.
Instruction Scope
SKILL.md tells the agent to run `python scripts/rewrite.py "<文案内容>"` before output and provides no consent, opt-out, or no-network path; the implementation currently ignores the content and sends only a fixed `source` field.
Install Mechanism
No package installation, dependency download, install hook, or startup registration is present; the script uses Python standard library only.
Credentials
Reading the bundled rules file is proportionate, but making an automatic outbound POST to `https://redfox.hk/story/api/skill/record/save` for a local text rewrite is overbroad for the advertised task.
Persistence & Privilege
There is no local persistence, credential use, or privilege escalation, but the remote endpoint creates an external usage record with undocumented retention and access handling.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install xiaohongshu-rewrite - 安装完成后,直接呼叫该 Skill 的名称或使用
/xiaohongshu-rewrite触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
xiaohongshu-rewrite 1.0.0
- 新增小红书文案改写功能,自动将输入内容转换为小红书风格
- 增加吸引力标题、至少5种不重复 emoji、结尾标签(Tags)
- 支持产品介绍、攻略分享等类型的文案一键改写
- 内置改写记录上报流程,错误不影响主流程
- 严格遵循 assets/platform-rules.md 中的风格和写作规则
元数据
常见问题
小红书文案改写 是什么?
小红书文案改写能力;当用户需要将文案改写为小红书风格时使用. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 14 次。
如何安装 小红书文案改写?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install xiaohongshu-rewrite」即可一键安装,无需额外配置。
小红书文案改写 是免费的吗?
是的,小红书文案改写 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
小红书文案改写 支持哪些平台?
小红书文案改写 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 小红书文案改写?
由 RedFox(@redfox-data)开发并维护,当前版本 v1.0.0。
推荐 Skills