返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
b

bigmodel-web-search-fallback

Use Zhipu / BigModel web search as a non-invasive fallback when the built-in web_search route is unavailable, failing, or the user explicitly wants 智谱 / BigModel / GLM search. Supports both direct structured search results and chat-completions search-with-summary. Supports engine switching across search_std, search_pro, search_pro_sogou, and search_pro_quark.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
86
下载量
0
收藏
概述
安装方式
版本历史

bigmodel-web-search-fallback

# BigModel Web Search Fallback Use this skill when you want Zhipu search **without modifying OpenClaw core**. It provides a local wrapper script with two execution modes: - `raw` — call Zhipu Web Search API directly and get structured results - `chat` — call Zhipu chat completions with the built-in `web_search` tool and get a synthesized answer ## Requirements Make sure the OpenClaw host has one of these environment variables set: - `ZAI_API_KEY` - `ZHIPUAI_API_KEY` - `BIGMODEL_API_KEY` If none is present, stop and report missing auth instead of retrying blindly. ## Engine selection This skill supports four Zhipu search engines: - `search_std` — default, lowest-cost/basic search - `search_pro` — stronger general search quality - `search_pro_sogou` — 搜狗-backed route - `search_pro_quark` — 夸克-backed route Default to `search_std` unless the user asks for: - better search quality - broader retrieval coverage - a specific upstream engine - result comparison across engines When the user explicitly names an engine, honor it. ## Quick decision - Use `raw` when you want structured results such as title/link/summary/media/date and you will write the final answer yourself. - Use `chat` when you want GLM to search and summarize in one call. - Use `search_std` first for routine lookups. - Switch to `search_pro` when quality matters more than cost. - Switch to `search_pro_sogou` or `search_pro_quark` when the user wants to test or compare engines. ## Commands Run commands from the skill directory or use absolute paths. ### Raw structured search ```bash python scripts/zhipu_web_search.py raw --query "OpenClaw 是什么" --engine search_std --count 5 --pretty ``` ### Search + answer synthesis ```bash python scripts/zhipu_web_search.py chat --query "请简要说明 OpenClaw 是什么,并给出搜索来源。" --engine search_std --count 5 --pretty ``` ### Higher-quality search ```bash python scripts/zhipu_web_search.py raw --query "今天的 AI 新闻" --engine search_pro --count 5 --pretty ``` ### Explicit engine comparison ```bash python scripts/zhipu_web_search.py raw --query "OpenClaw 是什么" --engine search_pro_sogou --count 5 --pretty python scripts/zhipu_web_search.py raw --query "OpenClaw 是什么" --engine search_pro_quark --count 5 --pretty ``` ## Workflow 1. Decide whether the task needs `raw` results or a `chat`-generated answer. 2. Pick the engine: - default `search_std` - `search_pro` for better quality - `search_pro_sogou` / `search_pro_quark` for explicit engine routing or comparison 3. Run the wrapper script. 4. If using `raw`, summarize the returned results yourself and cite the best links. 5. If using `chat`, still sanity-check the answer before sending it. 6. If the user asks how this relates to built-in `web_search`, explain that this is a non-invasive fallback and does not replace OpenClaw core tooling. ## Notes - The script prints JSON to stdout for easy parsing. - Supported flags include `--domain-filter`, `--recency`, `--content-size`, `--count`, and `--engine`. - Read `references/api-notes.md` if you need API details, engine guidance, or more examples.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 bigmodel-web-search-fallback-1776119745 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 bigmodel-web-search-fallback-1776119745 技能

通过命令行安装

skillhub install bigmodel-web-search-fallback-1776119745

下载 Zip 包

⬇ 下载 bigmodel-web-search-fallback v1.0.0

文件大小: 5.75 KB | 发布时间: 2026-4-14 10:01

v1.0.0 最新 2026-4-14 10:01
Initial release: non-invasive Zhipu/BigModel web search fallback for OpenClaw with engine switching across search_std, search_pro, search_pro_sogou, and search_pro_quark.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部