SuperAPI AI 工具集

ai-content-publisher

通用与其它

查看项目

更新于 10-16 04:59

技能介绍

用途:自动完成 AI 资讯抓取、选题、标题生成、文章撰写、排版与发布,目标读者为 AI 开发者、产品经理、创业者及想入门的人。

主要能力: 1)热点获取:从 AI 公司官方博客、技术媒体 RSS、GitHub Trending 抓取热点,仅保留 48 小时内内容。 2)时段策略:早 8 点做新工具/新模型介绍,中午 12 点做实战教程/技巧,晚 6 点做行业动态/深度分析。 3)智能选题与过滤:排除融资、市值、人事变动等信息,每次只选 1 个评分最高话题,输出 cache/selected_topic.json。 4)标题生成:强调具体数字、直接利益、明确具体、长度适中,避免标题党。 5)文章生成:标准模式 2000-3000 字,深度模式 5000 字,由复用技能 wechat-tech-writer 生成。 6)发布:经 wechat-article-formatter 转微信 HTML,由 wechat-draft-publisher 发到公众号草稿箱;另可压缩标题(≤20字)与正文(≤1000字)发布到小红书。

必要用法示例: python3 scripts/fetch_hotspots.py python3 scripts/selector.py python3 scripts/select_cover.py "$CONTENT_TYPE" "output/{日期}/article/" python3 /home/ubuntu/wechat_article_skills/wechat-tech-writer/generate.py --topic "$TOPIC_TITLE" --url "$TOPIC_URL" --type "$CONTENT_TYPE" --output "$OUTPUT_DIR" --mode standard python3 /home/ubuntu/.claude/skills/wechat-article-formatter/convert.py --input output/{日期}/article/article.md --theme tech --output output/{日期}/article/article_wechat.html python3 /home/ubuntu/.claude/skills/wechat-draft-publisher/publisher.py --title "{文章标题}" --content output/{日期}/article/article_wechat.html --cover output/{日期}/article/cover.png --author "阳桃AI干货" 定时任务:0 8,12,18 * * * cd /home/ubuntu && claude skill ai-content-publisher >> /var/log/ai-content.log 2>&1

限制与注意:封面图必须从封面库 assets/covers/ 选择,禁止用 canvas-design 或 AI 生成,选择失败须报错退出;小红书发布依赖 http://localhost:18060 的 Docker 服务;发布先进入草稿箱,可人工审核。价格、平台覆盖范围等其余细节资料暂未提供。