跳到正文
TakoAPI
返回技能列表

generate-news-article

由 near2sea 提供

Image & Video Generation
317下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

User runs: generate.sh "ChatGPT" 5

智能体
  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/

输出

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

前置要求

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

安装

clawhub install near2sea/generate-news-article

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接