Kimi Websearch
/install kimi-websearch
Kimi Web Search / Kimi 联网搜索工具
Requirements
通过设置环境变量 KIMI_API_KEY 或 MOONSHOT_API_KEY 来提供 Kimi/Moonshot API 密钥。
如果没有设置,请登录 Moonshot API Keys 获取 API Key,并将其设置为环境变量。
执行流程
脚本说明
⚠️ 注意: 如果当前环境使用 uv ,则优先使用
uv run xxx.py来执行脚本;如果没有 uv ,则使用python3 xxx.py来执行脚本。
联网搜索脚本
# 通过 Kimi API 进行联网搜索,获取最新的网络信息来回答用户的问题。
python3 {baseDir}/scripts/web_search.py "\x3Cthe question you want to ask>"
# 当遇到错误的时候,可以获取帮助
python3 {baseDir}/scripts/web_search.py --help
输出要求
-
必须提供给用户消息来源的url,确保信息的准确性,例如
1. 新闻内容xxxx 消息来源:[xxx](https://www.example.com) -
如果没有明确的搜索主题,例如“今天的新闻”,可以参考以下分类整理后输出给用户:
📰 今日要闻
🇨🇳 国内
🌍 国际焦点
📈 财经资讯
💻 科技动态
- 优先输出整理后的结论,不要把整段原始脚本输出原封不动贴给用户。
- 如果搜索结果明显不完整、存在时效风险,直接说明不足。
- 如果用户要求继续追问同一主题,直接换一个搜索参数重新运行。
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install kimi-websearch - After installation, invoke the skill by name or use
/kimi-websearch - Provide required inputs per the skill's parameter spec and get structured output
What is Kimi Websearch?
联网搜索工具。Use When (1)用户需要通过联网获取信息; (2)如果你无法直接回答用户的问题,或者需要更多信息来回答用户的问题。 It is an AI Agent Skill for Claude Code / OpenClaw, with 591 downloads so far.
How do I install Kimi Websearch?
Run "/install kimi-websearch" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Kimi Websearch free?
Yes, Kimi Websearch is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Kimi Websearch support?
Kimi Websearch is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Kimi Websearch?
It is built and maintained by henryzhuhr (@henryzhuhr); the current version is v1.0.9.