当用户要求监控极客新闻(漫威/DC/星战/F1/游戏)、生成社交媒体帖子、 配置Instagram或Facebook自动发布、或提到热点资讯自动化时触发。 也在用户输入 /social-autopilot 时触发。
From social-autopilot-pluginnpx claudepluginhub istarwyh/agent-plugins --plugin social-autopilot-pluginThis skill uses the workspace's default tool permissions.
SETUP_GUIDE.mdreferences/card-design.mdreferences/troubleshooting.mdrequirements.txtscripts/__init__.pyscripts/common.pyscripts/generate_card.pyscripts/generate_posts.pyscripts/install_cron.pyscripts/models.pyscripts/poll_news.pyscripts/run.pyscripts/schedule_meta.pyscripts/setup.pyscripts/status.pytemplates/news_card.htmlProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Calculates TAM/SAM/SOM using top-down, bottom-up, and value theory methodologies for market sizing, revenue estimation, and startup validation.
监控热点新闻 → LLM生成帖子 → 新闻卡片图片 → Meta排期发布。
所有命令通过 python scripts/run.py <脚本> [参数...] 从 skill 根目录执行。
python -m pip install -r requirements.txtpython -m playwright install chromium.env.example 到 ~/social-autopilot/.env 并填入凭证| 操作 | 命令 |
|---|---|
| 首次配置 | python scripts/run.py setup.py |
| 抓取新闻 | python scripts/run.py poll_news.py --priority high |
| 生成帖子 | python scripts/run.py generate_posts.py |
| 生成卡片图 | python scripts/run.py generate_card.py --title "标题" --category marvel |
| Meta排期 | python scripts/run.py schedule_meta.py --mode facebook_only |
| 全链路运行 | python scripts/run.py pipeline |
| 安装定时任务 | python scripts/run.py install_cron.py |
| 状态检查 | python scripts/run.py status.py |
| 试运行 | 任意命令加 --dry-run(只打印不执行) |
当用户首次使用此skill时,按以下步骤引导:
~/social-autopilot/ 目录结构和配置文件python scripts/run.py pipeline --dry-runpython scripts/run.py install_cron.py如果用户尚未配置 Meta API,全链路终点为生成草稿(JSON + 卡片图),用户可手动发布。
用户输入 /social-autopilot 或 "帮我看看有什么新闻" 时:
python scripts/run.py pipeline~/social-autopilot/output/drafts/ 中的JSONSETUP_GUIDE.md — Meta API 全流程配置引导references/card-design.md — 新闻卡片设计规范references/troubleshooting.md — 常见问题排查