xiaohongshu-cover-generator by freestylefly/xiaohongshu-skills
npx skills add https://github.com/freestylefly/xiaohongshu-skills --skill xiaohongshu-cover-generator此技能可根据用户提供的主题生成小红书风格的封面图片。
当用户请求生成小红书封面图片时:
CANGHE_API_KEY 或请用户提供)xiaohongshu-cover-{timestamp}.png脚本位于 scripts/handler.ts,需要以下参数:
CANGHE_API_KEY 设置或作为参数传递执行命令:
cd ~/.codebuddy/skills/xiaohongshu-cover-generator
npx tsx scripts/handler.ts "<topic>" "<api-key-optional>"
或使用环境变量:
cd ~/.codebuddy/skills/xiaohongshu-cover-generator
CANGHE_API_KEY="your-api-key" npx tsx scripts/handler.ts "<topic>"
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
用户需要从 https://api.canghe.ai/ 获取有效的 API 密钥。
如果 API 密钥缺失或无效,请向用户提供清晰的获取说明。
生成的图片将保存到调用技能时所在的目录(当前工作目录),而非技能自身的目录。文件名格式为 xiaohongshu-cover-{timestamp}.png,其中时间戳以毫秒为单位。
生成的图片遵循以下规范:
每周安装量
866
代码仓库
GitHub 星标数
71
首次出现
2026 年 1 月 27 日
安全审计
安装于
opencode820
gemini-cli796
codex795
cursor785
github-copilot767
kimi-cli753
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:
Weekly Installs
866
Repository
GitHub Stars
71
First Seen
Jan 27, 2026
Security Audits
Gen Agent Trust HubFailSocketPassSnykFail
Installed on
opencode820
gemini-cli796
codex795
cursor785
github-copilot767
kimi-cli753
超能力技能使用指南:AI助手技能调用优先级与工作流程详解
37,500 周安装
Gemini Interactions API 指南:统一接口、智能体交互与服务器端状态管理
833 周安装
Apollo MCP 服务器:让AI代理通过GraphQL API交互的完整指南
834 周安装
智能体记忆系统构建指南:分块策略、向量存储与检索优化
835 周安装
Scrapling官方网络爬虫框架 - 自适应解析、绕过Cloudflare、Python爬虫库
836 周安装
抽奖赢家选取器 - 随机选择工具,支持CSV、Excel、Google Sheets,公平透明
838 周安装
Medusa 前端开发指南:使用 SDK、React Query 构建电商商店
839 周安装