Generates Xiaohongshu-style social media cover images based on user topics. Saves a 3:4 aspect ratio PNG to the current project directory.
Ships in freestylefly-xiaohongshu-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill generates Xiaohongshu-style cover images based on user-provided topics.
When a user requests a Xiaohongshu cover image:
xiaohongshu-cover-{timestamp}.pngThe script is located at scripts/handler.ts and requires:
CANGHE_API_KEY or passed as argumentExecute 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>"
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.
The generated image will be saved to the directory where the skill was invoked (current working directory), not the skill's directory. The filename format is xiaohongshu-cover-{timestamp}.png where timestamp is in milliseconds.
The generated images follow these specifications:
What SKILL.md sets; muted values are Claude Code's defaults
/freestylefly-xiaohongshu-skills:xiaohongshu-cover-generatorfrom freestylefly-xiaohongshu-skills
freestylefly-xiaohongshu-skills@cascade-content-creation-misc-1 is listed by joshuarweaver/cascade-content-creation-misc-1 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-content-creation-misc-1 --plugin freestylefly-xiaohongshu-skillsOther plugins' skills for the same job