Agent skill

Xiaohongshu Cover Image Generator

by SpaceZephyr in SpaceZephyr/creator-buddy

Generates a 3:4 Xiaohongshu post cover from a topic, title and optional portrait or product photo, choosing a layout and color style and keeping the subject's likeness intact.

No licenceAuto-check passedMedia & Creative

SKILL.md written in Chinese; this summary is our English description.

Install Xiaohongshu Cover Image Generator

skills CLI
$ npx skills add SpaceZephyr/creator-buddy --skill space-xhs-cover -a claude-code

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

GitHub CLI
$ gh skill install SpaceZephyr/creator-buddy space-xhs-cover --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/SpaceZephyr/creator-buddy.git skills-src && mkdir -p .claude/skills && cp -r skills-src/xhs-Skills/space-xhs-cover .claude/skills/space-xhs-cover && 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
space-xhs-cover
GitHub stars
1.6k
Token cost
~889 tokens
SKILL.md length
255 words
Files
6 (incl. scripts, references)
Skills in repo
31
Repo updated
First seen
Licence
None found

At a glance

Generates a 3:4 Xiaohongshu post cover from a topic, title and optional portrait or product photo, choosing a layout and color style and keeping the subject's likeness intact.

  • Works in 8 steps: 理解内容 → 整理标题 → 匹配风格 → …
  • Making a cover image for a Xiaohongshu note from its topic or draft text
  • SKILL.md covers 开始前, 默认设置, 输入清单 and 工作流, plus 2 more sections
  • Runs Python scripts from its folder; calls python3

What it does

This skill turns a note's content into a cover image a reader can understand and want to open at a glance, using the built-in image generation tool by default and treating title hierarchy, subject recognizability and mobile readability as its priorities. It only produces the cover or cover variants; a sibling skill handles in-note image sets and another handles literal, editable text-and-image graphics.

Default settings apply unless the user overrides them: a 3:4 portrait frame rendered at 1080 by 1440 pixels, one variant unless more are requested, a style matched intelligently to the topic, a main headline of 6 to 14 Chinese characters across one to three lines with an optional subtitle under 22 characters, and a visual order of headline, subject, then subtitle, with roughly 20 percent of the frame left as breathing space and important content kept at least 10 percent from every edge. When a user says to just decide or match the content, the skill proceeds without pausing to ask.

Before generating, any input image is tagged by role, a main subject whose identity must be preserved, a background image, or a style reference whose visual language is extracted without copying its logos or text, and checked with an image-viewing tool before being passed to generation. After each image, the skill checks the headline for accuracy and garbled or duplicated characters, confirms the subject's face, hands and key identifying marks are intact, and makes a targeted edit rather than regenerating from scratch when only one detail is wrong.

When your agent uses it

  • Making a cover image for a Xiaohongshu note from its topic or draft text
  • Turning a product or portrait photo into a styled post cover
  • Generating several cover variants that keep the same headline and subject
  • Fixing a specific error, like a wrong word, on an already-generated cover

Example prompts

  • “Make a Xiaohongshu cover for this note about budgeting tips for freelancers.”
  • “Turn this product photo into a cover with the headline Three Things Nobody Tells You.”
  • “Generate three cover variants for this post, all using the same headline and subject.”
  • “Fix just the second line of the headline on this cover without changing anything else.”

Requirements

  • The Codex built-in image_gen tool
  • Local image files for any portrait, product or background photo used

Workflow steps

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

  1. 理解内容
  2. 整理标题
  3. 匹配风格
  4. 标记图片角色
  5. 设计构图
  6. 生成封面
  7. 检查与修正
  8. 保存与交付

What it can do on your machine

Read from SKILL.md and the folder at commit edf46c5. 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 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    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

Xiaohongshu Cover Image Generator loads about 889 tokens when it runs, and up to ~3.3k if it reads all its reference files. Until then it costs about 46 tokens; SKILL.md has 255 words of instructions outside code blocks.

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

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 255 words (~889 tokens).

