doubao-image-gen
honestqiao 제작
Web & Frontend Development요약
Use Zhipu (智谱) web search API for searching the internet.
설명
이 스킬이 하는 일
Runs web searches using Zhipu's (智谱) GLM-4-Flash model and its built-in web_search tool. Returns current information from the internet in response to natural language queries. The API key must be set before use.
Brings live web search results directly into an agent workflow without requiring a separate search API subscription or browser automation.
사용 시점
- Looking up breaking news on a specific topic
- Checking current prices or availability of a product
- Finding the latest version or release notes for a library
- Retrieving real-time sports or event results
- Getting up-to-date facts before drafting a report
예시 워크플로
User asks: What are the latest developments in quantum computing this week?
- 1
Read the DOUBAO_API_KEY from the environment
- 2
Construct a POST request to the Zhipu chat completions endpoint with the web_search tool enabled
- 3
Send the query via curl with a 30-second timeout
- 4
Parse the JSON response with jq to extract the message content
- 5
Return the search results to the user
A summary of recent quantum computing news sourced from current web results
요구 사항
- DOUBAO_API_KEY environment variable
- Zhipu AI account at bigmodel.cn to generate the API key
설치
clawhub install honestqiao/doubao-image-genCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.