freestylefly avatar

Xiaohongshu Cover Generator

This generates cover images in the Xiaohongshu (Little Red Book) style, that distinctively Chinese social media aesthetic with clean text layouts and mobile-first proportions. You give it a topic, it calls the Canghe API, and drops a 3:4 ratio PNG in your current directory with automatic watermark removal. You'll need an API key from canghe.ai. It's surprisingly specific in its purpose, which is actually refreshing. If you're targeting Chinese social media or just like that particular visual style for content, this does one thing without trying to be a Swiss Army knife. The output quality depends entirely on the API backend, but the integration is straightforward enough that you can have a cover image in seconds.

skills.sh installs
1.9K
GitHub stars
98
last updated
Aug 21, 2026

Install

$ npx -y skills add freestylefly/xiaohongshu-skills --skill xiaohongshu-cover-generator --agent claude-code

Installs into .claude/skills of the current project.

Files

Xiaohongshu Cover Generator

This skill generates Xiaohongshu-style cover images based on user-provided topics.

Usage

When a user requests a Xiaohongshu cover image:

  1. Confirm the topic with the user if not clear
  2. Check for API key (CANGHE_API_KEY environment variable or ask user to provide it)
  3. Run the generation script with the topic
  4. The image will be saved to the current working directory with filename format: xiaohongshu-cover-{timestamp}.png

Running the Script

The script is located at scripts/handler.ts and requires:

  • Topic (required): The subject for the cover image
  • API Key (required): Either via environment variable CANGHE_API_KEY or passed as argument

Execute with:

cd ~/.codebuddy/skills/xiaohongshu-cover-generator
npx tsx scripts/handler.ts "<topic>" "<api-key-optional>"

Or with environment variable:

cd ~/.codebuddy/skills/xiaohongshu-cover-generator
CANGHE_API_KEY="your-api-key" npx tsx scripts/handler.ts "<topic>"

API Key

Users need a valid API key from https://api.canghe.ai/

If the API key is missing or invalid, provide the user with clear instructions to obtain one.

Output

Sponsors

Details

Repository
github.com/freestylefly/xiaohongshu-skills
Categories
Code Review & Quality, Automation & Workflows
1tanweai avatarp7tanweai/puaP7 Senior Engineer mode — solution-driven execution under P8 supervision. Use when user says 'P7模式', '方案驱动', or when spawned as sub-task executor by P8. Produce1.8Kskills.sh installs
2trailofbits avatarvulnerability-triage-brocardstrailofbits/skillsThis skill should be used when the user asks to "triage a vulnerability report", "assess a CVE", "evaluate a bug bounty submission", "decide if a finding is val1.8Kskills.sh installs
3ar9av avatarwiki-dedupar9av/obsidian-wikiScan the Obsidian wiki for page-level identity collisions — different pages covering the same concept under different names (e.g. "RSC" vs "React Server Compone1.8Kskills.sh installs
4b-mendoza avatarvalidate-implementation-planb-mendoza/agent-skillsAudits an implementation plan for requirements traceability, avoidable complexity, risky assumptions, and evidence gaps. Use when reviewing an AI-generated or h1.8Kskills.sh installs
5refoundai avatarbuilding-with-llmsrefoundai/lenny-skillsHelp users build effective AI applications. Use when someone is building with LLMs, writing prompts, designing AI features, implementing RAG, creating agents, r1.7Kskills.sh installs
6julianobarbosa avatarmarkitdownjulianobarbosa/claude-code-skillsGuide for using Microsoft MarkItDown - a Python utility for converting files to Markdown. Use when converting PDF, Word, PowerPoint, Excel, images, audio, HTML,1.7Kskills.sh installs