跳到正文
TakoAPI
返回技能列表

zai-search

由 bartoszpijet 提供

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

简介

AI-optimized web search via Z.AI Web Search API.

描述

该技能的功能

Web search tool built on the Z.AI Web Search API, returning structured results with titles, URLs, and summaries formatted for LLM consumption. Supports filtering by result count, domain, and time range. Includes basic URL content extraction via native fetch.

Returns pre-structured results with metadata fields LLMs can directly consume, skipping manual HTML parsing or scraping.

何时使用

  • Finding recent news on a topic for an AI agent pipeline
  • Restricting search results to a single domain for targeted research
  • Extracting readable text from a specific URL
  • Filtering results by time range to get content from the past day, week, or month
  • Supplying structured search context to an LLM before generating a response

示例工作流

输入

User asks: find articles about climate policy published in the last week

智能体
  1. 1

    Run search.mjs with the query and --recency oneWeek flag

  2. 2

    Receive structured results containing titles, URLs, and summaries

  3. 3

    Pass the results array to the LLM as context

  4. 4

    LLM synthesizes a response from the provided summaries

输出

A list of recent climate policy articles with titles, URLs, and summaries ready for LLM processing

前置要求

  • ZAI_API_KEY environment variable, obtained by signing up at chat.z.ai

安装

clawhub install bartoszpijet/zai-search

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

链接