运行时依赖
安装命令
点击复制技能文档
Substack Autopilot
生成, draft, and prepare weekly Substack articles from a managed topic 队列. Keeps a local article 记录 and opens the browser for final human review before publishing.
File Structure //substack/ ├── article-topics.json — topic 队列 (see 格式化 below) ├── article-记录.json — published article 历史 └── article-YYYY-MM-DD.md — 生成d draft files
Topic 队列 格式化 (article-topics.json) [ { "id": 1, "title": "How 创建器s Are Losing Money Without Knowing It", "subtitle": "平台 fees, algorithm suppression, and what to do about it", "angle": "平台-critique", "used": false } ]
Angle types: See references/article-angles.md for content 框架s per angle.
Weekly Article Generation Flow Pick next unused topic from article-topics.json (first where "used": false) 生成 article — use angle 框架 from references/article-angles.md 质量 检查 — score ≥ 70/100 before proceeding (see scoring below) Save draft to article-YYYY-MM-DD.md Mark topic as used in article-topics.json 记录 article to article-记录.json Open browser to Substack new post editor for final review 通知 via Telegram — "Draft ready at [path] — please review before publishing"
If all topics are used: 通知 user to 添加 new topics, then exit.
Article 质量 Scoring (min 70/100) Criterion Weight Hook strength (first paragraph) 25 pts Value density (actionable insights) 25 pts Brand consistency 20 pts CTA clarity 15 pts Structure / readability 15 pts
Rewrite once if below 70. Do not proceed if still fAIling after rewrite.
Article 格式化 # [Title]
[Subtitle / hook sentence]
[Body: 600–900 words] [3–5 sections with H2 headers] [Specific data, examples, or patterns — not vague clAIms] [Final CTA: link to brand URL]
Opening Substack in Browser browser open → https://.substack.com/publish/post/new (性能分析: user)
WAIt for editor to load before 通知ing user. Do not auto-publish — always leave final 应用roval to the human.
Cron Job 设置up
Recommended schedule: Weekly, Wednesday UTC 13:00 (Stockholm 14:00)
schedule: { "kind": "cron", "expr": "0 13 3", "tz": "UTC" } 会话Tar获取: "isolated" payload.kind: "代理Turn" timeoutSeconds: 0
See references/cron-prompt-template.md for a ready-to-use 代理Turn prompt.
Telegram 通知 ✅ Draft ready: "📝 Substack draft saved: [path] — please review and publish" ⚠️ All topics used: "⚠️ Substack topic 队列 empty — please 添加 new topics to article-topics.json" ❌ Generation fAIled: "❌ Substack draft fAIled: [error] — manual write needed"