Agent skill

Xhs Writer

by JuneYaooo in JuneYaooo/xhs-writer-skill

生成小红书(RedNote)笔记:把主题或用户提供的素材(文字/图片/视频)做成一套竖版卡片(图文) 或一段带分镜脚本的视频稿(视频),配 caption + hashtags,落盘到 output/小红书/。

Apache-2.0Auto-check: notes

Install Xhs Writer

skills CLI
$ npx skills add JuneYaooo/xhs-writer-skill --skill xhs-writer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install JuneYaooo/xhs-writer-skill xhs-writer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
xhs-writer
GitHub stars
156
Token cost
~2.3k tokens
SKILL.md length
515 words
Files
27 (incl. scripts, references)
Skills in repo
1
Repo updated
First seen
Licence
Apache-2.0

At a glance

生成小红书(RedNote)笔记:把主题或用户提供的素材(文字/图片/视频)做成一套竖版卡片(图文) 或一段带分镜脚本的视频稿(视频),配 caption + hashtags,落盘到 output/小红书/。

  • Works in 11 steps: Intake(必问,一次问完) → 5 — 卖点/亮点分析(推荐执行) → 素材清点(有素材才做) → …
  • SKILL.md covers 核心理念, 工作流, 不要做的事 and 工具依赖, plus 3 more sections
  • Runs Shell scripts from its folder; calls python3; needs OPENAI_API_KEY

What it does

Xhs Writer is an agent skill from JuneYaooo/xhs-writer-skill. 生成小红书(RedNote)笔记:把主题或用户提供的素材(文字/图片/视频)做成一套竖版卡片(图文) 或一段带分镜脚本的视频稿(视频),配 caption + hashtags,落盘到 output/小红书/。 使用时机:用户说 写小红书 / 做小红书笔记 / 小红书图文 / 小红书种草 / 出一套 xhs 卡片 / 小红书视频 / write a Xiaohongshu note / make a RedNote post。

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 30 other files, including scripts and reference files (for example `README.md`, `agents/openclaw.yaml` and `docs/install.md`).

It works with Xiaohongshu. The repository describes itself as: 小红书爆款笔记生成器,基于gpt-image-2,强力超快生成,自然语言修改,超好用!. The licence is Apache-2.0.

Example prompts

  • “/xhs-writer”

Requirements

  • Python 3
  • A Bash shell
  • A credential in OPENAI_API_KEY

Workflow steps

11 steps, taken from the step headings in SKILL.md.

  1. Intake(必问,一次问完)
  2. 5 — 卖点/亮点分析(推荐执行)
  3. 素材清点(有素材才做)
  4. 采集外部参考(观点类 / 资讯类必做;纯素材驱动可跳过)
  5. 写长文原稿(2000-4000 字)
  6. 去 AI 化
  7. 5 — 图生图处理(有真实素材时必做)
  8. 分发:图文 or 视频
  9. caption + hashtags + 标题
  10. 落盘
  11. 校验(强制)

What it can do on your machine

Read from SKILL.md and the folder at commit 6adef3b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • OPENAI_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Xhs Writer loads about 2.3k tokens when it runs, and up to ~16k if it reads all its reference files. Until then it costs about 57 tokens; SKILL.md has 515 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~57
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~16k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:271
    配置:在 `~/.claude/skills/xhs-writer-skill/.env` 填入 `OPENAI_API_KEY`

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from JuneYaooo/xhs-writer-skill at commit 6adef3b, republished under its Apache-2.0 licence (© JuneYaooo). 515 words, ~2,276 tokens.

