Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

zai-web-search在网络搜索

Agent Skill

zai-web-search 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

12,131

周安装

486

GitHub Stars

公开资料未说明

下载量

3,927
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:zai-web-search(在网络搜索)
来源仓库:https://github.com/tyduss/zai-web-search
安装命令:
openclaw skills install zai-web-search
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install zai-web-search

简介

使用知普AI的网页搜索API进行网页搜索(针对中文优化,支持4个引擎)。当用户要求搜索时使用,尤其是中文内容。

SKILL.md

description
Use ZHIPU AI's Web Search API to search the web (optimized for Chinese, supports 4 engines). Use when user asks to search, especially for Chinese content.

Z.AI Web Search API Skill

Search the web using ZHIPU AI's Web Search API —— an LLM-optimized search engine that returns structured results (title, URL, snippet, site name, icon) with intent recognition.

Overview

This skill provides AI-powered web search with support for multiple Chinese search engines. It's particularly optimized for Chinese-language content and LLM processing.

Search Engines Available

EngineProviderDescription
search_std智谱 AI基础版,快速响应
search_pro智谱 AI高阶版,最佳质量
search_pro_sogou搜狗搜狗搜索结果
search_pro_quark夸克夸克搜索结果

Pricing

See the official pricing page: https://open.bigmodel.cn/pricing

  • Web Search API uses token-based pricing
  • Different engines have different rates
  • Check the official page for the latest rates

Comparison with Other Search Tools

FeatureThis Skill (Z.AI)Brave Search
Chinese Support✅ Excellent⚠️ Limited
Intent Recognition✅ Yes❌ No
Multiple Engines✅ 4 engines❌ 1 engine
Time Filters✅ Yes✅ Yes
Domain Filter✅ Yes❌ No

First-Time Setup (For Users)

When you use this skill for the first time in OpenClaw, you'll be asked to configure it.

Configuration Steps

  1. Get an API Key: Visit https://open.bigmodel.cn to register and get your API key
  1. Choose Configuration Method:

- Create config.json in this skill folder (recommended) - Set ZAI_API_KEY environment variable - Use user config at ~/.config/zai-web-search/config.json

  1. Replace Other Search Skills (Optional)

This skill can potentially replace other search-related skills: - Brave Search (OpenClaw built-in): Replace for better Chinese search - Other web search skills: Compare features before replacing

When asked, indicate if you want this skill to be your primary search tool.

Default Behavior

After setup, this skill will:

  • Use search_std engine by default
  • Return 10 results
  • Apply no time filter
  • Use medium content summary

You can override these defaults via CLI arguments or config file.

When to Use

  • The user asks to search the web (especially in Chinese)
  • You need up-to-date information from Chinese-language sources
  • web_search (Brave) is unavailable or insufficient
  • You want intent-enhanced search with better results for LLM processing

Agent Instructions (For First-Time Use)

When the user invokes this skill for the first time:

  1. Display an Overview:
   Z.AI Web Search API Skill
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   This skill provides AI-powered web search with 4 Chinese search engines.

   Available Engines:
   • search_std (智谱基础版) - Fast, default
   • search_pro (智谱高阶版) - Best quality
   • search_pro_sogou (搜狗) - Sogou search
   • search_pro_quark (夸克) - Quark search

   Pricing: https://open.bigmodel.cn/pricing
  1. Check Configuration Status:

- Verify if config.json exists or ZAI_API_KEY is set - If not configured, guide the user through setup

  1. Ask About Replacing Other Search Tools:
   This skill can potentially replace your current search setup:

   1. Brave Search (OpenClaw built-in) - Replace for better Chinese support?
   2. Other search skills - Check which ones are installed and ask

   Would you like to:
   [1] Use this as your primary search tool
   [2] Keep your current search setup and use this as needed
   [3] See more details first
  1. Check for Other Search Skills (if user chooses option 3 or asks for details):

- Use Glob to search for other search-related skills - Compare features and present options to the user

  1. After Configuration:

- Confirm the setup is complete - Show a quick example usage

