xhs-cover-skill

A skill that generates and edits Xiaohongshu covers in 18 preset styles through Codex, Claude Code or the command line.

  • 223 ★ on the repository
  • Last commit
Skill

Extended access

Why this level

  • The fallback path sends requests to the Gemini API with your key.
  • The skill runs Node.js scripts and creates image files.
All reasons and checks

vivixiao980/xhs-cover-skill

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add skills/xhs-cover-skill

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • The fallback path sends requests to the Gemini API with your key.
  • The skill runs Node.js scripts and creates image files.

This is third-party code. Review the repository files before installing.

What it does

The skill creates and edits covers for Xiaohongshu (小红书) posts. It activates on phrases like "生成封面", "小红书封面", "制作封面", "xhs封面" or "修改封面". There are 18 preset styles for scenarios such as work, home, shows and art, and all styles can be previewed at xhscover.vivi.wiki. The main path targets Codex: the skill uses the built-in Codex image generation and editing, and no separate key is needed. The fallback path works through the command line and the Gemini API, needing Node.js 18 or newer, `npm install` and a key from Google AI Studio, and for OpenClaw the key goes into `~/.openclaw/config.yaml`. Install in Codex: `git clone https://github.com/Vivixiao980/xhs-cover-skill ~/.codex/skills/xhs-cover-skill`, then restart Codex. For Claude Code the repository is cloned into `~/.claude/skills/xhs-cover`, and for OpenClaw into `~/.openclaw/skills/xhs-cover`.

Who it is for. Authors and social media managers who run Xiaohongshu and want to make post covers through an agent without opening a graphic editor.

Good fit when

  • A post needs a cover in one of 18 preset styles from one request.
  • A finished cover has to be corrected: change the title or color.
  • A series of posts goes out in one style.
  • A cover is built by a script from the command line without Codex.

Not a fit when

  • You need covers for other platforms: the skill is tuned to the Xiaohongshu format.
  • You have neither Codex with image generation nor a Gemini key.
  • You need an editable source layout: the result comes out as an image.

Example request

小红书封面: make a cover for a post about weekly planning in an office style.

Limitations

The main path uses Codex image generation, while the fallback pays through a Gemini API key and depends on a model name that Google changes between versions. The command line needs Node.js 18 or newer and `npm install`. The terms of the Google AI Studio free tier for images change, so check them against the current pricing page. The interface and instructions are written in Chinese. No license file was found in the repository. The last commit dates from October 2026.

How to disable. Delete the `~/.codex/skills/xhs-cover-skill` directory (or `~/.claude/skills/xhs-cover`, `~/.openclaw/skills/xhs-cover`) and restart the agent. Remove the keys from the OpenClaw configuration separately.

FAQ

How do I install the skill in Codex?

Run `git clone https://github.com/Vivixiao980/xhs-cover-skill ~/.codex/skills/xhs-cover-skill` and restart Codex. `npm install` is needed only for the fallback path.

Is an API key needed?

Not in Codex, which uses built-in image generation. A key is needed for the fallback path through the Gemini API.

How do I invoke the skill?

With a phrase like "生成封面", "小红书封面", "制作封面", "xhs封面" or "修改封面".

How many styles are available?

18 preset styles. Examples can be previewed at xhscover.vivi.wiki.

How do I install it in Claude Code?

Clone the repository into `~/.claude/skills/xhs-cover` and run `npm install`, then restart Claude Code.

Discussion

No questions or reviews yet.

Skills

A visual-director skill for Xiaohongshu carousels: style choice, page structure, image prompts and the post caption

SkillMinimal access1.5KRepository stars

A skill reads your article, asks about style and outputs a ready prompt for a Xiaohongshu or WeChat cover in 10 compositions

SkillMinimal access284Repository stars

15 skills for Codex that cover Xiaohongshu content from account research and topic choice to title, draft and pre-publish QA

SkillExtended access281Repository stars

The skill lays an article or case out as a 3:4 Xiaohongshu carousel from 20 templates: storyboard first, then PNG and HTML.

SkillExtended access308Repository stars

Codex skills for the Xiaohuang brand character: light hand-drawn slides, article covers and web slides in one style

SkillMinimal access76Repository stars

A WeChat article layout skill: turns Markdown into paste-ready HTML with inlined styles that survives pasting into the official account editor

SkillExtended access4.3KRepository stars

Comparison with similar tools

Cards that share the main search query, and how they differ.

ToolOfficialRepository starsMain difference
xhs-cover-skill (this card)no223
Ian XHS Carouselno308Ian XHS Carousel builds post carousels, while xhs-cover-skill makes single covers in 18 preset styles.
xiaohongshu-opsno2,560xiaohongshu-ops handles account work, while this skill covers post covers only.

README in short

A skill for Xiaohongshu covers with 18 preset styles: generation through Codex or Gemini, editing finished covers and a command-line run.

README badge

Report a problem