name
space-xhs-cover

Read the full SKILL.md on GitHub

Files

SKILL.md and 5 other files (scripts, references) in xhs-Skills/space-xhs-cover of SpaceZephyr/creator-buddy.

  • SKILL.md
  • agents/openai.yaml
  • evals/evals.json
  • references/cover-styles.md
  • references/prompt-recipes.md
  • scripts/check_cover.py

Open the folder on GitHubat commit edf46c5

Compare with similar skills

Xiaohongshu Cover Image Generator 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.

Xiaohongshu Cover Image Generator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Xiaohongshu Cover Image Generator this skillSpaceZephyr/creator-buddy1.6k—~889Automated safety check: PassNone
Cover Anchor Systemponyodong2026/ponyo-cover-anchor-system190—~1.1kAutomated safety check: PassNone
Xiaohongshu Cover GeneratorVivixiao980/xhs-cover-skill204—~2.9kAutomated safety check: PassNone
Social Image Card Series GeneratorJimLiu/baoyu-skills27k2 repos~7.1kAutomated safety check: PassMIT
Space Image StudioSpaceZephyr/design-buddy176—~2kAutomated safety check: PassNone
Guizang Social Cardsop7418/guizang-social-card-skill7.4k1 repos~7.8kAutomated safety check: PassAGPL-3.0

Similar skills

  • Cover Anchor System

    ponyodong2026/ponyo-cover-anchor-system

    Designs Xiaohongshu and WeChat article covers around information density and a visual anchor, then writes a complete image prompt, color plan and critique.

    190 GitHub stars~1.1k tokensUpdated 3 mo ago
    Media & CreativeAuto-check passed
  • Xiaohongshu Cover Generator

    Vivixiao980/xhs-cover-skill

    Creates and edits Xiaohongshu (RedNote) cover images from a portrait photo and text, using GPT Image 2 first and a Gemini CLI script as fallback.

    204 GitHub stars~2.9k tokensUpdated 4 mo ago
    Media & CreativeAuto-check passed
  • Breaks written content into 1 to 10 cartoon-style image cards for Chinese social platforms, with 12 visual styles, 8 layouts and 3 color palettes to choose from.

    27k GitHub starsUsed in 2 repos~7.1k tokens
    Media & CreativeAuto-check passed
  • Space Image Studio

    SpaceZephyr/design-buddy

    Generates PNG images for four common needs: Xiaohongshu covers, slide illustrations, charts and article logic diagrams, with twelve visual styles and automatic style suggestions.

    176 GitHub stars~2k tokensUpdated 3 mo ago
    Media & CreativeAuto-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
  • SEO Image Generator

    AgriciDaniel/claude-seo

    Generates Open Graph previews, blog hero images, product photos and infographics for SEO use through Gemini image tools and the banana extension.

    19k GitHub starsUsed in 2 repos~2.1k tokens
    Media & CreativeAuto-check passed

More from SpaceZephyr/creator-buddy

All 31 skills in this repo
  • WeChat Hot Article Analysis

    SpaceZephyr/creator-buddy

    Fetches hot WeChat Official Account articles by sector or keywords and produces a data file and an HTML report with rankings, style patterns and writing references.

    1.6k GitHub stars~847 tokensUpdated 1 mo ago
    Auto-check passed
  • Xiaohongshu Multi-Page HTML Cards

    SpaceZephyr/creator-buddy

    Turns an article, SOP, or tutorial into a self-contained, multi-page 3:4 HTML deck of image cards meant to be screenshotted page by page.

    1.6k GitHub stars~928 tokensUpdated 1 mo ago
    Auto-check passed
  • WeChat Viral Article Finder

    SpaceZephyr/creator-buddy

    Finds recent viral WeChat official account articles for a niche keyword and shows up to ten picks as cards, for topic research and benchmarking.

    1.6k GitHub stars~848 tokensUpdated 1 mo ago
    Auto-check passed
  • Draws chart images such as flowcharts, architecture diagrams, ER diagrams and SWOT boards for WeChat official account articles, in one of six visual styles.

    1.6k GitHub stars~1.7k tokensUpdated 1 mo ago
    Auto-check passed
  • WeChat Article Cover Maker

    SpaceZephyr/creator-buddy

    Creates a 2.35:1 header cover for a WeChat official account article with image generation, keeping the headline inside the area that survives sharing crops.

    1.6k GitHub stars~1.5k tokensUpdated 1 mo ago
    Auto-check passed
  • Video Voiceover and Music Mixer

    SpaceZephyr/creator-buddy

    Adds sound to a finished video: generates narration from a script with TTS, finds royalty-free background music, and mixes everything together with ffmpeg.

    1.6k GitHub stars~615 tokensUpdated 1 mo ago
    Auto-check passed

