skills/content-factory/SKILL.md
Automated content production pipeline: hot topic aggregation from 10+ platforms (Bilibili, GitHub, Reddit, YouTube, Weibo, Zhihu, etc.), AI-powered topic scoring, multi-platform content generation (Xiaohongshu, WeChat, Twitter), draft review, and auto-publishing. Use when: user wants daily content pipeline, hot topic collection, content generation, article publishing, or content factory automation.
npx skillsauth add aaaaqwq/agi-super-skills content-factoryInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
从热点采集到内容生成到多平台发布的全流程自动化。Daniel 每天只需 2 分钟挑选主题。
热点采集(10+平台) → AI选题评分 → 推送Top10给用户
↓
用户选择主题(或自定义)
↓
多平台内容生成(LLM)
↓
草稿审核 → 确认发布
↓
自动发布 → 数据追踪
✅ USE when:
❌ DON'T use when:
data/
├── hotpool/ # 每日热点池 (YYYY-MM-DD.json)
├── topics/ # 评分选题 (YYYY-MM-DD.json)
├── drafts/ # 生成草稿 (YYYY-MM-DD/)
├── reviewed/ # 审核通过
├── published/ # 已发布记录
├── config/ # 运行配置
│ └── sources.json # 采集源配置
├── templates/ # 平台模板
│ ├── xiaohongshu.md
│ ├── wechat.md
│ └── twitter.md
└── assets/ # 图片等素材
| 脚本 | 功能 | 依赖 |
|------|------|------|
| scripts/aggregator/fetch_all.py | 10+平台热点采集 | curl, python3 |
| scripts/topic_scorer.py | AI选题评分(Top10) | LLM API (DeepSeek/GLM) |
| scripts/content_generator.py | 多平台内容生成 | LLM API |
| scripts/draft_reviewer.py | 草稿审核推送 | Telegram API |
| scripts/auto_publisher.py | 自动发布 | playwright (optional) |
| scripts/topic_presenter.py | 选题卡片推送 | Telegram API |
| scripts/run_daily.sh | 全流程串联 | bash |
| scripts/paths.py | 路径配置(可移植) | - |
| 平台 | 方式 | 内容类型 | |------|------|---------| | B站热榜 | API | 视频/动态 | | GitHub Trending | API | 开源项目 | | Reddit | API | 讨论/新闻 | | YouTube | API | 视频 | | 微博热搜 | API | 社交热点 | | 知乎热榜 | API | 深度讨论 | | 头条 | API | 新闻资讯 | | 抖音 | API | 短视频 | | Twitter/X | Syndication | KOL动态 | | LinuxDo | API | 技术社区 |
cd ~/clawd/skills/content-factory
pip install -r requirements.txt
# 手动执行全流程
bash scripts/run_portable.sh
# 或分步执行
python3 scripts/aggregator/fetch_all.py # Step 1: 热点采集
python3 scripts/topic_scorer.py # Step 2: AI评分
python3 scripts/topic_presenter.py # Step 3: 推送选题
python3 scripts/content_generator.py --top 3 # Step 4: 内容生成
python3 scripts/draft_reviewer.py --all # Step 5: 草稿审核
# python3 scripts/auto_publisher.py # Step 6: 发布(需确认)
内容工厂可以通过 Ralph CEO Loop 进行持续迭代:
data/config/sources.json)可启用/禁用各平台,配置关注的账号、频道等。
评分和生成使用 OpenAI-compatible API:
LLM_API_KEY / LLM_BASE_URL 覆盖testing
AI驱动的智能浏览器自动化工具。使用LLM理解页面并自动执行任务,比传统Playwright更智能、更省token。适用于复杂交互、动态页面、需要智能决策的浏览器操作。Chrome浏览器优先。
tools
网页登录态管理。使用 fast-browser-use (fbu) 管理各平台登录状态,定期检查可用性,新平台授权时自动保存 profile。
development
Monitor and report on API provider quotas, balances, and usage. Query official providers (Moonshot, DeepSeek, xAI, Google AI Studio) and relay/proxy providers (Xingjiabiapi, Aixn, WoW) via their billing APIs. Also checks subscription services (Brave Search, OpenRouter). Generates quota reports. Triggers on "查额度", "API余额", "quota check", "billing report", "api balance", "供应商额度", "中转站余额", "费用报告", "check balance", "how much credit".
development
# A股基金监控 Skill A股基金净值监控,支持实时估值和盘后净值,自动判断交易日/节假日。 ## 用法 ### 快速监控(命令行) ```bash # 默认配置,输出到控制台 bash ~/clawd/skills/a-fund-monitor/scripts/monitor.sh # 推送到群(使用--push参数) bash ~/clawd/skills/a-fund-monitor/scripts/monitor.sh --push # 监控指定基金 bash ~/clawd/skills/a-fund-monitor/scripts/monitor.sh --codes "000979 002943" ``` ### Agent调用 ``` 执行A股基金监控任务。 1. 读取配置文件: ~/clawd/skills/a-fund-monitor/config.json 2. 获取实时净值数据 3. 非交易日自动切换为简短报告 配置文件格式: { "funds": [ {"code": "000979", "name": "景顺长城沪港深精选股票