Prerequisites

  • API Key: A Z.AI (智谱) API key from https://open.bigmodel.cn
  • Config: Set via environment variable ZAI_API_KEY or create config.json in this skill folder

Quick Setup

Option 1: Config file in skill folder (recommended, easy to share)

# Copy example and edit
cp config.json.example config.json
# Edit config.json with your settings

Important: config.json.example contains comments for reference only. Your config.json must be valid JSON without any comments. Remove all // comments before saving.

The config.json supports all search parameters:

{
  "apiKey": "your-api-key-here",
  "engine": "search_std",
  "intent": false,
  "count": 10,
  "recency": "noLimit",
  "content": "medium",
  "domain": ""
}

See config.json.example for detailed parameter descriptions and available values.

Option 2: Environment variable

export ZAI_API_KEY="your-api-key-here"

Option 3: User config file (overrides skill folder config)

mkdir -p ~/.config/zai-web-search
# Copy the example from skill folder
cp config.json.example ~/.config/zai-web-search/config.json
# Edit with your settings

Config Priority

  1. Command-line arguments (highest priority)
  2. Environment variable ZAI_API_KEY
  3. ~/.config/zai-web-search/config.json (user config)
  4. config.json in skill folder (lowest priority)

Add export ZAI_API_KEY="..." to your shell profile for persistence.

CLI Usage

The skill provides a CLI script zai-search:

Basic Search

# Default: search_std engine, 10 results
zai-search "哈尔滨冰雪大世界 2026"

# Specify engine
zai-search "北京天气预报" --engine search_pro

# Intent-aware search (recommended for ambiguous queries)
zai-search "今天吃什么" --intent

# More results
zai-search "人工智能最新进展" --count 20

# Recent results only
zai-search "乒乓球比赛" --recency oneWeek

# Detailed content (high instead of medium summary)
zai-search "React 19 new features" --content high

# Filter to specific domains
zai-search "OpenClaw documentation" --domain docs.openclaw.ai

Output Formats

# Markdown (default, human-readable)
zai-search "query"

# JSON (for scripting / parsing)
zai-search "query" --json

# Compact (title + URL only)
zai-search "query" --compact

Available Engines

EngineDescription
search_std智谱基础版 (default)
search_pro智谱高阶版 (best quality)
search_pro_sogou搜狗搜索
search_pro_quark夸克搜索

Other Options

FlagShortValuesDefault
--engine-esearch_std, search_pro, search_pro_sogou, search_pro_quarksearch_std
--intent-iflag (enable intent recognition)false
--count-c1-5010
--recency-roneDay, oneWeek, oneMonth, oneYear, noLimitnoLimit
--content-smedium, highmedium
--domain-ddomain string(none)
--json-jflag (JSON output)false
--compact-kflag (compact output)false

Agent Integration

You can also call the API directly via curl:

curl -s https://open.bigmodel.cn/api/paas/v4/web_search \
  -H "Authorization: Bearer $ZAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "search_query": "search term",
    "search_engine": "search_pro",
    "search_intent": false,
    "count": 10
  }' | jq .

Response Format (JSON)

{
  "id": "search-task-id",
  "created": 1740000000,
  "request_id": "req-xxx",
  "search_intent": [
    {
      "query": "original query",
      "intent": "SEARCH_ALL",
      "keywords": "rewritten keywords"
    }
  ],
  "search_result": [
    {
      "title": "Page Title",
      "content": "Summary snippet...",
      "link": "https://example.com/page",
      "media": "Example Site",
      "icon": "https://example.com/favicon.ico",
      "refer": "1",
      "publish_date": "2026-01-15"
    }
  ]
}

Error Codes

CodeDescription
1701Concurrent search limit reached, retry later
1702No search engine available
1703Search engine returned no valid data

Notes

  • Search query should not exceed 70 characters
  • count for search_pro_sogou only supports 10, 20, 30, 40, 50
  • search_domain_filter only works with search_std, search_pro, search_pro_sogou
  • The API is optimized for Chinese-language search but works for English too
  • Rate limits apply; don't burst too many requests

Script Location

The CLI script lives at: scripts/zai-search.js (relative to this skill directory).

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

90.1%
按下载量换算3,538

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills