Agent skill

Xhs Cards

by CatCatUncle in CatCatUncle/openworkbuddy

小红书图文卡片/封面图——3:4 竖版(封面+内页多张)。两条路:HTML 排版截图(字清晰)或 AI 生图(画面有质感),开工前先问用户走哪条

Custom licenceAuto-check passed

Install Xhs Cards

skills CLI
$ npx skills add CatCatUncle/openworkbuddy --skill xhs-cards -a claude-code

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

GitHub CLI
$ gh skill install CatCatUncle/openworkbuddy xhs-cards --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/CatCatUncle/openworkbuddy.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/xhs-cards .claude/skills/xhs-cards && 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-cards
GitHub stars
278
Token cost
~501 tokens
SKILL.md length
140 words
Files
1
Skills in repo
22
Repo updated
First seen
Licence
Custom licence

At a glance

小红书图文卡片/封面图——3:4 竖版(封面+内页多张)。两条路:HTML 排版截图(字清晰)或 AI 生图(画面有质感),开工前先问用户走哪条

  • Works in 5 steps: 先出文案结构:1 张封面(大标题钩子)+ 3~6 张内页(每张一个要点)+ 1… → 每张卡片写一个独立 HTML… → 一次调用 html_to_image… → …
  • SKILL.md covers 适用场景, 第 0 步:先问一句走哪条路(用户已点名的跳过这步), 走 HTML 排版这条路的流程 and 卡片 HTML 硬约束, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Xhs Cards is an agent skill from CatCatUncle/openworkbuddy. 小红书图文卡片/封面图——3:4 竖版(封面+内页多张)。两条路:HTML 排版截图(字清晰)或 AI 生图(画面有质感),开工前先问用户走哪条

Its SKILL.md is about 500 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with Xiaohongshu. The repository describes itself as: Open-source Claude Cowork / Codex alternative — a local-first AI office agent that turns one request into real PPTX, DOCX, XLSX and HTML files. Runs DeepSeek, Qwen, Doubao…

Example prompts

  • “/xhs-cards”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. 先出文案结构:1 张封面(大标题钩子)+ 3~6 张内页(每张一个要点)+ 1 张结尾(总结/行动号召)。
  2. 每张卡片写一个独立 HTML 文件(card_01.html、card_02.html…),用 write_file 存入工作空间。
  3. 一次调用 html_to_image 截整套:html_files=["card_01.html","card_02.html",…](按顺序,最多 30 个),width=1242,height=1656;出图名跟 HTML…
  4. 有品牌档案时,交付前 brand_kit_read check 一遍(文案、HTML、PNG 各查一次),按它列的问题改完再交。
  5. 最后交付:全部 PNG + 一段发布文案(标题 20 字内带钩子、正文 100~300 字、5~8 个话题标签)。

What it can do on your machine

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

    No scripts in the folder and no shell commands in SKILL.md.

    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

Xhs Cards loads about 501 tokens when it runs. Until then it costs about 21 tokens; SKILL.md has 140 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~21
When it runs · the whole SKILL.md, loaded when a task matches
~501

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); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 140 words (~501 tokens).

“「做一组小红书图文」「把这篇内容做成卡片图」「出个封面图」。产出 = 一组 1242x1656(3:4 竖版)PNG 卡片 + 一份发布文案。也适用于公众号次条卡片、朋友圈长图(改尺寸即可)。”

— opening of SKILL.md by CatCatUncle, Custom licence
name
xhs-cards

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/xhs-cards of CatCatUncle/openworkbuddy.

Open the folder on GitHubat commit 6d8e29c

Compare with similar skills

Xhs Cards 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 Cards compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Xhs Cards this skillCatCatUncle/openworkbuddy278—~501Automated safety check: PassCustom licence
Agent ReachPanniantong/Agent-Reach94k—~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-precheck7751 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.

    94k GitHub stars~1.4k tokensUpdated yesterday
    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…

    775 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 8 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.

    726 GitHub stars~862 tokensUpdated 8 days ago
    Knowledge ManagementAuto-check passed

