{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/generate-news-article",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=generate-news-article",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "_meta.json",
      "scripts/generate.sh"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/generate-news-article",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Generate News Article",
        "body": "自动从 SerpAPI Google 搜索结果生成多篇独立的 Markdown 文章。"
      },
      {
        "title": "功能",
        "body": "接收搜索关键词（默认：AI助手）\n调用 SerpAPI Google 搜索（默认获取 5 条结果）\n为每条结果生成独立的 Markdown 文件\n自动下载缩略图到 assets 目录\n以时间目录结构保存文章"
      },
      {
        "title": "使用",
        "body": "# 使用默认关键词 \"AI助手\"\ngenerate.sh\n\n# 指定关键词\ngenerate.sh \"AI大模型\"\n\n# 指定关键词和结果数量\ngenerate.sh \"ChatGPT\" 10"
      },
      {
        "title": "输出结构",
        "body": "生成的文章保存在 agent 根目录的 output 文件夹中：\n\n/Users/lihaijian/.openclaw/workspace-wechat-publisher/output/\n└── 2026-02-22/\n    ├── 文章标题1.md\n    ├── 文章标题2.md\n    ├── 文章标题3.md\n    ├── 文章标题4.md\n    ├── 文章标题5.md\n    └── assets/\n        ├── image1.jpg\n        ├── image2.jpg\n        └── ..."
      },
      {
        "title": "文章格式",
        "body": "每篇 Markdown 文件包含：\n\n---\ntitle: 文章标题\ncover: ./assets/image.jpg\n---\n\n# 文章标题\n\n摘要内容...\n\n[原文链接](https://example.com/article)"
      },
      {
        "title": "特性",
        "body": "✅ 每条搜索结果生成独立文件\n✅ 文件名使用搜索标题（自动清理特殊字符）\n✅ 自动下载缩略图\n✅ 支持指定文章数量\n✅ 按日期归档"
      },
      {
        "title": "依赖",
        "body": "SerpAPI skill（必须已安装）\nSERPAPI_API_KEY 环境变量\nPython 3（用于 JSON 解析和图片下载）"
      },
      {
        "title": "注意事项",
        "body": "如果搜索结果没有缩略图，cover 字段会留空\n文件名会自动清理特殊字符\n文章按搜索结果的序号生成\n搜索使用 Google 搜索引擎（不是 Google News）"
      }
    ],
    "body": "Generate News Article\n\n自动从 SerpAPI Google 搜索结果生成多篇独立的 Markdown 文章。\n\n功能\n接收搜索关键词（默认：AI助手）\n调用 SerpAPI Google 搜索（默认获取 5 条结果）\n为每条结果生成独立的 Markdown 文件\n自动下载缩略图到 assets 目录\n以时间目录结构保存文章\n使用\n# 使用默认关键词 \"AI助手\"\ngenerate.sh\n\n# 指定关键词\ngenerate.sh \"AI大模型\"\n\n# 指定关键词和结果数量\ngenerate.sh \"ChatGPT\" 10\n\n输出结构\n\n生成的文章保存在 agent 根目录的 output 文件夹中：\n\n/Users/lihaijian/.openclaw/workspace-wechat-publisher/output/\n└── 2026-02-22/\n    ├── 文章标题1.md\n    ├── 文章标题2.md\n    ├── 文章标题3.md\n    ├── 文章标题4.md\n    ├── 文章标题5.md\n    └── assets/\n        ├── image1.jpg\n        ├── image2.jpg\n        └── ...\n\n文章格式\n\n每篇 Markdown 文件包含：\n\n---\ntitle: 文章标题\ncover: ./assets/image.jpg\n---\n\n# 文章标题\n\n摘要内容...\n\n[原文链接](https://example.com/article)\n\n特性\n✅ 每条搜索结果生成独立文件\n✅ 文件名使用搜索标题（自动清理特殊字符）\n✅ 自动下载缩略图\n✅ 支持指定文章数量\n✅ 按日期归档\n依赖\nSerpAPI skill（必须已安装）\nSERPAPI_API_KEY 环境变量\nPython 3（用于 JSON 解析和图片下载）\n注意事项\n如果搜索结果没有缩略图，cover 字段会留空\n文件名会自动清理特殊字符\n文章按搜索结果的序号生成\n搜索使用 Google 搜索引擎（不是 Google News）"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/near2sea/generate-news-article",
    "publisherUrl": "https://clawhub.ai/near2sea/generate-news-article",
    "owner": "near2sea",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}