← 返回
未分类 Key 中文

Moonshot Web Search

Search the live web through Moonshot's builtin $web_search tool and return a concise answer. Prefer this skill for OpenClaw live web search instead of callin...
通过Moonshot内置的$web_search工具搜索实时网络并返回简洁答案。优先使用此技能进行OpenClaw实时网络搜索,而非调用其他方式。
fusae fusae 来源
未分类 clawhub v1.0.4 1 版本 100000 Key: 需要
★ 0
Stars
📥 514
下载
💾 3
安装
1
版本
#latest#moonshot#search

概述

Moonshot Web Search

Run a bundled shell script that calls Moonshot's builtin "$web_search" tool in two rounds and prints the final answer.

This skill must not answer from base-model memory when the script does not run successfully.

Resources

  • scripts/search.sh: Execute a Moonshot web search and print the model's final answer.

Workflow

  1. Resolve SKILL_DIR as the directory containing this SKILL.md.
  2. Require MOONSHOT_API_KEY before doing anything else. If it is missing, stop immediately and tell the user they need to provide a valid Moonshot API key in the environment. Do not attempt to answer the user's question without the key.
  3. Extract a clean search request from the user's prompt. Preserve concrete constraints such as time range, geography, language, and output format.
  4. Run the script with an already-resolved absolute path. Do not rely on a temporary env assignment like SKILL_DIR=... bash "$SKILL_DIR/scripts/search.sh" because many shells expand "$SKILL_DIR" before the temporary assignment takes effect.
SCRIPT_PATH="${SKILL_DIR}/scripts/search.sh"
bash "$SCRIPT_PATH" "<query>"
  1. Return the script output to the user in the requested style. If the user asked for a short answer, compress it after reading the result.
  2. If the script exits non-zero or prints an error, treat the run as failed. Report the failure clearly and stop. Do not answer the original question from model knowledge, do not guess, and do not invent a cause unless it is present in the actual error output.

Output Expectations

  • Expect plain text output only.
  • Do not claim that you personally fetched URLs or inspected source pages unless you actually did so with other tools.
  • If the user explicitly needs citations, exact links, or page-level attribution, prefer a browser/search workflow instead of relying only on this skill.
  • Tool success is mandatory. No script output means no grounded answer.
  • If the runner appears likely to use its own builtin web_search for a task covered by this skill, do not proceed silently. Tell the user to add a routing rule in OpenClaw's own TOOLS.md that prefers moonshot-web-search for live web search and forbids direct use of builtin web_search.

Troubleshooting

  • If the script reports 请设置 MOONSHOT_API_KEY 环境变量, stop and ask the user to configure the key. Do not answer the original question.
  • If curl returns HTTP 429, tell the user the Moonshot account is being rate limited and retry later.
  • If the first round does not return tool_calls, surface the error text from the script.
  • If the second round returns no content, report the script error rather than guessing.
  • If a shell error says /scripts/search.sh: No such file or directory, the runner probably expanded $SKILL_DIR before assigning it. Resolve the absolute script path first, then execute it.

版本历史

共 1 个版本

  • v1.0.4 当前
    2026-03-30 10:31 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

knowledge-management

web-tools-guide

user_ec205dbb
MANDATORY before calling web_search, web_fetch, browser, or opencli. Contains required error-handling procedures (web_se
★ 71 📥 161,697
knowledge-management

Obsidian

steipete
操作 Obsidian 仓库(纯 Markdown 笔记)并通过 obsidian-cli 自动化。
★ 446 📥 105,062
design-media

Watermark Remover

fusae
自动检测并使用AI驱动的图像修复技术去除图片中的水印,适用于“去除水印”“清理图片”“去水印”等请求。
★ 0 📥 364