# Send Generate News Article to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "generate-news-article",
    "name": "Generate News Article",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/near2sea/generate-news-article",
    "canonicalUrl": "https://clawhub.ai/near2sea/generate-news-article",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/generate-news-article",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=generate-news-article",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "_meta.json",
      "scripts/generate.sh"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/generate-news-article"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/generate-news-article",
    "downloadUrl": "https://openagent3.xyz/downloads/generate-news-article",
    "agentUrl": "https://openagent3.xyz/skills/generate-news-article/agent",
    "manifestUrl": "https://openagent3.xyz/skills/generate-news-article/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/generate-news-article/agent.md"
  }
}
```
## Documentation

### Generate News Article

自动从 SerpAPI Google 搜索结果生成多篇独立的 Markdown 文章。

### 功能

接收搜索关键词（默认：AI助手）
调用 SerpAPI Google 搜索（默认获取 5 条结果）
为每条结果生成独立的 Markdown 文件
自动下载缩略图到 assets 目录
以时间目录结构保存文章

### 使用

# 使用默认关键词 "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)

### 特性

✅ 每条搜索结果生成独立文件
✅ 文件名使用搜索标题（自动清理特殊字符）
✅ 自动下载缩略图
✅ 支持指定文章数量
✅ 按日期归档

### 依赖

SerpAPI skill（必须已安装）
SERPAPI_API_KEY 环境变量
Python 3（用于 JSON 解析和图片下载）

### 注意事项

如果搜索结果没有缩略图，cover 字段会留空
文件名会自动清理特殊字符
文章按搜索结果的序号生成
搜索使用 Google 搜索引擎（不是 Google News）
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: near2sea
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/generate-news-article)
- [Send to Agent page](https://openagent3.xyz/skills/generate-news-article/agent)
- [JSON manifest](https://openagent3.xyz/skills/generate-news-article/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/generate-news-article/agent.md)
- [Download page](https://openagent3.xyz/downloads/generate-news-article)