Kimi Websearch — 技能工具
v1.0.9联网搜索工具。Use When (1)用户需要通过联网获取信息; (2)如果你无法直接回答用户的问题,或者需要更多信息来回答用户的问题。
0· 477·2 当前·2 累计
安全扫描
OpenClaw
安全
high confidenceThe skill's code, instructions, and requested credentials line up with a Moonshot/Kimi web-search integration and do not ask for unrelated secrets or risky installs.
评估建议
This skill uses your Moonshot/Kimi API key and sends your prompts/conversation to https://api.moonshot.cn to obtain search results — if you install it, be aware your queries and context will go to that service (and may incur usage/costs). The included Python script itself does not crawl the web locally; it relies on Moonshot's model/tooling ($web_search) to return results and URLs. If you need private/offline searching or do not trust the Moonshot endpoint, do not provide your API key. Otherwise...详细分析 ▾
✓ 用途与能力
Name/description ask for a websearch capability and the skill requests Moonshot/Kimi API keys (KIMI_API_KEY or MOONSHOT_API_KEY). The script calls the Moonshot (api.moonshot.cn) chat/completions API and uses a Kimi model name, so requested credentials and endpoints are coherent with the stated purpose.
ℹ 指令范围
SKILL.md instructs running scripts/web_search.py which in turn calls the Moonshot API. The script does not perform local crawling itself; it relies on the remote model/tooling ($web_search) provided by Moonshot to obtain search results and URLs. This delegation is reasonable for a hosted websearch integration, but you should understand that user queries and the conversation context are transmitted to the Moonshot endpoint.
✓ 安装机制
There is no install spec that downloads arbitrary code; the skill is instruction-only with a single included Python script. SKILL.md lists a pip dependency on openai which matches the script's imports. No high-risk external download URLs or extract steps are present.
✓ 凭证需求
Only KIMI_API_KEY and MOONSHOT_API_KEY are required (primary is MOONSHOT_API_KEY). Those are expected for a Moonshot/Kimi integration and there are no unrelated secrets requested.
✓ 持久化与权限
The skill is not forced-always, and does not request elevated persistence or modify other skills or system configs. Autonomous invocation is enabled (default) but not combined with additional concerning privileges.
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
版本
latestv1.0.92026/3/11
- Added new script: scripts/web_search.py; removed obsolete files for cleaner structure. - Updated documentation with clearer API key setup, enhanced script usage instructions, and output requirements. - Added metadata for integration (emoji, dependencies, required environment variables). - Output must now include source URLs for transparency and reliability. - Improved organization of news categories and formatting guidance for responses.
● 可疑
安装命令 点击复制
官方npx clawhub@latest install kimi-websearch
镜像加速npx clawhub@latest install kimi-websearch --registry https://cn.clawhub-mirror.com
技能文档
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 ""# 当遇到错误的时候,可以获取帮助
python3 {baseDir}/scripts/web_search.py --help
输出要求
- 必须提供给用户消息来源的url,确保信息的准确性,例如
1. 新闻内容xxxx
消息来源:xxx
- 如果没有明确的搜索主题,例如“今天的新闻”,可以参考以下分类整理后输出给用户:
📰 今日要闻
🇨🇳 国内
🌍 国际焦点
📈 财经资讯
💻 科技动态
- 优先输出整理后的结论,不要把整段原始脚本输出原封不动贴给用户。
- 如果搜索结果明显不完整、存在时效风险,直接说明不足。
- 如果用户要求继续追问同一主题,直接换一个搜索参数重新运行。
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制
免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制