Skip to content
Agentmart
Submit a tool

小红书笔记创作

小红书笔记素材创作技能。当用户需要创建小红书笔记素材时使用这个技能。技能包含:根据用户的需求和提供的资料,撰写小红书笔记内容(标题+正文),生成图片卡片(封面+正文卡片),以及发布小红书笔记。

Skill by laborany

IndexedMIT★ 86
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/laborany-c12dfd

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

小红书笔记素材创作技能。当用户需要创建小红书笔记素材时使用这个技能。技能包含:根据用户的需求和提供的资料,撰写小红书笔记内容(标题+正文),生成图片卡片(封面+正文卡片),以及发布小红书笔记。

Use cases: productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/xhs-note-creator

What's inside

Skill name
小红书笔记创作
Description
小红书笔记素材创作技能。当用户需要创建小红书笔记素材时使用这个技能。技能包含:根据用户的需求和提供的资料,撰写小红书笔记内容(标题+正文),生成图片卡片(封面+正文卡片),以及发布小红书笔记。
License
MIT
Instructions
209 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Agent Skills spec issues

  • name: only lowercase letters, digits and single hyphens allowed
  • name: "小红书笔记创作" does not match folder "xhs-note-creator"

Files (18)

  • SKILL.md
  • card.html · assets/
  • cover.html · assets/
  • example.md · assets/
  • styles.css · assets/
  • botanical.css · assets/themes/
  • default.css · assets/themes/
  • neo-brutalism.css · assets/themes/
  • playful-geometric.css · assets/themes/
  • professional.css · assets/themes/
  • retro.css · assets/themes/
  • sketch.css · assets/themes/
  • terminal.css · assets/themes/
  • package.json
  • requirements.txt
  • publish_xhs.py · scripts/
  • render_xhs.js · scripts/
  • render_xhs.py · scripts/

SKILL.md (first lines)

# 小红书笔记创作技能

这个技能用于创建专业的小红书笔记素材,包括内容撰写、图片卡片生成和笔记发布。

## 使用场景

- 用户需要创建小红书笔记时
- 用户提供资料需要转化为小红书风格内容时
- 用户需要生成精美的图片卡片用于发布时

## 工作流程

### 第一步:撰写小红书笔记内容

根据用户需求和提供的资料,创作符合小红书风格的内容:

#### 标题要求
- 不超过 20 字
- 吸引眼球,制造好奇心
- 可使用数字、疑问句、感叹号增强吸引力
- 示例:「5个让效率翻倍的神器推荐!」「震惊!原来这样做才对」

#### 正文要求
- 使用良好的排版,段落清晰
- 点缀少量 Emoji 增加可读性(每段 1-2 个即可)
- 使用简短的句子和段落
- 结尾给出 SEO 友好的 Tags 标签(5-10 个相关标签)

### 第二步:生成 Markdown 文档

**注意:这里生成的 Markdown 文档是用于渲染卡片的,必须专门生成,禁止直接使用上一步的笔记正文内容。**

Markdown 文件,文件应包含:

1. YAML 头部元数据(封面信息):
```yaml
---
emoji: "🚀"           # 封面装饰 Emoji
title: "大标题"        # 封面大标题(不超过15字)
subtitle: "副标题文案"  # 封面副标题(不超过15字)
---
```

2. 用于渲染卡片的 Markdown 文本内容:
   - 当待渲染内容必须严格切分为独立的数张图片时,可使用 `---` 分割线主动将正文分隔为多个卡片段落(每个段落文本控制在 200 字左右),输出图片时使用参数`-m separator`
   - 当待渲染内容无需严格分割,生成正常 Markdown 文本即可,跟下方分页模式参数规则按需选择

完整 Markdown 文档内容示例:

```markdown
---
emoji: "💡"
title: "5个效率神器让工作效率翻倍"
subtitle: "对着抄作业就好了,一起变高效"
---

# 📝 神器一:Notion

> 全能型笔记工具,支持数据库、看板、日历等多种视图...

## 特色功能

- 特色一
- 特色二

# ⚡ 神器二:Raycast

\`\`\`
可使用代码块来增加渲染后图片的视觉丰富度
\`\`\`

## 推荐原因

- 原因一
- 原因二
- ……


# 🌈 神器三:Arc

全新理念的浏览器,侧边栏标签管理...

...

```

### 第三步:渲染图片卡片

将 Markdown 文档渲染为图片卡片。使用以下脚本渲染:

```bash
python scripts/render_xhs.py <markdown_file> [options]
```

- 默认输出目录为当前工作目录
- 生成的图片包括:封面(cover.png)和正文卡片(card_1.png, card_2.png, ...)

#### 渲染参数(Python)

| 参数 | 简写 | 说明 | 默认值 |
|---|---|---|---|
| `--output-dir` | `-o` | 输出目录 | 当前工作目录 |
| `--theme` | `-t` | 排版主题 | `default` |
| `--mode` | `-m` | 分页模式 | `separator` |
| `--width` | `-w` | 图片宽度 | `1080` |
| `--height` |  | 图片高度(`dynamic` 下为最小高度) | `1440` |
| `--max-height` |  | `dynamic` 最大高度 | `4320` |
| `--dpr` |  | 设备像素比(清晰度) | `2` |

#### 排版主题(`--theme`)

- `default`:默认简约浅灰渐变背景(`#f3f3f3 -> #f9f9f9`)
- `playful-geometric`:活泼几何(Memphis)
- `neo-brutalism`:新粗野主义
- `botanical`:植物园自然
- `professional`:专业商务
- `retro`:复古怀旧
- `terminal`:终端命令行
- `sketch`:手绘素描

From laborany/laborany, MIT.

More from laborany/laborany

Signals

Stars
86
Forks
9
Open issues
2
Last commit (this folder)
Feb 12, 2026 (8 months ago)
Last release
May 16, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from laborany

Cite this page

小红书笔记创作 skill. Agent Mart. https://agentmart.dev/skills/laborany-c12dfd (last updated 2026-10-24)