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

zai-search

bởi bartoszpijet

Web & Frontend Development
456Lượ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

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

Mô tả

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

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

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

Yêu cầu

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

Cài đặt

clawhub install bartoszpijet/zai-search

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