Z.AI Web Search for Openclaw

A high-performance search skill for AI agents that returns structured, LLM-ready web data including summaries and metadata.

bartoszpijet
v1.0.0
Feb 19, 2026
1
2k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install zai-search

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install zai-search using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Z.AI Web Search?

The Z.AI Web Search skill is an essential addition to any developer's toolkit when working with Openclaw Skills. It bridges the gap between static knowledge and the live web by providing structured search results specifically tailored for LLM consumption. By returning clear titles, URLs, and concise summaries, it allows AI agents to perform complex research tasks, verify facts, and stay updated with current events without the overhead of complex web scraping. This tool is optimized to ensure that the context provided to the model is relevant, clean, and highly actionable.

Z.AI Web Search Use Cases

  • Powering autonomous agents with real-time information retrieval.
  • Conducting focused research within specific domains using domain filters.
  • Generating news summaries within specific timeframes to monitor trends.
  • Extracting raw text content from specific URLs for deep-dive context analysis.

How Z.AI Web Search Works

  1. The user or agent initiates a request by providing a search query or a specific target URL.
  2. Optional parameters are applied to the request, such as result count, domain constraints, or recency filters.
  3. The skill script authenticates with the Z.AI API using the configured environment credentials.
  4. The tool fetches structured JSON results containing metadata like titles, summaries, and site favicons.
  5. For extraction tasks, the script retrieves the page source and strips HTML to provide clean text content for the model.

Z.AI Web Search Setup

To get started with this component of Openclaw Skills, follow these installation steps:

  1. Obtain an API key from the Z.AI Platform (https://chat.z.ai).
  2. Ensure Node.js is installed on your system.
  3. Configure your environment variable:
export ZAI_API_KEY="your_zai_api_key"
  1. Execute a test search to verify the connection:
node scripts/search.mjs "Openclaw Skills functionality"

Z.AI Web Search Data Schema & Taxonomy

This skill returns data in a structured format designed for easy LLM ingestion. The primary schema includes:

Field Type Description
title String The headline of the search result
url String The direct link to the webpage
summary String An AI-optimized content snippet
siteName String The name of the source website
favicon String URL to the site's favicon icon

Z.AI Web Search Advanced Features

  • Support for high-volume results with up to 50 entries per query.
  • Granular recency filtering ranging from 24 hours to 1 year using the --days or --recency flags.
  • Domain-specific scoping to restrict searches to trusted or authoritative sources.
  • Built-in text extraction utility to bypass complex scraping requirements for individual URLs.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*