More from CatCatUncle/openworkbuddy

All 22 skills in this repo
  • Short Drama

    CatCatUncle/openworkbuddy

    AI 真生成画面的竖版短剧:分镜表→定妆照→首帧→图生视频→配音→拼片配乐,改一镜只重算一镜. An agent skill from CatCatUncle/openworkbuddy.

    278 GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Character Photo Studio

    CatCatUncle/openworkbuddy

    批量生成「角色扮演写真/剧照」类 AI 图片——把中国古典名著/神话角色的造型要素拆成 prompt 模板,套上指定影调预设(CCD数码、复古胶片、黑白电影、电视剧照、vlog自拍等)与画幅组合,一次交付多张成品图。适用于用户说「给我生成某角色的写真/剧照/拼贴照」的场景。

    278 GitHub stars~725 tokensUpdated today
    Auto-check passed
  • Data Viz

    CatCatUncle/openworkbuddy

    数据可视化与画图——流程图/架构图/时序图/数据图表,用 gendiagram 工具一键渲染成 SVG+PNG,或生成交互式 ECharts 页面

    278 GitHub stars~494 tokensUpdated today
    Auto-check passed
  • DOCX

    CatCatUncle/openworkbuddy

    用 docx 库生成排版规整的 Word 文档(报告、方案、公文、合同草稿),以及改写已有 .docx 里的文字. An agent skill from CatCatUncle/openworkbuddy.

    278 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Feishu Doc

    CatCatUncle/openworkbuddy

    创建/写入飞书云文档的完整 API 姿势(含插图)。要"发到飞书/建飞书文档"优先用 feishudoccreate 工具;需要手写 API(插图片/表格/自定义凭证)或排查权限、块结构报错时加载本技能。

    278 GitHub stars~750 tokensUpdated today
    Auto-check passed
  • Lark CLI

    CatCatUncle/openworkbuddy

    用命令行操作飞书/Lark——发消息、建群、读写云文档与多维表格、日历日程、任务、审批、邮件、妙搭应用、白板、知识库。凡是"发到飞书/在飞书里建/查我的飞书"的任务都用它

    278 GitHub stars~733 tokensUpdated today
    Auto-check passed

Works with

Questions about Xhs Cards

What does Xhs Cards do?

小红书图文卡片/封面图——3:4 竖版(封面+内页多张)。两条路:HTML 排版截图(字清晰)或 AI 生图(画面有质感),开工前先问用户走哪条. Xhs Cards is an agent skill from CatCatUncle/openworkbuddy.

How do I install Xhs Cards in Claude Code?

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

How do I install Xhs Cards in Codex?

Run `npx skills add CatCatUncle/openworkbuddy --skill xhs-cards -a codex`. Or copy the skill folder (skills/xhs-cards in CatCatUncle/openworkbuddy) into .agents/skills/xhs-cards in your project. Codex loads it when a task matches its description.

Can I use Xhs Cards 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 CatCatUncle/openworkbuddy --skill xhs-cards -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-cards, .gemini/skills/xhs-cards, .github/skills/xhs-cards and .opencode/skills/xhs-cards in your project.

What does Xhs Cards need to run?

SKILL.md names no scripts, command-line tools or credentials: Xhs Cards is instructions for the agent only.

Does Xhs Cards 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 Xhs Cards 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. Review the folder before installing.

What licence does Xhs Cards use?

Xhs Cards has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Xhs Cards use?

About 501 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Xhs Cards?

Skills that share tags, products or a category with Xhs Cards: Agent Reach (Panniantong/Agent-Reach, 94k stars), Guizang Social Cards (op7418/guizang-social-card-skill, 7.4k stars), Yuwen Publish Precheck (yuwen-cool/yuwen-publish-precheck, 775 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 Xhs Cards?

CatCatUncle (a GitHub user) maintains it in CatCatUncle/openworkbuddy, which has 278 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on October 9, 2026.

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