Agent skill

Xhs Longform Private Publisher

by cnfjlhj in cnfjlhj/ai-collab-playbook

This skill should be used when the user wants to publish an existing Markdown article to Xiaohongshu as a private longform post, keep the original wording and structure, insert inline images in…

No licenceAuto-check passedDocuments & Office

Install Xhs Longform Private Publisher

skills CLI
$ npx skills add cnfjlhj/ai-collab-playbook --skill xhs-longform-private-publisher -a claude-code

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

GitHub CLI
$ gh skill install cnfjlhj/ai-collab-playbook xhs-longform-private-publisher --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/cnfjlhj/ai-collab-playbook.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/full/xhs-longform-private-publisher .claude/skills/xhs-longform-private-publisher && 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
xhs-longform-private-publisher
GitHub stars
454
Token cost
~1.1k tokens
SKILL.md length
253 words
Files
5 (incl. scripts, references)
Skills in repo
17
Repo updated
First seen
Licence
None found

At a glance

This skill should be used when the user wants to publish an existing Markdown article to Xiaohongshu as a private longform post, keep the original wording and structure, insert inline images in…

  • Works in 5 steps: 预检 → 生成发布载荷 → 在长文编辑器里插入内容 → …
  • Wants to publish an existing Markdown article to Xiaohongshu as a private longform post
  • SKILL.md covers 适用场景, 输入, 输出 and 工作原则, plus 5 more sections
  • Runs Python scripts from its folder; calls python; reaches creator.xiaohongshu.com

What it does

Xhs Longform Private Publisher is an agent skill from cnfjlhj/ai-collab-playbook. This skill should be used when the user wants to publish an existing Markdown article to Xiaohongshu as a private longform post, keep the original wording and structure, insert inline images in order, use one-click layout, and verify the result in note manager.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts and reference files (for example `references/xhs-longform-workflow.md`, `scripts/build_payload.py` and `scripts/publish_longform.py`).

It sits in Documents & Office. It works with Xiaohongshu. The repository describes itself as: Practical AI collaboration playbook for research, writing, reading, and coding: article, prompts, agent rules, and reusable skills.

When your agent uses it

  • Wants to publish an existing Markdown article to Xiaohongshu as a private longform post
  • Keep the original wording and structure
  • Insert inline images in order
  • Use one-click layout

Example prompts

  • “/xhs-longform-private-publisher”

Requirements

  • Python 3

Workflow steps

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

  1. 预检
  2. 生成发布载荷
  3. 在长文编辑器里插入内容
  4. 设置可见性并发布
  5. 发布后验收

What it can do on your machine

Read from SKILL.md and the folder at commit b3ee0d6. 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 2 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

    Hosts in commands or code, which the agent is likely to contact:

    • creator.xiaohongshu.com

    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

Xhs Longform Private Publisher loads about 1.1k tokens when it runs, and up to ~3.7k if it reads all its reference files. Until then it costs about 73 tokens; SKILL.md has 253 words of instructions outside code blocks.

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

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 253 words (~1,096 tokens).

name
xhs-longform-private-publisher

Read the full SKILL.md on GitHub

Files

SKILL.md and 4 other files (scripts, references) in skills/full/xhs-longform-private-publisher of cnfjlhj/ai-collab-playbook.

  • SKILL.md
  • references/xhs-longform-workflow.md
  • scripts/build_payload.py
  • scripts/publish_longform.py
  • tests/test_publish_longform.py

Open the folder on GitHubat commit b3ee0d6

Compare with similar skills

Xhs Longform Private Publisher 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.

