Zhipu Web Search for Openclaw

A powerful search integration that enables AI agents to retrieve real-time information and the latest news from the internet using the Zhipu API.

honestqiao
v1.0.0
Feb 22, 2026
0
0
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install doubao-image-gen

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 doubao-image-gen 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 Zhipu Web Search?

The Zhipu Web Search skill provides a robust interface for AI coding agents to interact with the Zhipu (BigModel) web search API. By leveraging the GLM-4-flash model, it allows agents to perform comprehensive internet searches, making it an essential addition to your collection of Openclaw Skills. It ensures that your automated workflows are not limited by training data cutoffs, providing access to live web data, breaking news, and current events through a secure and efficient protocol.

This skill is designed for developers who need their agents to stay current. It prioritizes security by utilizing environment variables for API key management and ensures data integrity by using jq for JSON escaping. Whether you are building a research assistant or a news aggregator, this skill provides the connectivity required for modern AI applications.

Zhipu Web Search Use Cases

  • When a user asks for specific information that requires real-time web browsing.
  • Retrieving the latest news or updates on a specific topic or industry.
  • Verifying current facts or data points that change frequently, such as stock prices or weather.
  • Conducting deep research within an automated agent workflow to provide cited evidence.

How Zhipu Web Search Works

  1. The AI agent identifies a need for external information based on the user's specific query.
  2. The skill validates the input query to ensure it meets length requirements (maximum 500 characters).
  3. A secure HTTPS POST request is sent to the official Zhipu API endpoint using curl with TLS 1.2+.
  4. The GLM-4-flash model processes the query through the dedicated web_search tool.
  5. The resulting JSON response is parsed using jq to prevent injection and ensure safe consumption.
  6. The agent receives the retrieved content and incorporates the findings into its final output.

Zhipu Web Search Setup

To get started with this skill, you must first obtain an API key from the BigModel user center. Then, configure your environment as follows:

# Export your Zhipu API key for the current session
export DOUBAO_API_KEY="your_api_key_here"

# Ensure jq is installed for JSON processing
sudo apt-get install jq

For security, it is highly recommended to set the environment variable directly when running your agent rather than storing it in plain text shell configuration files.

Zhipu Web Search Data Schema & Taxonomy

The skill interacts with the Zhipu API using a standard JSON request and response structure. Data is organized as follows:

Component Type Description
DOUBAO_API_KEY Env Var Required authentication token for API access.
Query String The search string, limited to 500 characters for safety.
JSON Tooling jq Used to sanitize input and parse output fields.
Model String Uses the glm-4-flash model for efficient search processing.
Timeout Numeric Hardcoded 30-second curl timeout to prevent process hangs.

Zhipu Web Search Advanced Features

  • Multi-agent compatibility within the wider ecosystem of Openclaw Skills.
  • Enhanced security features including forced TLS 1.2+ and JSON escaping using jq.
  • Input validation mechanisms that limit query length to 500 characters to prevent buffer issues.
  • Support for custom shell scripts to wrap search queries for complex automation pipelines.
  • Detailed error handling that provides generic messages to prevent path or file hint leaks.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*