Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
Connects to Zhipu AI's API to run live web searches using the glm-4-flash model with a built-in web_embeddings tool. Returns current information for queries that need up-to-date data not available in a model's training set.
Provides live web search through a Chinese AI provider, which can be useful when other search APIs are restricted or unavailable in certain network environments.
When to use it
- Looking up breaking news on a specific topic
- Checking current prices or product availability
- Finding recent announcements from a company or project
- Retrieving real-time event details
- Searching for information published after a model's training cutoff
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: What's the latest news about the Chinese AI industry?
- 1Constructs a POST request to the Zhipu chat completions endpoint with the web_embeddings tool enabled
- 2Sets the user message to the search query in Chinese or English
- 3Sends the request via curl with the ZHIPU_API_KEY authorization header
- 4Pipes the JSON response through jq to extract the message content
A summary of recent news and web results about the Chinese AI industry
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.