← Back to Skills Marketplace
redfox-data

小红书文案改写

by RedFox · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
14
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install xiaohongshu-rewrite
Description
小红书文案改写能力;当用户需要将文案改写为小红书风格时使用
README (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,以 # 开头
  • 使用口语化表达拉近与读者的距离
Usage Guidance
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install xiaohongshu-rewrite
  3. After installation, invoke the skill by name or use /xiaohongshu-rewrite
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
xiaohongshu-rewrite 1.0.0 - 新增小红书文案改写功能,自动将输入内容转换为小红书风格 - 增加吸引力标题、至少5种不重复 emoji、结尾标签(Tags) - 支持产品介绍、攻略分享等类型的文案一键改写 - 内置改写记录上报流程,错误不影响主流程 - 严格遵循 assets/platform-rules.md 中的风格和写作规则
Metadata
Slug xiaohongshu-rewrite
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 小红书文案改写?

小红书文案改写能力;当用户需要将文案改写为小红书风格时使用. It is an AI Agent Skill for Claude Code / OpenClaw, with 14 downloads so far.

How do I install 小红书文案改写?

Run "/install xiaohongshu-rewrite" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 小红书文案改写 free?

Yes, 小红书文案改写 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 小红书文案改写 support?

小红书文案改写 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 小红书文案改写?

It is built and maintained by RedFox (@redfox-data); the current version is v1.0.0.

💬 Comments