Index of every page on this site: llms.txt
All skills
erafat avatar

/xhs-note-creator

@3930f9f
by ERerafat/skills17 stars
1
Run it yourself

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

Use this Skill: https://skilld.dev/gh/erafat/skills/xhs-note-creator

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

CONNECTION_STATUS.md

≈648 tokens on demand. Your agent reads this file only when SKILL.md points to it.

XHS Connection Status

✅ Connected Successfully!

Status: Your xhs-note-creator skill is now fully connected to your Xiaohongshu account.

Configuration Date: 2026-02-13


🔐 What's Configured

  • ✅ Cookie saved to .env file
  • ✅ Authentication credentials stored securely
  • ✅ Publishing functionality enabled
  • ✅ All dependencies installed

🎯 What You Can Do Now

1. Create & Publish Content

Simply invoke the skill with:

/xhs-note-creator

Or say:

  • "Create a Xiaohongshu note about [topic]"
  • "Generate and publish XHS content about [subject]"

2. Full Workflow Available

The skill will:

  1. ✍️ Write engaging XHS-style content (title + body + tags)
  2. 🎨 Generate beautiful image cards (cover + content cards)
  3. 📤 Publish directly to your Xiaohongshu account

3. Publishing Options

  • Public or private notes
  • Scheduled posting
  • Multiple images support
  • Dry-run mode for testing

📋 Manual Publishing (Advanced)

If you ever want to publish manually:

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

python scripts/publish_xhs.py \
  --title "Your Title" \
  --desc "Your description" \
  --images cover.png card_1.png card_2.png

Options:

  • --private - Make the note private
  • --post-time "2024-12-01 10:00:00" - Schedule for later
  • --dry-run - Test without actually publishing

🔄 Cookie Maintenance

Important Notes:

  • Cookies expire periodically
  • If publishing fails, you may need to refresh your cookie
  • Simply repeat the setup process to update

Signs your cookie expired:

  • Publishing returns authentication errors
  • "Invalid cookie" or "Login required" messages

To refresh:

  1. Log into xiaohongshu.com again
  2. Get new cookie from DevTools
  3. Tell me to update the configuration

🎨 Available Themes

Choose from 8 visual styles:

  • default - Purple gradient (clean & modern)
  • playful-geometric - Memphis design (fun & colorful)
  • neo-brutalism - Bold flat design
  • botanical - Natural botanical theme
  • professional - Business style
  • retro - Vintage aesthetic
  • terminal - Command-line style
  • sketch - Hand-drawn style

📐 Image Specifications

  • Ratio: 3:4 (perfect for XHS)
  • Size: 1080×1440px
  • Output: Cover + content cards
  • Quality: High DPI (2x)

🚀 Ready to Create!

Your setup is complete. Just invoke the skill whenever you want to create Xiaohongshu content, and it will handle everything from writing to publishing automatically!

Next step: Try creating your first note! 🎉

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

2 warnings1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The skill facilitates the creation and publishing of Xiaohongshu notes. It includes capabilities for rendering user-influenced content via a headless browser and managing sensitive session cookies. While these are core features, the lack of input sanitization in the rendering pipeline and the ability to transmit session cookies to external APIs introduce potential security risks.

  • Socket1mo

    1 alert: gptSecurity

  • Snyk1mo

    Risk: MEDIUM · 1 issue

Signed by skilld at 3930f9f. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 weeks ago.

Steadyupdated 7 months ago

README badge

README badge for erafat/skills/xhs-note-creator