Loading...
Loading...
Xiaohongshu Note Material Creation Skill. Use this skill when users need to create Xiaohongshu note materials. The skill includes: writing Xiaohongshu note content (title + body) based on user needs and provided materials, generating image cards (cover + body cards), and publishing Xiaohongshu notes.
npx skill4agent add zrt-ai-lab/opencode-skills xhs-note-creator---
emoji: "🚀" # Cover decorative emoji
title: "Main Title" # Cover main title (no more than 15 characters)
subtitle: "Subtitle Copy" # Cover subtitle (no more than 15 characters)
-------m separator---
emoji: "💡"
title: "5 Efficiency Tools to Boost Work Productivity"
subtitle: "Just copy this and become more efficient together"
---
# 📝 Tool 1: Notion
> All-in-one note-taking tool that supports multiple views like databases, kanban boards, calendars...
## Key Features
- Feature 1
- Feature 2
# ⚡ Tool 2: Raycast
## Reasons for Recommendation
- Reason 1
- Reason 2
- ……
# 🌈 Tool 3: Arc
A browser with a new concept, featuring sidebar tab management...
...
python scripts/render_xhs.py <markdown_file> [options]| Parameter | Short Form | Description | Default Value |
|---|---|---|---|
| | Output directory | Current working directory |
| | Layout theme | |
| | Pagination mode | |
| | Image width | |
| Image height (minimum height in | | |
| Maximum height in | | |
| Device pixel ratio (clarity) | |
--themedefault#f3f3f3 -> #f9f9f9playful-geometricneo-brutalismbotanicalprofessionalretroterminalsketch--modeseparator---auto-fitauto-splitdynamic# 1) Default theme + manual separator pagination
python scripts/render_xhs.py content.md -m separator
# 2) Fixed 1080x1440, auto-scale text to fill the screen as much as possible
python scripts/render_xhs.py content.md -m auto-fit
# 3) Auto-split pagination (Recommended: for content with unstable length)
python scripts/render_xhs.py content.md -m auto-split
# 4) Dynamic height (Allows cards of different heights)
python scripts/render_xhs.py content.md -m dynamic --max-height 4320
# 5) Switch theme
python scripts/render_xhs.py content.md -t playful-geometric -m auto-splitnode scripts/render_xhs.js content.md -t default -m separator--output-dir/-o--theme/-t--mode/-m--width/-w--height--max-height--dprpython scripts/publish_xhs.py --title "Note Title" --desc "Note Description" --images card_1.png card_2.png cover.pngXHS_COOKIE=your_cookie_string_herescripts/render_xhs.pyscripts/render_xhs.jsscripts/publish_xhs.pyassets/cover.htmlassets/card.htmlassets/styles.cssmd2Redbook/pip install xhs