LaunchKit · 2026
Back to Skills

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

0
456 downloads
by @bartoszpijet

Setup & Installation

openclaw skills install @bartoszpijet/zai-search

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

npx clawhub install zai-search

What This Skill Does

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.

When to use it

  • 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

Example Workflow

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

INPUT

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

AGENT
  1. 1Run search.mjs with the query and --recency oneWeek flag
  2. 2Receive structured results containing titles, URLs, and summaries
  3. 3Pass the results array to the LLM as context
  4. 4LLM synthesizes a response from the provided summaries
OUTPUT

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

Requirements

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

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