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.
生成小红书(RedNote)笔记:把主题或用户提供的素材(文字/图片/视频)做成一套竖版卡片(图文) 或一段带分镜脚本的视频稿(视频),配 caption + hashtags,落盘到 output/小红书/。
$ npx skills add JuneYaooo/xhs-writer-skill --skill xhs-writer -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install JuneYaooo/xhs-writer-skill xhs-writer --agent claude-codeProject 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/
Install the "xhs-writer" agent skill from https://github.com/JuneYaooo/xhs-writer-skill/tree/main into .claude/skills/xhs-writer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xhs-writer", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add JuneYaooo/xhs-writer-skill --skill xhs-writer -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install JuneYaooo/xhs-writer-skill xhs-writer --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "xhs-writer" agent skill from https://github.com/JuneYaooo/xhs-writer-skill/tree/main into .agents/skills/xhs-writer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xhs-writer", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add JuneYaooo/xhs-writer-skill --skill xhs-writer -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install JuneYaooo/xhs-writer-skill xhs-writer --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "xhs-writer" agent skill from https://github.com/JuneYaooo/xhs-writer-skill/tree/main into .cursor/skills/xhs-writer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xhs-writer", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add JuneYaooo/xhs-writer-skill --skill xhs-writer -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install JuneYaooo/xhs-writer-skill xhs-writer --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "xhs-writer" agent skill from https://github.com/JuneYaooo/xhs-writer-skill/tree/main into .gemini/skills/xhs-writer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xhs-writer", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install JuneYaooo/xhs-writer-skill xhs-writerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add JuneYaooo/xhs-writer-skill --skill xhs-writer -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "xhs-writer" agent skill from https://github.com/JuneYaooo/xhs-writer-skill/tree/main into .github/skills/xhs-writer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xhs-writer", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add JuneYaooo/xhs-writer-skill --skill xhs-writer -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install JuneYaooo/xhs-writer-skill xhs-writer --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "xhs-writer" agent skill from https://github.com/JuneYaooo/xhs-writer-skill/tree/main into .opencode/skills/xhs-writer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xhs-writer", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
xhs-writer生成小红书(RedNote)笔记:把主题或用户提供的素材(文字/图片/视频)做成一套竖版卡片(图文) 或一段带分镜脚本的视频稿(视频),配 caption + hashtags,落盘到 output/小红书/。
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.
11 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 6adef3b. It shows what the files ask for, not the result of running them.
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.
Ships 1 file in scripts/ (Shell, from the files we listed), which the agent can run.
Shell commands in SKILL.md call:
python3From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
OPENAI_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
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.
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.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
配置:在 `~/.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.
The full file from JuneYaooo/xhs-writer-skill at commit 6adef3b, republished under its Apache-2.0 licence (© JuneYaooo). 515 words, ~2,276 tokens.
.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.把一个主题 + (可选)用户素材,生成图文卡片组或短视频脚本,按规范落盘到 output/小红书/。
小红书读者看的不是长文,是卡片组或短视频。长文原稿只是中间产物;caption 只是发布配文。
meta.json.shots 里,视频合成本 skill 不做。5大核心原则:
详细方法论:见 references/xiaohongshu-viral-methodology.md
按顺序执行。不要跳步。
收到请求后不要动手,先向用户确认以下要点,尽量一条消息问完:
触发条件:
执行:
输出:
## 卖点/亮点分析结果
| 点 | 稀缺性 | 实用性 | 可感知 | 得分 | 优先级 |
|---|---|---|---|---|---|
| 亮点A | 5 | 5 | 5 | 125 | 🥇 核心 |
| 亮点B | 2 | 3 | 3 | 18 | 🥉 辅助 |
**核心卖点/亮点**:亮点A(聚焦这个,其他作为辅助)参考:references/xiaohongshu-viral-methodology.md 第2节
如果用户提供了素材路径,先跑脚本生成清单,再由 AI 用多模态能力填描述:
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。
素材分类(按价值排序):
素材使用策略:
参考:references/xiaohongshu-viral-methodology.md 第3节
按 references/reference-search.md 执行,结果写入同一 reference/ 目录。核心数据 ≥2 个来源交叉验证。
从 H2 开始(不写 H1;标题入 meta.json.title)。写完先给用户看,确认主旨再继续,不要直接跳到卡片/分镜。反模式清单以 references/humanizer-zh.md 为准。
读 references/humanizer-zh.md 五层原则,完整扫描重写原稿,给出质量评分(满分 50)。
触发条件:Step 1 发现了对比图、功能演示等高价值素材
工具:gpt-image-2 图生图(需要 OpenAI API key)
执行:
# 使用本项目的 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
失败处理:
scripts/text_on_image.py)cover(第 1 张) + content(中间若干) + ending(最后 1 张)title + content 合计,代码点计数)每张卡选一种 合成策略(写入 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 处理。
narration(口播,≤30 字)、on_screen_text(屏幕字,≤15 字)、visual(画面描述)、material_ref(若引用 materials.json 里某条素材)cover 卡(3:4)作为封面;视频本体由用户侧工具合成,本 skill 只产脚本字段结构见 references/meta-schema.md 的 shots[] 定义。
标题生成(5种公式):
{具体痛点}?{解决方案}有没有那种{功能描述}的{产品类型}?我发现了个宝藏!{核心价值}{热点词}爆火后,我用它做了{场景}{身份标签}必备!{核心功能}参考:references/xiaohongshu-viral-methodology.md 附录F
caption:
hashtags:
#生活 等过度泛化标签只写进 meta.json,不粘进卡片或正文
目录与命名规则见 references/output-spec.md。
output/小红书/{YYYY-MM-DD}/{短标题}_{YYYYMMDDHHmm}/
├── {完整标题}.md # 长文原稿
├── meta.json # 元数据(卡片 / 分镜 / caption / hashtags / materials)
├── images/ # (图文)最终卡图 / (视频)封面
└── reference/ # materials.json / 搜索结果 / summary / 思考过程目录短标题与时间戳必须走脚本标准化,别手写:
python3 scripts/normalize_slug.py "原始长标题" --with-tsmeta.json 完整字段定义见 references/meta-schema.md。
写完 meta.json 后必须跑:
python3 scripts/validate_meta.py <work-dir>/meta.json非 0 退出 → 读报错修 meta.json 再跑,直到 clean。不要把未校验的产物交给用户。
meta.json.titlereference/.md 里留 【插入图片:...】 占位符;图片同步下载 + 引用相对路径normalize_slug.py~/.claude/skills/xhs-writer-skill/.env 填入 OPENAI_API_KEY# 添加路径
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:完整爆款方法论references/humanizer-zh.md:去 AI 化原则references/material-intake.md:素材处理流程references/image-sourcing.md:图片来源处理references/meta-schema.md:元数据字段定义references/output-spec.md:输出目录规范# 用户说:"帮我推广这个项目 /path/to/project"
# Step 0.5: 卖点分析
# → 列出功能,让用户打分(稀缺性×实用性×可感知)
# → 选出核心卖点
# Step 1: 素材盘点
# → 扫描项目截图、对比图、演示图
# → 分类:对比图(最有价值)> 功能演示 > 其他
# Step 4.5: 图生图
# → 对比图用图生图(保留真实感 + 小红书风格)
# → 纯文字卡片用 AI 生图(素人感)
# Step 6: 生成标题(5个选项)
# → 痛点式、提问式、发现式、热点词、身份共鸣
# 输出:6-7张卡片 + caption + hashtags# 用户说:"写一条关于 XX 好物推荐的小红书笔记"
# Step 0: Intake
# → 确认主题、目标读者、输出形态
# Step 0.5: 亮点分析
# → 这个好物的核心亮点是什么?
# Step 1: 素材盘点
# → 产品图、使用场景图、效果对比图
# Step 3-4: 写长文 + 去 AI 化
# Step 5: 拆成卡片
# → 封面(提问/发现式)+ 亮点展示 + 使用场景 + 真实体验 + CTA
# 输出:5-7张卡片 + caption + hashtags# 用户说:"写一条关于 XX 知识的小红书笔记"
# Step 0: Intake
# → 确认主题、目标读者、知识点
# Step 2: 采集外部参考
# → 搜索相关资料,交叉验证
# Step 3-4: 写长文 + 去 AI 化
# Step 5: 拆成卡片(纯文字)
# → 用 AI 生图(素人感设计)
# → 结构:封面 + 核心概念 + 步骤/要点 + 注意事项 + CTA
# Step 6: caption + hashtags
# 输出:5-7张卡片 + caption + hashtagsA:有真实素材(对比图、演示图、截图)时优先用图生图。效果:真实感 > 代码叠加 > 纯 AI 生图。
A:用公式 优先级 = 稀缺性(1-5) × 实用性(1-5) × 可感知(1-5),选择得分最高的 1-2 个作为核心卖点。
A:
A:三级降级策略
scripts/text_on_image.py)A:
更新时间: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
SKILL.md and 26 other files (scripts, references) in the repository root of JuneYaooo/xhs-writer-skill.
Open the folder on GitHubat commit 6adef3b
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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Xhs Writer this skillJuneYaooo/xhs-writer-skill | 156 | — | ~2.3k | Automated safety check: Notes | Apache-2.0 | |
| Agent ReachPanniantong/Agent-Reach | 95k | — | ~1.4k | Automated safety check: Pass | MIT | |
| Guizang Social Cardsop7418/guizang-social-card-skill | 7.4k | 1 repos | ~7.8k | Automated safety check: Pass | AGPL-3.0 | |
| Yuwen Publish Precheckyuwen-cool/yuwen-publish-precheck | 777 | 1 repos | ~1.8k | Automated safety check: Pass | MIT | |
| Video Podcast MakerAgents365-ai/video-podcast-maker | 1.7k | — | ~4.9k | Automated safety check: Pass | MIT | |
| Xhs Note Creatorcomeonzhj/Auto-Redbook-Skills | 2.3k | — | ~580 | Automated safety check: Notes | None |
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.
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.
yuwen-cool/yuwen-publish-precheck
国内自媒体发布前风险自审与保意修复:审口播稿、文章、图文笔记、字幕、封面文字能不能发抖音/小红书/微信视频号,给出具体位置、依据和可直接替换的改稿;被限流/删除/处罚后帮你复盘归因;你的行业敏感词、误报白名单和踩坑案例会沉淀成个人规则库,越用越准。Use when…
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…
comeonzhj/Auto-Redbook-Skills
小红书笔记素材创作技能。当用户需要创建小红书笔记素材时使用这个技能。技能包含:根据用户的需求和提供的资料,撰写小红书笔记内容(标题+正文),生成图片卡片(封面+正文卡片),以及发布小红书笔记。支持 8 种精美排版主题和 4 种智能分页模式。
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.
Works with
生成小红书(RedNote)笔记:把主题或用户提供的素材(文字/图片/视频)做成一套竖版卡片(图文) 或一段带分镜脚本的视频稿(视频),配 caption + hashtags,落盘到 output/小红书/。. Xhs Writer is an agent skill from JuneYaooo/xhs-writer-skill.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.