← Back to Skills Marketplace
Z.AI Web Search
by
Bartosz Pijet
· GitHub ↗
· v1.0.0
1125
Downloads
1
Stars
6
Active Installs
1
Versions
Install in OpenClaw
/install zai-search
Description
AI-optimized web search via Z.AI Web Search API. Returns structured results (title, URL, summary) for LLM processing.
Usage Guidance
This skill appears to do what it says: it posts search requests to api.z.ai using ZAI_API_KEY and provides a basic HTML extractor. Before installing, consider: (1) Only provide an API key you control and can rotate; treat it as sensitive. (2) If you run agents in environments with access to internal networks or metadata services, be aware that the extract script can fetch arbitrary URLs — run in a network-restricted/isolated environment if you’re concerned. (3) Source is listed as unknown; if you need higher assurance, verify the publisher (owner ID) or inspect the included scripts yourself (they are short and readable). Rotate or revoke the key if you stop using the skill.
Capability Analysis
Type: OpenClaw Skill
Name: zai-search
Version: 1.0.0
The `scripts/extract.mjs` file is vulnerable to Server-Side Request Forgery (SSRF). It fetches content from arbitrary URLs provided as input without sufficient validation or restriction, allowing an attacker to potentially access internal network resources, cloud metadata endpoints, or other sensitive services from the agent's host. While this is a significant vulnerability, there is no clear evidence of intentional malicious behavior (e.g., exfiltration to an attacker-controlled domain, persistence, or obfuscation), classifying it as suspicious rather than malicious. Other files are benign.
Capability Assessment
Purpose & Capability
Name/description match the implementation: scripts call Z.AI's web_search API and require ZAI_API_KEY. Required binary (node) is expected and proportional.
Instruction Scope
SKILL.md instructs only running the included node scripts. The extract script fetches arbitrary URLs and strips HTML (intended behavior for extraction). Note: arbitrary URL fetching can reach internal/metadata endpoints if run in an environment with broad network access — this is a normal capability for a URL-extraction tool but worth being aware of.
Install Mechanism
No remote install/downloads or package installs are specified. The skill is instruction+local scripts only (no external archive downloads), minimizing install-time risk.
Credentials
Only ZAI_API_KEY (primary credential) is required, which is appropriate for calling the Z.AI Web Search API. The code also optionally checks Z_AI_API_KEY as a fallback — benign but documented.
Persistence & Privilege
always is false and the skill does not request elevated or cross-skill configuration. It does not persist or modify other skills or agent-wide settings.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install zai-search - After installation, invoke the skill by name or use
/zai-search - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of z.ai-web-search skill.
- Provides AI-optimized web search via Z.AI Web Search API with structured results (titles, URLs, summaries).
- Offers search options for result count, domain filtering, and recency.
- Includes utility to extract and clean page content from a URL.
- Requires Node.js and a ZAI_API_KEY for setup.
Metadata
Frequently Asked Questions
What is Z.AI Web Search?
AI-optimized web search via Z.AI Web Search API. Returns structured results (title, URL, summary) for LLM processing. It is an AI Agent Skill for Claude Code / OpenClaw, with 1125 downloads so far.
How do I install Z.AI Web Search?
Run "/install zai-search" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Z.AI Web Search free?
Yes, Z.AI Web Search is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Z.AI Web Search support?
Z.AI Web Search is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Z.AI Web Search?
It is built and maintained by Bartosz Pijet (@bartoszpijet); the current version is v1.0.0.
More Skills