← 返回
未分类 Key

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 智谱 / BigM...
当内置 web_search 路由不可用、出现故障,或用户明确要求使用智谱/BigModel 时,将其作为非侵入式后备搜索使用。
gxhdky2345 gxhdky2345 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 342
下载
💾 0
安装
1
版本
#latest

概述

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

python scripts/zhipu_web_search.py raw --query "OpenClaw 是什么" --engine search_std --count 5 --pretty

Search + answer synthesis

python scripts/zhipu_web_search.py chat --query "请简要说明 OpenClaw 是什么,并给出搜索来源。" --engine search_std --count 5 --pretty

Higher-quality search

python scripts/zhipu_web_search.py raw --query "今天的 AI 新闻" --engine search_pro --count 5 --pretty

Explicit engine comparison

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.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 06:26 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

self-improving agent

pskoett
记录自身发现以实现自我改进的技能
★ 4,165 📥 938,870
ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,443 📥 328,796
ai-agent

Find Skills

root
帮助用户发现和安装智能体技能,当用户询问如「如何做X」、「找X的技能」、「有能做...的吗」等问题时
★ 1,519 📥 576,950