ai-news-publisher

AI新闻一键发布技能。从36氪/虎嗅获取AI新闻,改写成爆款文章,发布到微信公众号。触发词:发布AI新闻、公众号发文章、科技新闻发布、爆款文章。

3,891 stars

Best use case

ai-news-publisher is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

AI新闻一键发布技能。从36氪/虎嗅获取AI新闻,改写成爆款文章,发布到微信公众号。触发词:发布AI新闻、公众号发文章、科技新闻发布、爆款文章。

Teams using ai-news-publisher should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/ai-news-publisher/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/anydebug/ai-news-publisher/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/ai-news-publisher/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How ai-news-publisher Compares

Feature / Agentai-news-publisherStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

AI新闻一键发布技能。从36氪/虎嗅获取AI新闻,改写成爆款文章,发布到微信公众号。触发词:发布AI新闻、公众号发文章、科技新闻发布、爆款文章。

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# AI新闻一键发布

一键从科技媒体获取AI新闻,改写成爆款文章,发布到微信公众号草稿箱。
完全独立,不依赖任何第三方技能。

## 目录结构
- `scripts/`: 包含微信发布脚本(`publish.sh`)、环境配置(`setup.sh`)和新闻抓取脚本(`scrape_news.py`)。
- `assets/`: 默认封面图(`default-cover.jpg`)。
- `references/`: 包含详细的写作指南和Scrapling抓取/解析说明。

## 环境准备与依赖
- 依赖:确保已安装 `scrapling` (Python) 和 `@wenyan-md/cli` (Node.js)。
- 凭证:环境变量须包含 `WECHAT_APP_ID` 和 `WECHAT_APP_SECRET`(或通过 `source scripts/setup.sh` 加载)。
- 权限:确保当前服务器IP(可通过 `curl ifconfig.me` 获取)已加入公众号开发基本配置的白名单。

## 完整工作流程

当触发本技能时,请严格按以下步骤执行:

1. **抓取新闻列表**
   使用 `scrapling` 获取 36氪 或 虎嗅 的AI频道新闻列表:
   ```bash
   scrapling extract get "https://www.36kr.com/information/AI/" /tmp/ai-news.md
   ```
   *(注:如果遇到反爬拦截,可使用 `fetch --network-idle` 或 `stealthy-fetch`)*

2. **去重与选题策划**
   - 提取最新10条新闻的标题、摘要、链接。
   - 读取已发布记录:`cat memory/selected-topics.md`,排除近3天已发布或相似的主题。
   - 选出1条最具爆款潜质的新闻(热点性、争议性、情绪价值等)。

3. **抓取原文与改写**
   - 抓取选中新闻的原文内容。
   - **极其重要**:在改写之前,请务必阅读 [references/writing-guide.md](references/writing-guide.md) 获取爆款标题公式、结构模板和行文节奏指南。
   - 按照指南,改写为 1000-2000 字的高质量文章,包含钩子、痛点、分析、互动引导和金句。

4. **格式化文章**
   生成包含必需 Frontmatter 的 Markdown 文件:
   ```markdown
   ---
   title: 爆款标题(≤30字)
   cover: /root/.openclaw/workspace/skills/ai-news-publisher/assets/default-cover.jpg
   ---
   
   # 正文开始...
   ```
   *(注意:封面必须是绝对路径,正文段落宜简短并适当加粗)*

5. **发布到草稿箱**
   使用专用脚本发布(推荐使用 lapis 主题和 solarized-light 代码高亮):
   ```bash
   /root/.openclaw/workspace/skills/ai-news-publisher/scripts/publish.sh /tmp/final-article.md lapis solarized-light
   ```

6. **记录选题与收尾**
   - 记录本次发布:
     ```bash
     echo "- $(date +%H:%M) | 文章标题 | 原文链接" >> memory/selected-topics.md
     ```
   - 向用户返回文章草稿箱链接及预览信息。

## 错误处理
- **抓取失败**:依次降级尝试 `fetch` -> `stealthy-fetch` -> 更换新闻源。
- **发布报错 (ip not in whitelist)**:提示用户将服务器公网IP加白。
- **发布报错 (title/cover missing)**:检查 Markdown 头部是否严格按照要求包含了 `title` 和 `cover` 字段。