Download SKILL.mdSave it as .claude/skills/xhs-writer/SKILL.md (or your agent's skills folder). This skill also uses 26 other files; get the full folder from GitHub.
name
xhs-writer
description
生成小红书(RedNote)笔记:把主题或用户提供的素材(文字/图片/视频)做成一套竖版卡片(图文) 或一段带分镜脚本的视频稿(视频),配 caption + hashtags,落盘到 output/小红书/。 使用时机:用户说 写小红书 / 做小红书笔记 / 小红书图文 / 小红书种草 / 出一套 xhs 卡片 / 小红书视频 / write a Xiaohongshu note / make a RedNote post。

xhs-writer — 小红书笔记生成

把一个主题 + (可选)用户素材,生成图文卡片组或短视频脚本,按规范落盘到 output/小红书/。

核心理念

小红书读者看的不是长文,是卡片组或短视频。长文原稿只是中间产物;caption 只是发布配文。

  • 图文帖(image post):3-9 张 9:16 竖版卡片(cover + content × N + ending),每张 ≤80 字中文。
  • 视频帖(video post):一段 15-90 秒竖屏视频脚本 + 封面卡,分镜写在 meta.json.shots 里,视频合成本 skill 不做。
爆款方法论(通用原则)

5大核心原则:

  1. 真实素材优先:项目截图、对比图、演示图 > 纯 AI 生图
  2. 聚焦核心卖点:用公式判断优先级(见 Step 0.5)
  3. 素人感设计:纯色背景 + 大 emoji + 口语化 > 品牌宣传风格
  4. 痛点导向:说"能解决什么问题" > 堆砌功能列表
  5. 快速迭代:V1(60分) → 用户反馈 → V2(70分) → 持续优化

详细方法论:见 references/xiaohongshu-viral-methodology.md

工作流

按顺序执行。不要跳步。

Step 0 — Intake(必问,一次问完)

收到请求后不要动手,先向用户确认以下要点,尽量一条消息问完:

  1. 主题 / 目标读者 / 核心观点
  2. 输出形态:图文 or 视频?(默认图文)
  3. 素材:有没有已有的文字/图片/视频要用?贴路径或拖文件
  4. 风格:简约清新 / 科技感 / ins 风 / 商务 / 文艺复古 / 可爱卡通(默认"简约清新")
  5. 卡片数量 / 视频时长:图文默认 5-7 张;视频默认 30-60 秒
Step 0.5 — 卖点/亮点分析(推荐执行)

触发条件:

  • 推广类:产品、项目、工具、服务
  • 分享类:好物推荐、经验总结、知识科普
  • 测评类:产品对比、使用体验

执行:

  1. 列出所有功能/特性/亮点
  2. 用 AskUserQuestion 让用户打分(每个点):
    • 稀缺性(1-5):别人有吗?独特吗?
    • 实用性(1-5):能解决多大问题?
    • 可感知(1-5):用户能直接看到/感受到吗?
  3. 计算得分 = 稀缺性 × 实用性 × 可感知
  4. 排序,选择 Top 1-2 作为核心卖点/亮点

输出:

markdown
## 卖点/亮点分析结果

| 点 | 稀缺性 | 实用性 | 可感知 | 得分 | 优先级 |
|---|---|---|---|---|---|
| 亮点A | 5 | 5 | 5 | 125 | 🥇 核心 |
| 亮点B | 2 | 3 | 3 | 18 | 🥉 辅助 |

**核心卖点/亮点**:亮点A(聚焦这个,其他作为辅助)

参考:references/xiaohongshu-viral-methodology.md 第2节

Step 1 — 素材清点(有素材才做)

如果用户提供了素材路径,先跑脚本生成清单,再由 AI 用多模态能力填描述:

bash
python3 scripts/analyze_material.py <path>... \
  --out <work-dir>/reference/materials.json \
  --frames-dir <work-dir>/reference/frames

脚本只做确定性预处理(分类、取分辨率/时长、抽帧)。AI 随后用视觉能力 打开 materials.json 里每条 image/frame,填 caption 和 usage(cover / content-N / ending / reference)。详见 references/material-intake.md。

素材分类(按价值排序):

  1. 对比图(最有价值):before/after、input/output、不同版本对比
  2. 功能演示:界面截图、操作流程图、效果展示
  3. 数据图表:性能对比、用户增长、功能覆盖
  4. 品牌素材:Logo、配色方案、官方截图

素材使用策略:

  • ✅ 优先级:真实素材 > 图生图 > 代码叠加 > 纯 AI 生图
  • ✅ 对比图:用图生图(保留真实感 + 叠加小红书风格文字)
  • ✅ 纯文字卡片:用 AI 生图(素人感设计)
  • ❌ 避免:所有卡片都用纯 AI 生图(缺少真实感)

参考:references/xiaohongshu-viral-methodology.md 第3节

Step 2 — 采集外部参考(观点类 / 资讯类必做;纯素材驱动可跳过)

按 references/reference-search.md 执行,结果写入同一 reference/ 目录。核心数据 ≥2 个来源交叉验证。

Step 3 — 写长文原稿(2000-4000 字)

从 H2 开始(不写 H1;标题入 meta.json.title)。写完先给用户看,确认主旨再继续,不要直接跳到卡片/分镜。反模式清单以 references/humanizer-zh.md 为准。

Step 4 — 去 AI 化

读 references/humanizer-zh.md 五层原则,完整扫描重写原稿,给出质量评分(满分 50)。

Step 4.5 — 图生图处理(有真实素材时必做)

触发条件:Step 1 发现了对比图、功能演示等高价值素材

工具:gpt-image-2 图生图(需要 OpenAI API key)

执行:

python
# 使用本项目的 image_generator
import sys
sys.path.insert(0, '~/.claude/skills/xhs-writer-skill/scripts')
from image_generator import GptImage2Generator

generator = GptImage2Generator(aspect_ratio="9:16")

# 图生图:保留真实素材 + 叠加小红书风格文字
generator.generate_scene_image(
    scene_data={
        'index': 1,
        'image_prompt': """Based on the reference image, create a Xiaohongshu style card, 9:16 vertical.

Keep the original image visible.

Add overlays:
- Top: "{标题}"
- Bottom: "{引导文字}"

Style:
- Keep original clear
- Casual Xiaohongshu style
- Authentic feel"""
    },
    output_path='output.jpg',
    size='auto',
    reference_image_path='material.jpg'
)

Prompt 模板:见 references/xiaohongshu-viral-methodology.md 附录C

失败处理:

  1. 重试 1 次
  2. 降低图片分辨率(max 1024px)
  3. 改用代码叠加文字(scripts/text_on_image.py)
Step 5 — 分发:图文 or 视频
5A. 图文帖:拆成 3-9 张卡片
  • 结构:cover(第 1 张) + content(中间若干) + ending(最后 1 张)
  • 每张 ≤80 字(title + content 合计,代码点计数)
  • 一张卡只讲一个论点;数字 / 对比 / 金句优先上卡
  • 全套卡片 emoji 风格与配色保持一致

每张卡选一种 合成策略(写入 cards[i].synthesis_strategy),五选一。详见 references/material-intake.md:

strategy适用工具优先级
img2img有真实素材(对比图/演示图)gpt-image-2 图生图🥇 最佳
text_on_photo有 1 张合适照片 + 一句钩子scripts/text_on_image.py🥈 次选
collage有 2-4 张互补照片scripts/collage_3x4.py🥉 可用
pure_text无素材,纯文字卡AI 生图(素人感)✅ 常用
ai_generated概念图 / 数据图用户自备 t2i 服务⚠️ 慎用

策略选择原则:

  • ✅ 有真实素材 → 优先 img2img(保留真实感)
  • ✅ 纯文字卡片 → 用 pure_text(素人感设计)
  • ❌ 避免所有卡片都用 ai_generated(广告感强)

素材有水印 → 先跑 scripts/crop_watermark.py 或按 references/image-sourcing.md 处理。

5B. 视频帖:写分镜脚本
  • 写 6-12 个分镜,每镜 2-8 秒,累计时长对齐用户预期
  • 每镜含:narration(口播,≤30 字)、on_screen_text(屏幕字,≤15 字)、visual(画面描述)、material_ref(若引用 materials.json 里某条素材)
  • 仍要出一张 cover 卡(3:4)作为封面;视频本体由用户侧工具合成,本 skill 只产脚本

字段结构见 references/meta-schema.md 的 shots[] 定义。

Show full SKILL.md (196 more words)Show less
Step 6 — caption + hashtags + 标题

标题生成(5种公式):

  1. 痛点+解决方案:{具体痛点}?{解决方案}
    • 适用:有明确痛点的工具/产品
  2. 提问式:有没有那种{功能描述}的{产品类型}?
    • 适用:新工具推荐、功能发现
  3. 发现式:我发现了个宝藏!{核心价值}
    • 适用:兴奋分享、好物推荐
  4. 热点词:{热点词}爆火后,我用它做了{场景}
    • 适用:蹭热点、技术类产品
  5. 身份共鸣:{身份标签}必备!{核心功能}
    • 适用:有明确目标人群的产品

参考:references/xiaohongshu-viral-methodology.md 附录F

caption:

  • 100-300 字,hook 开头(数字/提问/惊叹) → 关键信息 → 行动号召(点赞/收藏/关注)
  • 带 emoji,闺蜜语气
  • 结构:痛点共鸣 → 解决方案 → 具体功能 → 真实案例 → CTA
  • 避免:堆砌功能、正式文案、广告感

hashtags:

  • 5-8 个,与主题强相关
  • 核心标签(4个):热点词 + 核心功能 + 差异化卖点 + 目标人群
  • 辅助标签(4个):场景词 + 品类词
  • 避免 #生活 等过度泛化标签

只写进 meta.json,不粘进卡片或正文

Step 7 — 落盘

目录与命名规则见 references/output-spec.md。

output/小红书/{YYYY-MM-DD}/{短标题}_{YYYYMMDDHHmm}/
├── {完整标题}.md        # 长文原稿
├── meta.json            # 元数据(卡片 / 分镜 / caption / hashtags / materials)
├── images/              # (图文)最终卡图 / (视频)封面
└── reference/           # materials.json / 搜索结果 / summary / 思考过程

目录短标题与时间戳必须走脚本标准化,别手写:

bash
python3 scripts/normalize_slug.py "原始长标题" --with-ts

meta.json 完整字段定义见 references/meta-schema.md。

Step 8 — 校验(强制)

写完 meta.json 后必须跑:

bash
python3 scripts/validate_meta.py <work-dir>/meta.json

非 0 退出 → 读报错修 meta.json 再跑,直到 clean。不要把未校验的产物交给用户。

不要做的事

  • 不写 H1;标题只放 meta.json.title
  • 不在正文末尾写"参考来源 / References";只落到 reference/
  • 不在 .md 里留 【插入图片:...】 占位符;图片同步下载 + 引用相对路径
  • 不跳过 Step 4(去 AI 化)和 Step 8(validate)
  • 不自己手算目录名 / 时间戳,一律走 normalize_slug.py

工具依赖

必需工具
  • Python 3.8+
  • PIL (Pillow)
可选工具
  • OpenAI API key(用于图生图,推荐)
    • 配置:在 ~/.claude/skills/xhs-writer-skill/.env 填入 OPENAI_API_KEY
    • 没有 API key 也能用,会生成纯文字卡片
图生图使用
python
# 添加路径
import sys
sys.path.insert(0, '~/.claude/skills/xhs-writer-skill/scripts')
from image_generator import GptImage2Generator

# 初始化
generator = GptImage2Generator(aspect_ratio="9:16")

# 生成
generator.generate_scene_image(
    scene_data={'index': 1, 'image_prompt': '...'},
    output_path='output.jpg',
    size='auto',
    reference_image_path='material.jpg'  # 图生图模式
)

参考资料

核心方法论
  • references/xiaohongshu-viral-methodology.md:完整爆款方法论
    • 卖点优先级判断公式
    • 素材使用策略(优先级排序)
    • 爆款卡片结构(标准6-7张)
    • 文案公式库(5种标题公式)
    • 视觉风格指南(素人感 vs 精美设计)
    • 图生图 Prompt 模板(3种场景)
    • 常见错误清单(5大错误 + 解决方案)
    • 工具使用指南
其他参考
  • references/humanizer-zh.md:去 AI 化原则
  • references/material-intake.md:素材处理流程
  • references/image-sourcing.md:图片来源处理
  • references/meta-schema.md:元数据字段定义
  • references/output-spec.md:输出目录规范

快速开始

场景1:推广产品/项目
bash
# 用户说:"帮我推广这个项目 /path/to/project"

# Step 0.5: 卖点分析
# → 列出功能,让用户打分(稀缺性×实用性×可感知)
# → 选出核心卖点

# Step 1: 素材盘点
# → 扫描项目截图、对比图、演示图
# → 分类:对比图(最有价值)> 功能演示 > 其他

# Step 4.5: 图生图
# → 对比图用图生图(保留真实感 + 小红书风格)
# → 纯文字卡片用 AI 生图(素人感)

# Step 6: 生成标题(5个选项)
# → 痛点式、提问式、发现式、热点词、身份共鸣

# 输出:6-7张卡片 + caption + hashtags
场景2:好物分享/经验总结
bash
# 用户说:"写一条关于 XX 好物推荐的小红书笔记"

# Step 0: Intake
# → 确认主题、目标读者、输出形态

# Step 0.5: 亮点分析
# → 这个好物的核心亮点是什么?

# Step 1: 素材盘点
# → 产品图、使用场景图、效果对比图

# Step 3-4: 写长文 + 去 AI 化

# Step 5: 拆成卡片
# → 封面(提问/发现式)+ 亮点展示 + 使用场景 + 真实体验 + CTA

# 输出:5-7张卡片 + caption + hashtags
场景3:知识科普/教程
bash
# 用户说:"写一条关于 XX 知识的小红书笔记"

# Step 0: Intake
# → 确认主题、目标读者、知识点

# Step 2: 采集外部参考
# → 搜索相关资料,交叉验证

# Step 3-4: 写长文 + 去 AI 化

# Step 5: 拆成卡片(纯文字)
# → 用 AI 生图(素人感设计)
# → 结构:封面 + 核心概念 + 步骤/要点 + 注意事项 + CTA

# Step 6: caption + hashtags

# 输出:5-7张卡片 + caption + hashtags

常见问题

Q1:什么时候用图生图?

A:有真实素材(对比图、演示图、截图)时优先用图生图。效果:真实感 > 代码叠加 > 纯 AI 生图。

Q2:如何判断卖点优先级?

A:用公式 优先级 = 稀缺性(1-5) × 实用性(1-5) × 可感知(1-5),选择得分最高的 1-2 个作为核心卖点。

Q3:封面选哪种风格?

A:

  • 有明确痛点 → 痛点式
  • 新工具推荐 → 提问式
  • 好物分享 → 发现式
  • 蹭热点 → 热点词式
  • 明确人群 → 身份共鸣式
Q4:图生图失败怎么办?

A:三级降级策略

  1. 重试 1 次
  2. 降低图片分辨率(max 1024px)
  3. 改用代码叠加文字(scripts/text_on_image.py)
Q5:需要多少张卡片?

A:

  • 最少:3张(封面 + 核心卖点 + CTA)
  • 标准:6张(封面 + 卖点 + 功能 + 人群 + 案例 + CTA)
  • 完整:7张(+ 开源地址/官方链接)

更新时间:2026-04-25 适用场景:产品推广、好物分享、知识科普、经验总结、测评对比等各类小红书内容

© JuneYaooo, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 26 other files (scripts, references) in the repository root of JuneYaooo/xhs-writer-skill.

  • SKILL.md
  • .env.example
  • .gitignore
  • LICENSE
  • README.md
  • agents/openclaw.yaml
  • docs/assets/demo-comparison.jpg
  • docs/assets/demo-styles.jpg
  • docs/assets/input-github-screenshot.jpg
  • docs/assets/input-style-gallery.jpg
  • docs/install.md
  • install_as_skill.sh
  • references/humanizer-zh.md
  • references/image-sourcing.md
  • references/material-intake.md
  • references/meta-schema.md
  • references/output-spec.md
  • … and 10 more

Open the folder on GitHubat commit 6adef3b

Compare with similar skills

Xhs Writer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Xhs Writer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Xhs Writer this skillJuneYaooo/xhs-writer-skill156—~2.3kAutomated safety check: NotesApache-2.0
Agent ReachPanniantong/Agent-Reach95k—~1.4kAutomated safety check: PassMIT
Guizang Social Cardsop7418/guizang-social-card-skill7.4k1 repos~7.8kAutomated safety check: PassAGPL-3.0
Yuwen Publish Precheckyuwen-cool/yuwen-publish-precheck7771 repos~1.8kAutomated safety check: PassMIT
Video Podcast MakerAgents365-ai/video-podcast-maker1.7k—~4.9kAutomated safety check: PassMIT
Xhs Note Creatorcomeonzhj/Auto-Redbook-Skills2.3k—~580Automated safety check: NotesNone

Similar skills

  • Agent Reach

    Panniantong/Agent-Reach

    Routes web research and platform lookups across 16 sites, including Twitter, Reddit, YouTube, Bilibili, Xiaohongshu and GitHub, through one command-line tool.

    95k GitHub stars~1.4k tokensUpdated 2 days ago
    Productivity & AutomationAuto-check passed
  • Guizang Social Cards

    op7418/guizang-social-card-skill

    Produces social card sets for Xiaohongshu and WeChat: carousels, Live Photo motion cards and puzzle layouts, and WeChat cover pairs, rendered from single-file HTML.

    7.4k GitHub starsUsed in 1 repo~7.8k tokens
    Media & CreativeAuto-check passed
  • Yuwen Publish Precheck

    yuwen-cool/yuwen-publish-precheck

    国内自媒体发布前风险自审与保意修复:审口播稿、文章、图文笔记、字幕、封面文字能不能发抖音/小红书/微信视频号,给出具体位置、依据和可直接替换的改稿;被限流/删除/处罚后帮你复盘归因;你的行业敏感词、误报白名单和踩坑案例会沉淀成个人规则库,越用越准。Use when…

    777 GitHub starsUsed in 1 repo~1.8k tokens
    Productivity & AutomationAuto-check passed
  • Video Podcast Maker

    Agents365-ai/video-podcast-maker

    A skill your agent uses when the user gives a topic and wants an automated topic-driven narrated explainer, podcast, or knowledge-summary video (Bilibili / YouTube / Xiaohongshu / Douyin / WeChat…

    1.7k GitHub stars~4.9k tokensUpdated 9 days ago
    Media & CreativeAuto-check passed
  • Xhs Note Creator

    comeonzhj/Auto-Redbook-Skills

    小红书笔记素材创作技能。当用户需要创建小红书笔记素材时使用这个技能。技能包含:根据用户的需求和提供的资料,撰写小红书笔记内容(标题+正文),生成图片卡片(封面+正文卡片),以及发布小红书笔记。支持 8 种精美排版主题和 4 种智能分页模式。

    2.3k GitHub stars~580 tokensUpdated 1 mo ago
    Auto-check: notes
  • Xhs Virtual Product

    chenjin-cmd/xhs-virtual-product

    This skill helps plan, select, produce, and market Xiaohongshu (RED) virtual/digital products — templates, knowledge bases, test tools, study materials.

    729 GitHub stars~862 tokensUpdated 10 days ago
    Knowledge ManagementAuto-check passed

Works with

Questions about Xhs Writer

What does Xhs Writer do?

生成小红书(RedNote)笔记:把主题或用户提供的素材(文字/图片/视频)做成一套竖版卡片(图文) 或一段带分镜脚本的视频稿(视频),配 caption + hashtags,落盘到 output/小红书/。. Xhs Writer is an agent skill from JuneYaooo/xhs-writer-skill.

How do I install Xhs Writer in Claude Code?

Run `npx skills add JuneYaooo/xhs-writer-skill --skill xhs-writer -a claude-code`. Or copy the skill folder (the JuneYaooo/xhs-writer-skill repository) into .claude/skills/xhs-writer in your project. Claude Code loads it when a task matches its description.

How do I install Xhs Writer in Codex?

Run `npx skills add JuneYaooo/xhs-writer-skill --skill xhs-writer -a codex`. Or copy the skill folder (the JuneYaooo/xhs-writer-skill repository) into .agents/skills/xhs-writer in your project. Codex loads it when a task matches its description.

Can I use Xhs Writer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add JuneYaooo/xhs-writer-skill --skill xhs-writer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/xhs-writer, .gemini/skills/xhs-writer, .github/skills/xhs-writer and .opencode/skills/xhs-writer in your project.

What does Xhs Writer need to run?

Going by SKILL.md and its folder, Xhs Writer needs a shell for the scripts in its folder, the command-line tools its instructions call (python3) and credentials named OPENAI_API_KEY. Our summary lists: Python 3; A Bash shell; A credential in OPENAI_API_KEY.

Does Xhs Writer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Xhs Writer safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Xhs Writer use?

Xhs Writer is published under the Apache-2.0 licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Xhs Writer use?

About 2.3k tokens (SKILL.md is roughly 9.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 14k tokens, read only when the agent opens those files.

What are the alternatives to Xhs Writer?

Skills that share tags, products or a category with Xhs Writer: Agent Reach (Panniantong/Agent-Reach, 95k stars), Guizang Social Cards (op7418/guizang-social-card-skill, 7.4k stars), Yuwen Publish Precheck (yuwen-cool/yuwen-publish-precheck, 777 stars) and Video Podcast Maker (Agents365-ai/video-podcast-maker, 1.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Xhs Writer?

JuneYaooo (a GitHub user) maintains it in JuneYaooo/xhs-writer-skill, which has 156 GitHub stars. The repository was last updated on April 25, 2026.

Source: JuneYaooo/xhs-writer-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.