name: brave-web-search description: Searches the web and returns ranked results or AI-generated summarized answers using the Brave Search API. Use for real-time web lookups and factual Q&A. metadata: clawdbot: emoji: "🔍" requires: env: ["BRAVE_SEARCH_API_KEY", "BRAVE_ANSWERS_API_KEY"] bins: ["node"] primaryEnv: "BRAVE_SEARCH_API_KEY" category: "Search & Research"
Searches the web and fetches AI-generated summarized answers using the Brave Search API. Exposes two commands: brave-search for ranked web results and brave-answer for concise AI summaries.
小蔥技能站7w4.net,專業的AI技能分享平臺。
brave-search for general web searches where ranked results with URLs and snippets are useful.brave-answer for direct factual questions where a concise AI summary is more appropriate.execFile-style invocation so the shell never parses user-supplied values. Example (Node-style pseudo-code):javascript
execFile('node', ['index.js', 'brave-search', '--query', userQuery, '--count', '10'])
Do not construct the command as a single concatenated string such as "node index.js brave-search --query " + userQuery.
--freshness followed by pd (past day), pw (past week), or pm (past month) as a separate argument to brave-search.brave-answer returns answer: null, present the fallback_results to the user instead.execFile or an argv array), never interpolated into a shell command string. Concatenating user input into a shell string (e.g. shell: true with template literals) enables shell injection and is strictly forbidden.BRAVE_SEARCH_API_KEY and BRAVE_ANSWERS_API_KEY provided by the OpenClaw environment.這個 Skill 質量不錯,能進行網頁搜尋和 AI 摘要,使用安全、文件清晰,沒有多餘依賴。主要優點是輕量、可靠、容易上手。不足是缺少使用示例,對新手不太友好,且版本資訊有點混亂。總體來說是個好用的搜尋工具,值得一試。