Xhs Longform Private Publisher compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Xhs Longform Private Publisher this skillcnfjlhj/ai-collab-playbook454—~1.1kAutomated safety check: PassNone
Document Writerhuangserva/servasyy_skills168—~1.1kAutomated safety check: NotesNone
Paper Signal Seriesjiahuiqu17/paper-signal109—~1.3kAutomated safety check: PassMIT
Space Xhs Note AnalyticsSpaceZephyr/creator-buddy1.6k—~2.5kAutomated safety check: PassNone
Xiaohongshu Inspirationredfox-data/redfox-community427—~2.6kAutomated safety check: PassNone
HTML Ppt Xhs Pastel Cardnexu-io/open-design100k—~1.3kAutomated safety check: PassApache-2.0

Similar skills

  • Document Writer

    huangserva/servasyy_skills

    多风格文档写作技能。支持乔木、小红书、Dankoe、微信公众号、Twitter等5种写作风格。Claude 根据内容智能选择风格,按规范撰写文章。

    168 GitHub stars~1.1k tokensUpdated 9 days ago
    Documents & OfficeAuto-check: notes
  • Paper Signal Series

    jiahuiqu17/paper-signal

    Plan, write, art-direct, generate, and package a coherent 2-10 image minimal-zine social series from notes, articles, photographs, travel stories, products, reviews, cultural topics, data, PDFs, or…

    109 GitHub stars~1.3k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check passed
  • Space Xhs Note Analytics

    SpaceZephyr/creator-buddy

    小红书个人笔记数据复盘——基于用户自己创作者后台(创作中心/蒲公英)的笔记数据,做漏斗定位、卡点归因和多篇横向规律发现。当用户说"笔记数据复盘""这条为什么没流量""帮我看看这条数据""小红书数据分析""曝光高但没人点""涨粉不行""哪类内容该加码""我导出了后台数据帮我看看",或直接贴出后台数据截图/CSV/Excel/几个数字时使用。只分析用户自己账号的笔记表现,不抓取平台数据、不做刷量。

    1.6k GitHub stars~2.5k tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed
  • Xiaohongshu Inspiration

    redfox-data/redfox-community

    小红书内容灵感聚合技能,覆盖选题灵感全链路:关键词爆款笔记搜索(相关性/热度/时效三维评分)、批量获取作品数据(支持 Excel/HTML 导出)、每日爆款 TOP50 爆发榜、低粉爆款挖掘(粉丝<5000 点赞500)、账号日/周/月榜 TOP50、同阶对标与高阶标杆推荐。当用户需要小红书灵感、爆款搜索、笔记查询、批量获取作品、每日爆款、低粉爆款、账号榜单、涨粉榜、对标账号推荐时使用。触发词:…

    427 GitHub stars~2.6k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • HTML Ppt Xhs Pastel Card

    nexu-io/open-design

    A personal manifesto: a year of saying yes — the premise, the scenes, the turn, and the meaning that lands.

    100k GitHub stars~1.3k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • HTML Ppt Xhs White Editorial

    nexu-io/open-design

    A staff-engineer promotion packet — scope, the proof moments, the artifacts, and the impact that clears the bar.

    100k GitHub stars~1.4k tokensUpdated yesterday
    Documents & OfficeAuto-check passed

More from cnfjlhj/ai-collab-playbook