Works with

Questions about Xiaohongshu Cover Image Generator

What does Xiaohongshu Cover Image Generator do?

Generates a 3:4 Xiaohongshu post cover from a topic, title and optional portrait or product photo, choosing a layout and color style and keeping the subject's likeness intact. This skill turns a note's content into a cover image a reader can understand and want to open at a glance, using the built-in image generation tool by default and treating title hierarchy, subject recognizability and mobile readability as its priorities. It only produces the cover or cover variants; a sibling skill handles in-note image sets and another handles literal, editable text-and-image graphics.

When should I use Xiaohongshu Cover Image Generator?

Xiaohongshu Cover Image Generator fits situations like: making a cover image for a Xiaohongshu note from its topic or draft text; turning a product or portrait photo into a styled post cover; generating several cover variants that keep the same headline and subject; fixing a specific error, like a wrong word, on an already-generated cover.

How do I install Xiaohongshu Cover Image Generator in Claude Code?

Run `npx skills add SpaceZephyr/creator-buddy --skill space-xhs-cover -a claude-code`. Or copy the skill folder (xhs-Skills/space-xhs-cover in SpaceZephyr/creator-buddy) into .claude/skills/space-xhs-cover in your project. Claude Code loads it when a task matches its description.

How do I install Xiaohongshu Cover Image Generator in Codex?

Run `npx skills add SpaceZephyr/creator-buddy --skill space-xhs-cover -a codex`. Or copy the skill folder (xhs-Skills/space-xhs-cover in SpaceZephyr/creator-buddy) into .agents/skills/space-xhs-cover in your project. Codex loads it when a task matches its description.

Can I use Xiaohongshu Cover Image Generator 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 SpaceZephyr/creator-buddy --skill space-xhs-cover -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/space-xhs-cover, .gemini/skills/space-xhs-cover, .github/skills/space-xhs-cover and .opencode/skills/space-xhs-cover in your project.

What does Xiaohongshu Cover Image Generator need to run?

Going by SKILL.md and its folder, Xiaohongshu Cover Image Generator needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: The Codex built-in image_gen tool; Local image files for any portrait, product or background photo used.

Does Xiaohongshu Cover Image Generator 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 Xiaohongshu Cover Image Generator 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 Xiaohongshu Cover Image Generator use?

No licence was found for Xiaohongshu Cover Image Generator or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Xiaohongshu Cover Image Generator use?

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

What are the alternatives to Xiaohongshu Cover Image Generator?

Skills that share tags, products or a category with Xiaohongshu Cover Image Generator: Cover Anchor System (ponyodong2026/ponyo-cover-anchor-system, 190 stars), Xiaohongshu Cover Generator (Vivixiao980/xhs-cover-skill, 204 stars), Social Image Card Series Generator (JimLiu/baoyu-skills, 27k stars) and Space Image Studio (SpaceZephyr/design-buddy, 176 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Xiaohongshu Cover Image Generator?

SpaceZephyr (a GitHub user) maintains it in SpaceZephyr/creator-buddy, which has 1,613 GitHub stars. The repository holds 31 skills in this directory. The repository was last updated on August 26, 2026.

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