Generate daily Xiaohongshu content about Agent Skills. Selects a skill from skills.sh, generates initial copywriting, and optionally installs for deep technical analysis.
Generate daily Xiaohongshu (小红书) content about Agent Skills. Intelligently selects skills, generates copywriting, and optionally installs for deep technical analysis. 可与 xhs-render 配合,将 final.md 转为配图。
Before starting any workflow, ensure the working directory structure exists:
Check if Agent-skills-share/ directory exists:
Initialize directory structure (if needed):
Agent-skills-share/ directoryAgent-skills-share/daily-posts/ directoryAgent-skills-share/templates/ directory (if not exists)Agent-skills-share/daily-posts/RECORD.md with initial content:
# Agent Skills 分享记录
> 本文件记录所有已分享的Agent Skill详细信息,包括信息来源、生成时间、更新说明等。
## 记录格式
每个skill记录包含:
- Skill名称和链接
- 状态(已完成/进行中)
- draft.md的信息来源和链接(如果存在)
- final.md的信息来源和链接(如果存在)
- technical-review.md的信息来源和链接(如果存在)
**注意**:如果某个文档未生成或不存在,该条目将不会出现在记录中(只列出实际存在的文档)。
---
## 已分享Skills
(记录将自动添加到这里)
Agent-skills-share/README.md (copy from skill template or create basic version)Continue to Phase 1
STEP 1: Recommend Direction
Read history and analyze:
Agent-skills-share/daily-posts/RECORD.md to track historyPresent options:
【Wait Point】 请选择方向 [A/B/C/D] 或输入自定义方向
STEP 2: Search & Present (ONLY START AFTER USER SELECTS DIRECTION)
Search skills based on user's direction selection:
1. [skill-name] - [core description] (安装数: X.XK)
- [key feature 1]
- [key feature 2]
- 适合 [target audience]
【Wait Point】 请选择技能 [1/2/3]
Fetch detailed skill information:
https://skills.sh/<owner>/<repo>/<skill-name> (selected in Phase 1 Step 2)Select 文案风格模板(.md 文件,与 xhs-render 的配图渲染模板 .html 不同):
.cursor/skills/skill-share/templates/、Agent-skills-share/templates/(如 xhs-cute.md、xhs_template_xxx.md 若存在)Generate draft.md:
Agent-skills-share/daily-posts/YYYY-MM-DD-<skill-name>/workspace/ directory at this stageAgent-skills-share/daily-posts/YYYY-MM-DD-<skill-name>/draft.md【小节名】 for sections (no ##), no ** for bold, links as [text](url), install command on its own line without code fences. Emoji allowed in body.---
信息来源: skills.sh页面
生成时间: YYYY-MM-DD HH:MM:SS
---
【Wait Point】 是否需要安装完成更详细的技术分析? [y/n]
If user answers "n" or "否" or "no":
draft.md to final.md (draft is already XHS-ready)technical-review.md (skills.sh info only, 50-200 words, note: "未进行深度代码分析")If user answers "y" or "是" or "yes" → Phase 4
【Wait Point】 你自己安装还是我安装? [m/a] (m=我自己, a=你安装)
If user answers "m" or "myself" or "我自己":
npx skills add <owner/repo> --skill <skill-name>If user answers "a" or "auto" or "你安装":
npx skills add <owner/repo> --skill <skill-name> --agent cursor --yes.agents/skills/<skill-name>/SKILL.md content and write to .cursor/skills/<skill-name>/SKILL.mdscripts/ exists: Copy recursively to .cursor/skills/<skill-name>/scripts/
Copy-Item -Recursecp -r.agents/skills/<skill-name>/After installation (both branches):
.cursor/skills/<skill-name>/SKILL.md existsRead & Analyze:
.cursor/skills/<skill-name>/SKILL.md completelyscripts/ exists: List code files (.py, .js, .ts, .sh, etc.), analyze each:
Generate technical-review.md:
Agent-skills-share/daily-posts/YYYY-MM-DD-<skill-name>/technical-review.md【Wait Point】 是否要体验这个 skill? [y/n]
If user answers "n" or "否" or "no":
If user answers "y" or "是" or "yes":
Agent-skills-share/daily-posts/YYYY-MM-DD-<skill-name>/workspace/ directoryAgent-skills-share/daily-posts/YYYY-MM-DD-<skill-name>/workspace/ 目录下进行体验和测试。/ Workspace directory created. You can test the skill in the workspace directory."Context: User chose to experience the skill in Phase 5, completed experience, and confirmed completion. At this point:
technical-review.md exists (generated in Phase 5)final.md does NOT exist yet (will be created in this phase)【Wait Point】 是否要更新文案? [y/n]
If user answers "n" or "否" or "no":
If user answers "y" or "是" or "yes":
generate_final.md 规则(draft + technical-review → final):
draft.md 与 technical-review.md【】 小节,无 ##/**,链接 [文字](url),安装命令独立成行final.md:
【小节名】 作分隔,不用 ##/**,链接 [文字](url),安装命令独立成行无代码块。Frontmatter format (all documents):
---
信息来源: [actual source]
生成时间: YYYY-MM-DD HH:MM:SS
[更新说明: optional, context-specific]
---
RECORD.md update (at workflow end):
Agent-skills-share/daily-posts/RECORD.mddraft.md, final.md, technical-review.md## YYYY-MM-DD - <skill-name>
- **Skill**: [skill-name](https://skills.sh/owner/repo/skill-name)
- **状态**: ✅ 已完成
- **draft.md信息来源**: [source] | [链接](daily-posts/YYYY-MM-DD-skill-name/draft.md)
- **final.md信息来源**: [source] | [链接](daily-posts/YYYY-MM-DD-skill-name/final.md)
- **technical-review.md信息来源**: [source] | [链接](daily-posts/YYYY-MM-DD-skill-name/technical-review.md)
可与 xhs-render 联动:生成 final.md 后,用 xhs-render 将其转为配图。
When user says /skill or requests daily skill content:
Generate or edit images via Gemini 3 Pro Image (Nano Banana Pro).
Batch-generate images via OpenAI Images API. Random prompt sampler + `index.html` gallery.
Generate spectrograms and feature-panel visualizations from audio with the songsee CLI.
Extract frames or short clips from videos using ffmpeg.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.
Category:media-generate