## 详细指南(按需参考)
在使用此技能时,遇到具体细节问题请查阅以下参考文件:
- [writing-guide.md](references/writing-guide.md) - **写作必读**:爆款文章结构、标题公式、金句模板及排版要求。
- [scrapling-fetching.md](references/scrapling-fetching.md) - 抓取指南:命令用法、隐身模式、代理配置。
- [scrapling-parsing.md](references/scrapling-parsing.md) - 解析指南:CSS/XPath选择器用法与API。

Related Skills

trending-news-aggregator

3891
from openclaw/skills

智能热点新闻聚合器 - 自动抓取多平台热点新闻, AI分析趋势,支持定时推送和热度评分。 核心功能: - 每天自动聚合多平台热点(微博、知乎、百度等) - 智能分类(科技、财经、社会、国际等) - 热度评分算法 - 增量检测(标记新增热点) - AI趋势分析

Data & Research

news-hot-scraper

3891
from openclaw/skills

This skill should be used when users need to scrape hot news topics from Chinese platforms (微博、知乎、B站、抖音、今日头条、腾讯新闻、澎湃新闻), generate summaries, and cite sources. It supports both API-based and direct scraping methods, and offers both extractive and abstractive summarization techniques.

Data & Research

nansen-binance-publisher

3891
from openclaw/skills

Automatically fetch multi-dimensional on-chain data using Nansen CLI, compile a comprehensive and beautifully formatted daily report, and publish it to Binance Square. Auto-run on messages like 'generate nansen daily report', 'post nansen daily to square', or when the user triggers the slash commands `/nansen` or `/post_square`.

Content & Documentation

wechat-publisher

3891
from openclaw/skills

一键发布 Markdown 到微信公众号草稿箱。基于 wenyan-cli,支持多主题、代码高亮、图片自动上传。

Content & Documentation

ai-news-brief

3891
from openclaw/skills

自动抓取 AI/算力/大模型/GPU 相关最新资讯简报,使用 Chrome 浏览器自动化绕过反爬,支持多个科技媒体来源,支持PDF生成和邮件推送

blog-publisher-lite

3891
from openclaw/skills

Publish markdown articles to Dev.to via their REST API. Use this skill whenever the user wants to publish a blog post or article to Dev.to.

Agent News (Free Tier)

3891
from openclaw/skills

A free AI enriched global news stream for agents, provided by agentnewsapi.com. Powered by $ANA on Solana.

crypto-news-ns3

3891
from openclaw/skills

AI reads 20+ crypto media outlets in real time and ranks every article by importance. No API key, instant access. Binance and CoinGecko use our data. Market sentiment indicators optimized for trading signals and trigger data. Breaking news, coin-level filters, and exchange listing news from CoinMarketCap, Coinbase, Bybit, OKX, Hyperliquid, and Robinhood. Bitcoin (BTC), Ethereum (ETH), Solana (SOL), XRP, Dogecoin (DOGE), BNB, stablecoin (USDT, USDC), DeFi, ETF news, and whale alerts. 16 languages. Four feeds: real-time crypto news ranked by AI, daily market briefing, top stories ranking, and breaking headlines. Built for trading bots, TradingView workflows, and AI agents. Use when the user asks about crypto news, portfolio updates, market briefings, breaking headlines, top stories, or news about specific coins.

financial-news

3891
from openclaw/skills

财经新闻监控技能 - 财经新闻追踪、自动推送、重要新闻提醒

mastodon-publisher

3891
from openclaw/skills

Publish content to Mastodon. Use when you need to post a Mastodon status.

weibo-publisher

3891
from openclaw/skills

Publish posts to Weibo (Sina Weibo) using browser automation. Use when the user wants to post content to Weibo, share updates on Weibo, publish microblogs, or automate Weibo posting. Supports text posts with emoji, hashtags, and mentions. No API key required - uses browser automation with managed browser profile.

kaspa-news

3891
from openclaw/skills

Kaspa News — let your Claw know everything about Kaspa in one place: latest news, core development updates, ecosystem launches, community talks, and weekly reports summary. Use when someone asks what’s happening with Kaspa now, including dev/builder activity, top tweets, videos, and Reddit updates. No API keys needed.