Search the web using LLMs via OpenRouter. Use for current web data, API docs, market research, news, fact-checking, or any question that benefits from live i...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install openclaw-search-tool或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install openclaw-search-tool⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/openclaw-search-tool/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: research-tool description: Search the web using LLMs via OpenRouter. Use for current web data, API docs, market research, news, fact-checking, or any question that benefits from live internet access and reasoning. metadata: {"openclaw": {"emoji": "🔍", "requires": {"bins": ["research-tool"], "env": ["OPENROUTER_API_KEY"]}, "primaryEnv": "OPENROUTER_API_KEY", "homepage": "https://github.com/aaronn/openclaw-search-tool"}} ---
Web search for OpenClaw agents, powered by OpenRouter. Ask questions in natural language, get accurate answers with cited sources. Defaults to GPT-5.2 which excels at documentation lookups and citation-heavy research.
> Note: Even low-effort queries may take 1 minute or more to complete. High/xhigh reasoning can take 10+ minutes depending on complexity. This is normal — the model is searching the web, reading pages, and synthesizing an answer. > > Recommended: Run research-tool in a sub-agent so your main session stays responsive: > ``` > sessions_spawn task:"research-tool 'your query here'" > ``` > > ⚠️ Never set a timeout on exec when running research-tool. Queries routinely take 1-10+ minutes. Use yieldMs to background it, then poll — but do NOT set timeout or the process will be killed mid-search.
The :online model suffix gives any model live web access — it searches the web, reads pages, cites URLs, and synthesizes an answer.
cargo install openclaw-search-tool
Requires OPENROUTER_API_KEY env var. Get a key at https://openrouter.ai/keys
research-tool "What are the x.com API rate limits?"
research-tool "How do I set reasoning effort parameters on OpenRouter?"
# Best: run in a sub-agent (main session stays responsive)
sessions_spawn task:"research-tool 'your query here'"
# Or via exec — NEVER set timeout, use yieldMs to background:
exec command:"research-tool 'your query'" yieldMs:5000
# then poll the session until complete
--effort, -e (default: low)Controls how much the model reasons before answering. Higher effort means better analysis but slower and more tokens.
research-tool --effort low "What year was Rust 1.0 released?"
research-tool --effort medium "Explain how OpenRouter routes requests to different model providers"
research-tool --effort high "Compare tradeoffs between Opus 4.6 and gpt-5.3-codex for programming"
research-tool --effort xhigh "Deep analysis of React Server Components vs traditional SSR approaches"
| Level | Speed | When to use | |-------|-------|-------------| | low | ~1-3 min | Quick fact lookups, simple questions | | medium | ~2-5 min | Standard research, moderate analysis | | high | ~3-10 min | Deep analysis with careful reasoning | | xhigh | ~5-20+ min | Maximum reasoning, complex multi-source synthesis |
Can also be set via env var RESEARCH_EFFORT.
--model, -m (default: openai/gpt-5.2:online)Which model to use. Defaults to GPT-5.2 with the :online suffix because it excels at questions where citations and accurate documentation lookups matter. The :online suffix enables live web search and works with any model on OpenRouter.
# Default: GPT-5.2 with web search (great for docs and cited answers)
research-tool "current weather in San Francisco"
# Claude with web search
research-tool -m "anthropic/claude-sonnet-4-20250514:online" "Summarize recent changes to the OpenAI API"
# GPT-5.2 without web search (training data only)
research-tool -m "openai/gpt-5.2" "Explain the React Server Components architecture"
# Any OpenRouter model
research-tool -m "google/gemini-2.5-pro:online" "Compare React vs Svelte in 2026"
Can also be set via env var RESEARCH_MODEL.
--system, -sOverride the system prompt to give the model a specific persona or instructions.
research-tool -s "You are a senior infrastructure engineer" "Best practices for zero-downtime Kubernetes deployments"
research-tool -s "You are a Rust systems programmer" "Best async patterns for WebSocket servers"
--stdinRead the query from stdin. Useful for long or multiline queries.
echo "Explain the OpenRouter model routing architecture" | research-tool --stdin
cat detailed-prompt.txt | research-tool --stdin
--max-tokens (default: 12800)Maximum tokens in the response.
--timeout (optional, no default)No timeout by default — queries run until the model finishes. Set this only if you need a hard upper bound (e.g. --timeout 300).
🔍 Researching with openai/gpt-5.2:online (effort: high)...
✅ Connected — waiting for response...
[response text on stdout]
📊 Tokens: 4470 prompt + 184 completion = 4654 total | ⏱ 5s
🔍 Researching... — request sent to OpenRouter✅ Connected — waiting for response... — server accepted the request, model is searching/thinking⏳ 15s... ⏳ 30s... — elapsed time ticks (only in interactive terminals, not in agent exec)❌ Connection to OpenRouter failed — couldn't reach OpenRouter (network issue)❌ Connection to OpenRouter lost — connection dropped while waiting. Retry?low for quick facts, high for real research, xhigh only for complex multi-source analysis.-s for domain expertise. A specific persona produces noticeably better domain-specific answers.~$0.01–0.05 per query. Token usage is printed to stderr after each query.
安装 Openclaw Research Tool 后,可以对 AI 说这些话来触发它
Help me get started with Openclaw Research Tool
Explains what Openclaw Research Tool does, walks through the setup, and runs a quick demo based on your current project
Use Openclaw Research Tool to search the web using LLMs via OpenRouter
Invokes Openclaw Research Tool with the right parameters and returns the result directly in the conversation
What can I do with Openclaw Research Tool in my data & analytics workflow?
Lists the top use cases for Openclaw Research Tool, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/openclaw-search-tool/ 目录(个人级,所有项目可用),或 .claude/skills/openclaw-search-tool/(项目级)。重启 AI 客户端后,用 /openclaw-search-tool 主动调用,或让 AI 根据上下文自动发现并使用。
Openclaw Research Tool 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Openclaw Research Tool 可免费安装使用。请查阅仓库了解许可证信息。
Search the web using LLMs via OpenRouter. Use for current web data, API docs, market research, news, fact-checking, or any question that benefits from live i...
Openclaw Research Tool 属于「Data & Analytics」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my data & analytics tasks using Openclaw Research Tool
Identifies repetitive steps in your workflow and sets up Openclaw Research Tool to handle them automatically