card-xiaohongshu

card-xiaohongshu is a skill for Claude Code, Codex from nexu-io/html-anything. It costs 24 tokens per session (445 once invoked), scanned A, original, Apache-2.0.

A layout template for making a series of swipeable Xiaohongshu knowledge cards. Xiaohongshu is a Chinese social platform where posts commonly use large, image-based slides.

In plain words
What is it for?
Use it to create multi-image educational posts with a cover, example-based content cards, and a final summary or call to action.
Why use it?
It turns a topic into short, readable slides with one main idea per card instead of placing all the information in one crowded image.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create multi-image educational posts with a cover, example-based content cards, and a final summary or call to action.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nexu-io/html-anything/card-xiaohongshu
About the project

html-anything is a local AI-assisted HTML editor in which coding-agent command-line tools create documents such as articles, presentations, posters, prototypes, and reports from reusable templates. People use it to produce HTML and export it to services such as WeChat, X, and Zhihu or to HTML and PNG files. The catalogue entries are the skills and instructions that define its output surfaces and workflows.

nexu-io/html-anything · 8,731 stars · on GitHub · open-design.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nexu-io/html-anything --skill card-xiaohongshu
Clone the repo
git clone --depth 1 https://github.com/nexu-io/html-anything

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for card-xiaohongshu

README.md
[![agentmods](https://agentmods.dev/badge/skills/nexu-io/html-anything/card-xiaohongshu/github.svg)](https://agentmods.dev/skills/nexu-io/html-anything/card-xiaohongshu)
Your own site
<a href="https://agentmods.dev/skills/nexu-io/html-anything/card-xiaohongshu"><img src="https://agentmods.dev/badge/skills/nexu-io/html-anything/card-xiaohongshu/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for card-xiaohongshu

Your own site · 80×15
<a href="https://agentmods.dev/skills/nexu-io/html-anything/card-xiaohongshu"><img src="https://agentmods.dev/badge/skills/nexu-io/html-anything/card-xiaohongshu.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 445 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.00445
Opus 5 $0.00012 $0.00222
Sonnet 5 $0.00005 $0.00089
Haiku 4.5 $0.00002 $0.00044

Measured 12d ago against content hash fd814b10b2d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

card-xiaohongshu scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

next/src/lib/templates/skills/card-xiaohongshu/SKILL.md · 27 lines

What it actually says

【模板: 小红书图文卡片】

  • 输出 N 张连续卡片, 每张 w-[1080px] h-[1440px], 用 flex 纵向排列方便整体截图也方便单张截图。N 由【用户内容】信息量决定: 短内容 3-6 张起步, 长内容应更多 (小红书平台单帖最多 18 图, 通常 9 张以内最佳); 一张卡只承载一个核心观点。
  • 第一张是封面: 巨大的标题 + 1 行副标题 + 一个吸引人的标签 (类似 "干货预警" / "建议收藏")。
  • 中间几张展开正文, 每张一个核心观点, 配 emoji + 短句 + 1-2 个例子。
  • 最后一张是总结 + 行动号召 (关注 / 收藏 / 评论)。
  • 配色: 选择柔和的莫兰迪色或粉色系; 元素圆润, 大量留白。
  • 字号大、行距宽、对比强(小红书在手机上看, 小字根本看不清)。
  • 每张卡片右下角小水印 (作者名 / 日期)。
Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 27 lines · 24 tokens per session scan A fd814b10b2d0

Subscribe to this mod's changes

card-xiaohongshu is a skill published in the GitHub repository nexu-io/html-anything (8,731 stars, last pushed 19d ago), licensed Apache-2.0. It adds 24 tokens to every session and 445 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.