zhipu-search
by honestqiao
Web & Frontend DevelopmentBrief
Use Zhipu (智谱) web search API for searching the internet.
Description
What This Skill Does
Connects to Zhipu's (智谱) web search API to retrieve current information from the internet. Uses the GLM-4-Flash model with web_search tool support via curl and jq.
Provides live web results directly in the agent workflow without requiring a browser or separate search tool.
When to Use It
- Looking up today's news on a topic
- Checking current prices or availability
- Finding recent documentation or changelogs
- Researching events that happened after the model's cutoff
- Getting up-to-date facts during a conversation
Example Workflow
User asks: What are the latest updates to the Go programming language?
- 1
Reads ZHIPU_API_KEY from environment
- 2
Sends POST request to Zhipu API with web_search tool and query
- 3
Receives search-augmented response from GLM-4-Flash
- 4
Extracts content from choices[0].message.content via jq
- 5
Returns the answer to the user
A summary of recent Go release notes and updates sourced from the web
Requirements
- ZHIPU_API_KEY environment variable — obtain from https://www.bigmodel.cn/usercenter/proj-mgmt/apikeys
Installation
clawhub install honestqiao/zhipu-searchRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.