Install
openclaw skills install generate-news-articleGenerate individual Markdown articles from SerpAPI Google search results with images
openclaw skills install generate-news-article自动从 SerpAPI Google 搜索结果生成多篇独立的 Markdown 文章。
# 使用默认关键词 "AI助手"
generate.sh
# 指定关键词
generate.sh "AI大模型"
# 指定关键词和结果数量
generate.sh "ChatGPT" 10
生成的文章保存在 agent 根目录的 output 文件夹中:
/Users/lihaijian/.openclaw/workspace-wechat-publisher/output/
└── 2026-02-22/
├── 文章标题1.md
├── 文章标题2.md
├── 文章标题3.md
├── 文章标题4.md
├── 文章标题5.md
└── assets/
├── image1.jpg
├── image2.jpg
└── ...
每篇 Markdown 文件包含:
---
title: 文章标题
cover: ./assets/image.jpg
---
# 文章标题
摘要内容...
[原文链接](https://example.com/article)