Automated summary
This skill writes Xiaohongshu note content (title and body), generates image cards from a dedicated Markdown file, and can optionally publish the note.
Strengths
- Combines copywriting, image rendering and publishing in one flow
- Offers 8 layout themes and 4 pagination modes through the render script
- Publishes privately by default so you can review before making it public
- Explicitly requires a separate rendering Markdown instead of reusing the note body
Limitations
- Publishing requires an XHS cookie configured in a .env file
- Parameter details live in references/params.md, which is not included in SKILL.md
- Rendering relies on external Python scripts that are not described here
Use it when you need to quickly produce a complete Xiaohongshu note with visuals and possibly publish it.
Avoid it without a valid XHS cookie, or for social platforms other than Xiaohongshu.
Security analysis
CautionThe skill has a legitimate content-generation and publishing purpose, and it defaults to private posting. However, it invokes local Python scripts, performs external publishing, and handles a sensitive session cookie without declaring allowed tools or showing script internals, so it warrants caution rather than a safe rating.
- •No allowed-tools declared, yet the workflow instructs executing local Python scripts and shell commands.
- •Requires XHS_COOKIE in .env, a sensitive Xiaohongshu account credential; no guidance on secure storage or scoping.
- •publish_xhs.py publishes to an external social platform; --public enables public posting, though private is the default.
- •Referenced scripts (render_xhs.py, publish_xhs.py) are not included, so their actual behavior cannot be audited.
Examples
我这里有一些关于「如何用 Notion 管理读书笔记」的要点,帮我写成一篇小红书笔记,生成手绘风格的封面和正文卡片,先发成仅自己可见。用 playful-geometric 主题、自动分页,把我这份旅行攻略做成小红书图片卡片。内容确认没问题了,用刚生成的 cover.png 和 card_*.png 把这篇笔记公开发布到小红书。name: xhs-note-creator description: 小红书笔记素材创作技能。当用户需要创建小红书笔记素材时使用这个技能。技能包含:根据用户的需求和提供的资料,撰写小红书笔记内容(标题+正文),生成图片卡片(封面+正文卡片),以及发布小红书笔记。支持 8 种精美排版主题和 4 种智能分页模式。
小红书笔记创作技能
根据用户提供的资料或需求,创作小红书笔记内容、生成精美图片卡片,并可选择发布到小红书。
详细参数文档见
references/params.md
工作流程
第一步:撰写小红书笔记内容
根据用户需求和资料,创作符合小红书风格的内容:
标题:不超过 20 字,吸引眼球,可用数字/疑问句/感叹号增强吸引力。
正文:段落清晰,点缀少量 Emoji(每段 1-2 个),短句短段,结尾附 5-10 个 SEO 标签。
第二步:生成渲染用 Markdown 文档
注意:此 Markdown 专为图片渲染设计,禁止直接使用上一步的笔记正文。
文档结构:
---
emoji: "🚀"
title: "封面大标题(≤15字)"
subtitle: "封面副标题(≤15字)"
---
# 正文内容...
---
# 第二张卡片内容...(使用 --- 手动分隔时)
分页策略选择:
- 内容需精确切分 → 用
---手动分隔,配合-m separator - 内容长短不稳定 → 生成普通 Markdown,使用
-m auto-split
第三步:渲染图片卡片
python scripts/render_xhs.py <markdown_file> [options]
默认主题:sketch(手绘素描风格)
默认分页:separator(按 --- 分隔)
常用示例:
# 默认(sketch 主题 + 手动分页)
python scripts/render_xhs.py content.md
# 自动分页(推荐内容长短不定时)
python scripts/render_xhs.py content.md -m auto-split
# 切换主题
python scripts/render_xhs.py content.md -t playful-geometric -m auto-split
# 固定尺寸自动缩放
python scripts/render_xhs.py content.md -m auto-fit
生成结果:cover.png(封面)+ card_1.png、card_2.png...(正文卡片)
可用主题(-t):sketch、default、playful-geometric、neo-brutalism、botanical、professional、retro、terminal
分页模式(-m):separator、auto-fit、auto-split、dynamic
完整参数说明见
references/params.md
第四步:发布小红书笔记(可选)
前置条件:配置好 .env 文件中的 XHS_COOKIE(详见 references/params.md)
# 默认仅自己可见(推荐先预览确认)
python scripts/publish_xhs.py --title "笔记标题" --desc "笔记描述" \
--images cover.png card_1.png card_2.png
# 确认无误后公开发布
python scripts/publish_xhs.py --title "笔记标题" --desc "笔记描述" \
--images cover.png card_1.png card_2.png --public
默认以「仅自己可见」发布,加
--public参数才会公开。
技能资源
脚本
scripts/render_xhs.py— 渲染脚本(主推,8 主题 + 4 分页模式)scripts/render_xhs_v2.py— 渲染脚本 V2(备用,7 种渐变色彩风格)scripts/publish_xhs.py— 发布脚本
模板与样式
assets/cover.html— 封面 HTML 模板assets/card.html— 正文卡片 HTML 模板assets/styles.css— 公共容器样式assets/themes/— 各主题 CSS 文件
参考文档
references/params.md— 完整参数参考(主题/模式/发布参数)
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/xiaohongshu-note-creator-mrwakf1w/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/xiaohongshu-note-creator-mrwakf1w' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/xiaohongshu-note-creator-mrwakf1w/download' --output '.skill-downloads/xiaohongshu-note-creator-mrwakf1w/SKILL.md.part' && mv '.skill-downloads/xiaohongshu-note-creator-mrwakf1w/SKILL.md.part' '.skill-downloads/xiaohongshu-note-creator-mrwakf1w/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/xiaohongshu-note-creator-mrwakf1w/SKILL.md' && test -s '.skill-downloads/xiaohongshu-note-creator-mrwakf1w/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/xhs-note-creator' && cp -R '.skill-downloads/xiaohongshu-note-creator-mrwakf1w' '.claude/skills/xhs-note-creator'Cursor
test -f '.skill-downloads/xiaohongshu-note-creator-mrwakf1w/SKILL.md' && test -s '.skill-downloads/xiaohongshu-note-creator-mrwakf1w/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/xhs-note-creator' && cp -R '.skill-downloads/xiaohongshu-note-creator-mrwakf1w' '.cursor/skills/xhs-note-creator'Codex
test -f '.skill-downloads/xiaohongshu-note-creator-mrwakf1w/SKILL.md' && test -s '.skill-downloads/xiaohongshu-note-creator-mrwakf1w/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/xhs-note-creator' && cp -R '.skill-downloads/xiaohongshu-note-creator-mrwakf1w' '.agents/skills/xhs-note-creator'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/xiaohongshu-note-creator-mrwakf1w'openskills read 'xiaohongshu-note-creator-mrwakf1w'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/xiaohongshu-note-creator-mrwakf1w/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Writing Fragments
Content
Mine raw writing fragments through a relentless interview, without imposing structure. Capture ideas, quotes, and leading words for later use.
UI Copywriting & Auditing
Content
Write or audit user-facing UI copy including buttons, errors, empty states, and tooltips across the monorepo, following the design system source of truth.
Music MIDI Extraction
Content
Extracts the MIDI or score from an existing music production via the CogMusic MCP tool and confirms availability.