All 17 skills in this repo
  • Paper2html

    cnfjlhj/ai-collab-playbook

    A skill your agent uses when turning an academic paper PDF/arXiv/OpenReview page/local LaTeX source into a single-file Chinese HTML deep-reading page, especially when the user wants a Cheat-Sheet…

    454 GitHub stars~2.4k tokensUpdated 27 days ago
    Auto-check passed
  • Collaborating With Codex

    cnfjlhj/ai-collab-playbook

    A skill your agent uses when you explicitly want a second local or SSH remote Codex CLI session to prototype, debug, or review code, while your current session remains the primary owner of the final…

    454 GitHub stars~1.4k tokensUpdated 27 days ago
    Auto-check passed
  • Paperreview

    cnfjlhj/ai-collab-playbook

    A skill your agent uses when the user explicitly wants to upload a final or near-final PDF to paperreview.ai for an external second opinion.

    454 GitHub stars~668 tokensUpdated 27 days ago
    Auto-check passed
  • Research Lead Sidecar

    cnfjlhj/ai-collab-playbook

    A skill your agent uses when the user wants multi-agent division of labor for research-led work and the lead should stay on the critical path while 1-2 bounded sidecars handle low-coupling tasks.

    454 GitHub stars~842 tokensUpdated 27 days ago
    Auto-check passed
  • Xhs Note Creator

    cnfjlhj/ai-collab-playbook

    A skill your agent uses when the user wants Xiaohongshu note materials such as the note text, cover card, body cards, or publishing-ready assets.

    454 GitHub stars~638 tokensUpdated 27 days ago
    Auto-check: notes
  • Skill Governance Loop

    cnfjlhj/ai-collab-playbook

    A skill your agent uses when the user asks to review a skill, analyze skill quality, update or align a skill version, compare local state against a newer variant, or run a repeatable…

    454 GitHub stars~468 tokensUpdated 27 days ago
    Auto-check passed

Works with

Questions about Xhs Longform Private Publisher

What does Xhs Longform Private Publisher do?

This skill should be used when the user wants to publish an existing Markdown article to Xiaohongshu as a private longform post, keep the original wording and structure, insert inline images in…. Xhs Longform Private Publisher is an agent skill from cnfjlhj/ai-collab-playbook. This skill should be used when the user wants to publish an existing Markdown article to Xiaohongshu as a private longform post, keep the original wording and structure, insert inline images in order, use one-click layout, and verify the result in note manager.

When should I use Xhs Longform Private Publisher?

Xhs Longform Private Publisher fits situations like: wants to publish an existing Markdown article to Xiaohongshu as a private longform post; keep the original wording and structure; insert inline images in order; use one-click layout.

How do I install Xhs Longform Private Publisher in Claude Code?

Run `npx skills add cnfjlhj/ai-collab-playbook --skill xhs-longform-private-publisher -a claude-code`. Or copy the skill folder (skills/full/xhs-longform-private-publisher in cnfjlhj/ai-collab-playbook) into .claude/skills/xhs-longform-private-publisher in your project. Claude Code loads it when a task matches its description.

How do I install Xhs Longform Private Publisher in Codex?

Run `npx skills add cnfjlhj/ai-collab-playbook --skill xhs-longform-private-publisher -a codex`. Or copy the skill folder (skills/full/xhs-longform-private-publisher in cnfjlhj/ai-collab-playbook) into .agents/skills/xhs-longform-private-publisher in your project. Codex loads it when a task matches its description.

Can I use Xhs Longform Private Publisher 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 cnfjlhj/ai-collab-playbook --skill xhs-longform-private-publisher -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/xhs-longform-private-publisher, .gemini/skills/xhs-longform-private-publisher, .github/skills/xhs-longform-private-publisher and .opencode/skills/xhs-longform-private-publisher in your project.

What does Xhs Longform Private Publisher need to run?

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

Does Xhs Longform Private Publisher access the network?

SKILL.md names 1 domain. In commands or code: creator.xiaohongshu.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Xhs Longform Private Publisher 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 Xhs Longform Private Publisher use?

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

How many tokens does Xhs Longform Private Publisher use?

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

What are the alternatives to Xhs Longform Private Publisher?

Skills that share tags, products or a category with Xhs Longform Private Publisher: Document Writer (huangserva/servasyy_skills, 168 stars), Paper Signal Series (jiahuiqu17/paper-signal, 109 stars), Space Xhs Note Analytics (SpaceZephyr/creator-buddy, 1.6k stars) and Xiaohongshu Inspiration (redfox-data/redfox-community, 427 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Xhs Longform Private Publisher?

cnfjlhj (a GitHub user) maintains it in cnfjlhj/ai-collab-playbook, which has 454 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on September 14, 2026.

Source: cnfjlhj/ai-collab-playbook on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.