Markdown Converter
Agent skill for markdown-converter
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.
Sign in to like and favorite skills
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: