一键导入
zhipu-tools-coding-plan
智谱 AI 原生工具 - 网络搜索、网页读取、仓库文档搜索和文件解析。基于 Z.AI Coding Plan MCP 端点,全部免费使用。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
智谱 AI 原生工具 - 网络搜索、网页读取、仓库文档搜索和文件解析。基于 Z.AI Coding Plan MCP 端点,全部免费使用。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Compress text semantically with iterative validation, anchor checksums, and verified information preservation.
Web search without an API key using DuckDuckGo Lite via web_fetch. Use as a fallback when web_search fails with missing_brave_api_key error, or whenever you need to search the web and no search API is configured. Provides titles, URLs, and snippets for research queries. Zero dependencies — works with just the built-in web_fetch tool.
东方财富金融数据查询工具。支持行情数据(股价、资金流向、估值)、财务数据(财报、股东结构、高管信息)、关系与经营数据。通过自然语言查询,如"东方财富最新价"、"贵州茅台市盈率"。当用户需要查询股票、基金、指数、板块等金融数据时使用此skill。需要先配置apikey才能使用。
东方财富资讯搜索工具。基于东方财富妙想搜索能力,用于获取金融相关的新闻、公告、研报、政策、交易规则、事件分析、影响解读等时效性信息。支持个股资讯、板块新闻、宏观分析等。当用户需要搜索金融资讯、了解市场动态、查看研报解读时使用此skill。需要先配置apikey才能使用。
东方财富智能选股工具。支持基于自然语言查询筛选股票,包括行情指标、财务指标等条件;可查询指定行业/板块内的股票;支持A股、港股、美股。当用户需要选股、筛选股票、按条件查找股票时使用此skill。需要先配置apikey才能使用。
Compress files to reduce storage and transfer size. Use this skill when users ask to shrink PDFs or images, optimize upload/share size, or balance quality and size. Supports PDF compression and image compression with Python-first workflows plus Node.js fallback when Python dependencies are unavailable.
| name | zhipu-tools-coding-plan |
| description | 智谱 AI 原生工具 - 网络搜索、网页读取、仓库文档搜索和文件解析。基于 Z.AI Coding Plan MCP 端点,全部免费使用。 |
| license | MIT |
基于 Z.AI Coding Plan MCP 端点 的免费工具集:网络搜索、网页读取、GitHub 仓库文档搜索和文件解析。
| 功能 | MCP 工具 | 端点 | 说明 |
|---|---|---|---|
| 网络搜索 | web_search_prime | /web_search_prime/mcp | 实时互联网搜索,支持过滤 |
| 网页读取 | webReader | /web_reader/mcp | 抓取网页标题、正文、元数据 |
| 仓库文档搜索 | search_doc | /zread/mcp | 搜索 GitHub 仓库文档 |
| 仓库目录结构 | get_repo_structure | /zread/mcp | 查看 GitHub 仓库目录树 |
| 仓库文件读取 | read_file | /zread/mcp | 读取 GitHub 仓库指定文件 |
| 文件解析 | — | Legacy API | 解析 PDF/Word/Excel/PPT 等 |
前五项通过 Coding Plan MCP 端点免费调用,文件解析仅支持旧版 API。
在 openclaw.json 中配置 API Key:
{
"skills": {
"entries": {
"zhipu-tools": {
"apiKey": "YOUR_ZHIPU_API_KEY"
}
}
}
}
或设置环境变量:ZHIPU_API_KEY
| 模式 | 端点 | 额度 | 切换方式 |
|---|---|---|---|
| MCP (默认) | api.z.ai/api/mcp/... | Z.AI Coding Plan 免费 | 默认启用 |
| Legacy | open.bigmodel.cn/api/paas/v4/... | 账户余额 | ZHIPU_USE_MCP=false |
MCP 模式自动 fallback:MCP 失败时会自动尝试 Legacy API。
cd ~/.openclaw/workspace/skills/zhipu-tools
# Shell
./scripts/web_search.sh "搜索关键词" [count]
# Python(支持更多参数)
python3 scripts/zhipu_tool.py web_search "搜索关键词" \
--count 10 --recency week --domain example.com
# Shell
./scripts/web_reader.sh "https://www.example.com"
# Python
python3 scripts/zhipu_tool.py web_reader "https://www.example.com"
# Shell - 搜索仓库文档
./scripts/zread.sh search "openai/openai" "how to use"
# Shell - 查看目录结构
./scripts/zread.sh structure "openai/openai"
./scripts/zread.sh structure "openai/openai" "src/"
# Shell - 读取文件
./scripts/zread.sh read "openai/openai" "README.md"
# Python
python3 scripts/zhipu_tool.py zread search "openai/openai" "how to use"
python3 scripts/zhipu_tool.py zread structure "openai/openai" --path src/
python3 scripts/zhipu_tool.py zread read "openai/openai" "README.md"
./scripts/file_parser.sh /path/to/document.pdf PDF
python3 scripts/zhipu_tool.py file_parser /path/to/document.docx --file-type DOCX
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| search_query | string | 是 | 搜索内容,建议不超过 70 字符 |
| search_recency_filter | string | 否 | oneDay, oneWeek, oneMonth, oneYear, noLimit |
| content_size | string | 否 | medium (默认), high |
| location | string | 否 | cn, us |
| search_domain_filter | string | 否 | 限制搜索域名 |
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| url | string | 是 | 目标网页 URL |
返回:标题、正文内容、元数据、链接列表。
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| repo | string | 是 | GitHub 仓库,如 "openai/openai" |
| query | string | 是 | 搜索关键词 |
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| repo | string | 是 | GitHub 仓库 |
| path | string | 否 | 子目录路径 |
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| repo | string | 是 | GitHub 仓库 |
| path | string | 是 | 文件路径,如 "README.md" |
所有远程 MCP 端点通过 streamableHttp 协议交互:
mcp-session-idHeaders: Authorization: Bearer $API_KEY, Content-Type: application/json, Accept: text/event-stream, application/json
| 套餐 | 搜索/网页读取/仓库搜索 次数/月 | 价格 |
|---|---|---|
| Lite | 100 次 | 免费 |
| Pro | 1,000 次 | 免费 |
| Max | 4,000 次 | 免费 |
额度次月自动重置。