mit einem Klick
global-search
搜索全网内容,返回脚本整理后的结构化结果(标题、链接、作者、摘要等)
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Menü
搜索全网内容,返回脚本整理后的结构化结果(标题、链接、作者、摘要等)
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Basierend auf der SOC-Berufsklassifikation
Windows 文件夹三段式可验证归档(robocopy 复制 + 逐文件校验 + 可选删除源),保留属性/时间戳/空目录,支持外部引用检查避免误删,支持归档日志留存(含自动命名与追加模式)便于审计,支持归档前 HTML 声明一致性校验
静态站点冗余资源分析器,识别"声明但缺失"与"存在但未引用"两类问题,支持 HTML 引用提取、文件存在性校验、SHA256 哈希对比与决策矩阵,适用于 Trae Work 等模板生成的站点归档前清理
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
获取知乎热榜列表,返回脚本整理后的结构化结果(标题、链接、缩略图、摘要)
搜索知乎站内内容,返回脚本整理后的结构化结果(标题、链接、作者、摘要等)
调用知乎开放平台的 zhida 接口,返回结构化回答结果
| name | global-search |
| version | 1.0.2 |
| description | 搜索全网内容,返回脚本整理后的结构化结果(标题、链接、作者、摘要等) |
| homepage | ../../docs/global_search.md |
| metadata | {"openclaw":{"emoji":"🌐","requires":{"bins":["python3"]}}} |
| argument-hint | <query> |
| disable-model-invocation | false |
| user-invocable | true |
| paths | [] |
zhihu-global-search
本 Skill 用于调用知乎开放平台的 global_search API。
完整的 API 文档请参考:https://developer.zhihu.com/docs
通过 OpenAPI Platform GET /api/v1/content/global_search 检索全网内容,并把响应整理为适合 agent 消费的精简 JSON 结构。
使用环境变量 ZHIHU_ACCESS_SECRET 进行认证
用户可以在知乎开放平台控制台获取 Access Secret
可选配置:
ZHIHU_OPENAPI_BASE_URL(默认:https://developer.zhihu.com)ZHIHU_GLOBAL_SEARCH_URL(完整 endpoint 覆盖;设置后优先于 ZHIHU_OPENAPI_BASE_URL + 默认 path){baseDir} 是 agent 框架在运行时自动替换的变量,指向当前 skill 目录的绝对路径(即 skills/global-search/)。
python3 {baseDir}/scripts/global-search.py '{"query":"如何理解 rave 文化","count":8,"filter":"host==\"example.com\"","search_db":"all"}'
传入一个 JSON 参数:
{"query":"...", "count":10, "filter":"host==\"example.com\" AND publish_time>=1778494631", "search_db":"all"}
规则:
query 必填,且不能是空字符串。count 可选;脚本会自动限制到 1-20(接口上限)。filter 可选;高级语法筛选表达式。search_db 可选;索引库选择,支持全部 all、实时库 realtime、静态库 static,默认 all。返回 JSON,包括:
code, messageitem_countitems[],包含 title, summary, url, author_name, edit_timeerror 字段为动态错误描述,常见情况:
{"error":"query is required","exit_code":1}
{"error":"Invalid JSON payload","exit_code":1}
{"error":"Set ZHIHU_ACCESS_SECRET first (Bearer auth only)","exit_code":1}
{"error":"HTTP request failed (timeout or network error)","exit_code":1}
HTTP 非 2xx 时额外携带 body:
{"error":"HTTP 403","body":"Forbidden","exit_code":1}
ZHIHU_ACCESS_SECRET(Bearer 认证)无需额外部署。确保 ZHIHU_ACCESS_SECRET 环境变量已设置即可使用。
见上方“失败”小节。常见错误:认证失败、网络超时、参数无效。脚本统一返回 {"error":"...","exit_code":1} 格式。
| 版本 | 日期 | 变更 |
|---|---|---|
| 1.0.2 | 2026-05 | 统一 SKILL.md 合规性,补全必填章节 |
| 1.0.1 | 2026-04 | 支持 endpoint 环境变量覆盖 |
| 1.0.0 | 2026-03 | 初始版本 |