Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

generate-news-article

bởi near2sea

Image & Video Generation
317Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User runs: generate.sh "ChatGPT" 5

AGENT
  1. 1

    Calls SerpAPI Google Search with the keyword and result count

  2. 2

    Receives 5 search result entries with titles, snippets, and thumbnail URLs

  3. 3

    Downloads each thumbnail image to an assets/ subdirectory

  4. 4

    Creates one Markdown file per result with frontmatter title, cover path, summary, and source link

  5. 5

    Saves all files under output/2026-03-16/

ĐẦU RA

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

Yêu cầu

  • SERPAPI_API_KEY environment variable
  • SerpAPI account (serpapi.com)

Cài đặt

clawhub install near2sea/generate-news-article

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết