小红书内容发布技能。支持两种发布模式:(1) 上传图文模式 - 图片+短文;(2) 写长文模式 - 长篇文章+排版模板。

No licenceAuto-check passed

Install Post To Xhs

skills CLI
$ npx skills add hekaixin66-sketch/xiaohongshuritter --skill post-to-xhs -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install hekaixin66-sketch/xiaohongshuritter post-to-xhs --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/hekaixin66-sketch/xiaohongshuritter.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/post-to-xhs .claude/skills/post-to-xhs && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
post-to-xhs
GitHub stars
140
Token cost
~1.2k tokens
SKILL.md length
207 words
Files
10 (incl. scripts, references)
Skills in repo
1
Repo updated
First seen
Licence
None found

At a glance

小红书内容发布技能。支持两种发布模式:(1) 上传图文模式 - 图片+短文;(2) 写长文模式 - 长篇文章+排版模板。

  • Works in 4 steps: 判断输入类型 → 处理内容 → 内容检查 → …
  • SKILL.md covers 发布模式, 工作流程, Step 1: 判断输入类型 and Step 2: 处理内容, plus 4 more sections
  • Runs Python scripts from its folder; calls python

What it does

Post To Xhs is an agent skill from hekaixin66-sketch/xiaohongshuritter. 小红书内容发布技能。支持两种发布模式:(1) 上传图文模式 - 图片+短文;(2) 写长文模式 - 长篇文章+排版模板。 支持两种输入方式:用户提供完整内容和图片/图片URL,直接发布;或提供网页URL,自动提取内容和图片。 用户说"发长文"时使用长文模式,否则默认图文模式。

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 12 other files, including scripts and reference files (for example `config/accounts.json`, `references/publish-workflow.md` and `scripts/account_manager.py`).

It works with Xiaohongshu.

Example prompts

  • “/post-to-xhs”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. 判断输入类型
  2. 处理内容
  3. 内容检查
  4. 发布到小红书

What it can do on your machine

Read from SKILL.md and the folder at commit 6a41829. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Ships 7 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Post To Xhs loads about 1.2k tokens when it runs, and up to ~3.9k if it reads all its reference files. Until then it costs about 38 tokens; SKILL.md has 207 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~38
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.9k

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.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

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.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 207 words (~1,215 tokens).

name
post-to-xhs

Read the full SKILL.md on GitHub

Files

SKILL.md and 9 other files (scripts, references) in skills/post-to-xhs of hekaixin66-sketch/xiaohongshuritter.

  • SKILL.md
  • config/accounts.json
  • references/publish-workflow.md
  • scripts/account_manager.py
  • scripts/cdp_publish.py
  • scripts/chrome_launcher.py
  • scripts/content.txt
  • scripts/image_downloader.py
  • scripts/publish_pipeline.py
  • scripts/title.txt

Open the folder on GitHubat commit 6a41829

Compare with similar skills

Post To Xhs 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.

Post To Xhs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Post To Xhs this skillhekaixin66-sketch/xiaohongshuritter140—~1.2kAutomated safety check: PassNone
Agent ReachPanniantong/Agent-Reach95k—~1.4kAutomated safety check: PassMIT
Guizang Social Cardsop7418/guizang-social-card-skill7.4k1 repos~7.8kAutomated safety check: PassAGPL-3.0
Yuwen Publish Precheckyuwen-cool/yuwen-publish-precheck7781 repos~1.8kAutomated safety check: PassMIT
Video Podcast MakerAgents365-ai/video-podcast-maker1.7k—~4.9kAutomated safety check: PassMIT
Xhs Note Creatorcomeonzhj/Auto-Redbook-Skills2.3k—~580Automated safety check: NotesNone

Similar skills

  • 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.

    95k GitHub stars~1.4k tokensUpdated 3 days ago
    Productivity & AutomationAuto-check passed
  • Guizang Social Cards

    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.

    7.4k GitHub starsUsed in 1 repo~7.8k tokens
    Media & CreativeAuto-check passed
  • Yuwen Publish Precheck

    yuwen-cool/yuwen-publish-precheck

    国内自媒体发布前风险自审与保意修复:审口播稿、文章、图文笔记、字幕、封面文字能不能发抖音/小红书/微信视频号,给出具体位置、依据和可直接替换的改稿;被限流/删除/处罚后帮你复盘归因;你的行业敏感词、误报白名单和踩坑案例会沉淀成个人规则库,越用越准。Use when…

    778 GitHub starsUsed in 1 repo~1.8k tokens
    Productivity & AutomationAuto-check passed
  • Video Podcast Maker

    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…

    1.7k GitHub stars~4.9k tokensUpdated 9 days ago
    Media & CreativeAuto-check passed
  • Xhs Note Creator

    comeonzhj/Auto-Redbook-Skills

    小红书笔记素材创作技能。当用户需要创建小红书笔记素材时使用这个技能。技能包含:根据用户的需求和提供的资料,撰写小红书笔记内容(标题+正文),生成图片卡片(封面+正文卡片),以及发布小红书笔记。支持 8 种精美排版主题和 4 种智能分页模式。

    2.3k GitHub stars~580 tokensUpdated 1 mo ago
    Auto-check: notes
  • Xhs Virtual Product

    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.

    729 GitHub stars~862 tokensUpdated 10 days ago
    Knowledge ManagementAuto-check passed

Works with

Questions about Post To Xhs

What does Post To Xhs do?

小红书内容发布技能。支持两种发布模式:(1) 上传图文模式 - 图片+短文;(2) 写长文模式 - 长篇文章+排版模板。. Post To Xhs is an agent skill from hekaixin66-sketch/xiaohongshuritter.

How do I install Post To Xhs in Claude Code?

Run `npx skills add hekaixin66-sketch/xiaohongshuritter --skill post-to-xhs -a claude-code`. Or copy the skill folder (skills/post-to-xhs in hekaixin66-sketch/xiaohongshuritter) into .claude/skills/post-to-xhs in your project. Claude Code loads it when a task matches its description.

How do I install Post To Xhs in Codex?

Run `npx skills add hekaixin66-sketch/xiaohongshuritter --skill post-to-xhs -a codex`. Or copy the skill folder (skills/post-to-xhs in hekaixin66-sketch/xiaohongshuritter) into .agents/skills/post-to-xhs in your project. Codex loads it when a task matches its description.

Can I use Post To Xhs in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hekaixin66-sketch/xiaohongshuritter --skill post-to-xhs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/post-to-xhs, .gemini/skills/post-to-xhs, .github/skills/post-to-xhs and .opencode/skills/post-to-xhs in your project.

What does Post To Xhs need to run?

Going by SKILL.md and its folder, Post To Xhs needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Post To Xhs access the network?

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.

Is Post To Xhs safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. 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.

What licence does Post To Xhs use?

No licence was found for Post To Xhs or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Post To Xhs use?

About 1.2k tokens (SKILL.md is roughly 4.9k 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 2.7k tokens, read only when the agent opens those files.

What are the alternatives to Post To Xhs?

Skills that share tags, products or a category with Post To Xhs: 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, 778 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.

Who maintains Post To Xhs?

hekaixin66-sketch (a GitHub user) maintains it in hekaixin66-sketch/xiaohongshuritter, which has 140 GitHub stars. The repository was last updated on April 5, 2026.

Source: hekaixin66-sketch/xiaohongshuritter on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.