npx skills add ...
npx skills add freestylefly/xiaohongshu-skills --skill xiaohongshu-cover-generator
Generate Xiaohongshu (小红书) style cover images based on user topics. Use when the user wants to create a social media cover image in Xiaohongshu style, or mentions keywords like "小红书封面", "Xiaohongshu cover", "封面生成", or provides a topic for cover image generation. The generated image will be saved to the current project directory.
npx skills add freestylefly/xiaohongshu-skills --skill xiaohongshu-cover-generator
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:
Or with environment variable:
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: