LaunchKit · 2026
Back to Skills

generate-news-article

Generate individual Markdown articles from SerpAPI Google search results with images.

0
317 downloads
by @near2sea

Setup & Installation

openclaw skills install @near2sea/generate-news-article

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install generate-news-article

What This Skill Does

Searches Google via SerpAPI for a given keyword and generates one Markdown article file per result, including downloaded thumbnail images organized into date-stamped directories.

Combines search, content generation, and asset downloading into a single command instead of manually querying an API, writing files, and fetching images separately.

When to use it

  • Building a daily news digest from search trends
  • Populating a content pipeline with topic-specific articles
  • Archiving search results as structured Markdown files
  • Generating draft articles for a WeChat or blog publisher
  • Batch-collecting images and summaries for a given keyword

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User runs: generate.sh "ChatGPT" 5

AGENT
  1. 1Calls SerpAPI Google Search with the keyword and result count
  2. 2Receives 5 search result entries with titles, snippets, and thumbnail URLs
  3. 3Downloads each thumbnail image to an assets/ subdirectory
  4. 4Creates one Markdown file per result with frontmatter title, cover path, summary, and source link
  5. 5Saves all files under output/2026-03-16/
OUTPUT

5 Markdown articles in output/2026-03-16/ with associated images in assets/

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

SERPAPI_API_KEY environment variableSerpAPI account (serpapi.com)