xhs-images

xhs-images is a skill for Claude Code, Codex from manwithshit/xhs-images. It costs 60 tokens per session (1,945 once invoked), scanned A, original, MIT.

A generator for Xiaohongshu, also called Little Red Book, a Chinese social platform, that turns written content into a series of cartoon-style infographic images. It supports different visual styles and information layouts.

In plain words
What is it for?
Creating one to ten infographic posts from an article or direct text, with choices such as tech or minimal styling and list, comparison, or flow layouts.
Why use it?
It breaks a long article or pasted text into smaller visual posts without requiring the user to design each image manually.

Skill for Claude CodeCodex

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

Good fit Creating one to ten infographic posts from an article or direct text, with choices such as tech or minimal styling and list, comparison, or flow layouts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/manwithshit/xhs-images/xhs-images
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 manwithshit/xhs-images --skill xhs-images
Clone the repo
git clone --depth 1 https://github.com/manwithshit/xhs-images

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 xhs-images

README.md
[![agentmods](https://agentmods.dev/badge/skills/manwithshit/xhs-images/xhs-images/github.svg)](https://agentmods.dev/skills/manwithshit/xhs-images/xhs-images)
Your own site
<a href="https://agentmods.dev/skills/manwithshit/xhs-images/xhs-images"><img src="https://agentmods.dev/badge/skills/manwithshit/xhs-images/xhs-images/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 xhs-images

Your own site · 80×15
<a href="https://agentmods.dev/skills/manwithshit/xhs-images/xhs-images"><img src="https://agentmods.dev/badge/skills/manwithshit/xhs-images/xhs-images.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,945 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.
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.00060 $0.01945
Opus 5 $0.00030 $0.00972
Sonnet 5 $0.00012 $0.00389
Haiku 4.5 $0.00006 $0.00194

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

Security

Grade A, and why

xhs-images 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 11d 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.

SKILL.md · 250 lines

How it starts

The opening of the file, as written. The whole thing — 250 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Xiaohongshu Infographic Series Generator

Break down complex content into eye-catching infographic series for Xiaohongshu.

Usage

# Auto-select style and layout based on content
/xhs-images posts/ai-future/article.md

# Specify style
/xhs-images posts/ai-future/article.md --style notion

# Specify layout
/xhs-images posts/ai-future/article.md --layout dense

# Combine style and layout
/xhs-images posts/ai-future/article.md --style tech --layout list

# Direct content input
/xhs-images
[paste content]

Options

Option Description
--style <name> Visual style (see Style Gallery below)
--layout <name> Information layout (see Layout Gallery below)

Two Dimensions

Dimension Controls Options
Style Visual aesthetics: colors, lines, decorations cute, fresh, tech, warm, bold, minimal, retro, pop, notion, productivity, insight
Layout Information structure: density, arrangement sparse, balanced, dense, list, comparison, flow

Style × Layout can be freely combined. Example: --style notion --layout dense creates an intellectual-looking knowledge card with high information density.

Style Description Best For
cute Sweet, adorable, girly - classic XHS aesthetic Lifestyle, beauty, fashion
fresh Clean, refreshing, natural Health, wellness, self-care
tech Modern, smart, digital Tech tutorials, AI content
warm Cozy, friendly, approachable Personal stories, life lessons
bold High impact, attention-grabbing Important tips, warnings
minimal Ultra-clean, sophisticated Professional content
retro Vintage, nostalgic, trendy Throwback, classic tips
pop Vibrant, energetic, eye-catching Fun facts, announcements
notion Minimalist hand-drawn line art Knowledge sharing, SaaS
productivity Structured, light mode, clean UI How-to tutorials, tools
insight High clarity, dark mode, premium Mental models, deep thoughts

Read the full file on GitHub · 250 lines

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. 11d ago First seen · 250 lines · 60 tokens per session scan A 7ecd1fad0cba

Subscribe to this mod's changes

xhs-images is a skill published in the GitHub repository manwithshit/xhs-images (42 stars, last pushed 7mo ago), licensed MIT. It adds 60 tokens to every session and 1,945 once invoked, about $0.0003 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.