技能/ #research/ #Search The Web/ #Web Search

Tavily 搜索

Web search via Tavily API (alternative to Brave). Use when the user asks to search the web / look up sources / find links and Brave web_search is unavailable...

Xiaoran Li@jacky1n7

安装

针对本地咔咔镜像运行此命令。

请从本地咔咔镜像安装 openclaw-tavily-search,注册表地址为 http://localhost:13001。安装后先检查 README、清单和权限,再在当前工作区使用。下载

说明

--- name: tavily-search description: "Web search via Tavily API (alternative to Brave). Use when the user asks to search the web / look up sources / find links and Brave web_search is unavailable or undesired. Returns a small set of relevant results (title, url, snippet) and can optionally include short answer summaries." ---

Tavily Search

Use the bundled script to search the web with Tavily.

Requirements

  • Provide API key via either:
  • environment variable: `TAVILY_API_KEY`, or
  • `~/.openclaw/.env` line: `TAVILY_API_KEY=...`

Commands

Run from the OpenClaw workspace:

bash# raw JSON (default)
python3 {baseDir}/scripts/tavily_search.py --query "..." --max-results 5

# include short answer (if available)
python3 {baseDir}/scripts/tavily_search.py --query "..." --max-results 5 --include-answer

# stable schema (closer to web_search): {query, results:[{title,url,snippet}], answer?}
python3 {baseDir}/scripts/tavily_search.py --query "..." --max-results 5 --format brave

# human-readable Markdown list
python3 {baseDir}/scripts/tavily_search.py --query "..." --max-results 5 --format md

Output

raw (default)

  • JSON: `query`, optional `answer`, `results: [{title,url,content}]`

brave

  • JSON: `query`, optional `answer`, `results: [{title,url,snippet}]`

md

  • A compact Markdown list with title/url/snippet.

Notes

  • Keep `max-results` small by default (3–5) to reduce token/reading load.
  • Prefer returning URLs + snippets; fetch full pages only when needed.

安装解析

{
  "artifact": {
    "downloadUrl": "/api/v1/download?slug=openclaw-tavily-search&version=0.1.0&ownerHandle=jacky1n7",
    "format": "zip",
    "generated": true,
    "kind": "skillArchive",
    "sha256": "4fe119892fe1a751452213dcede7c8b0d26fdc9097d34261ef06d5f7e6141a2f",
    "size": 2936
  },
  "owner": {
    "displayName": "Xiaoran Li",
    "handle": "jacky1n7",
    "id": "68facc22-9cb4-4d88-917e-40890767fc29",
    "verified": false
  },
  "skill": {
    "displayName": "Tavily 搜索",
    "latestVersion": "0.1.0",
    "license": "unknown",
    "name": "openclaw-tavily-search",
    "ownerHandle": "jacky1n7",
    "slug": "openclaw-tavily-search",
    "stats": {
      "downloads": 99465,
      "installs": 3434,
      "stars": 265
    },
    "summary": "Web search via Tavily API (alternative to Brave). Use when the user asks to search the web / look up sources / find links and Brave web_search is unavailable...",
    "tags": [
      "research",
      "Search The Web",
      "Web Search"
    ],
    "type": "skill",
    "updatedAt": "2026-07-06T10:48:31.240Z"
  },
  "sourceHandoff": null,
  "version": {
    "checksum": null,
    "checksumAlgorithm": null,
    "id": "ca8635cf-66fb-4ee6-bbc8-95e40490eabb",
    "publishedAt": "2026-02-26T16:01:19.343Z",
    "size": null,
    "version": "0.1.0",
    "artifactStorageKey": null,
    "changelog": "首次发布:Tavily 驱动的 OpenClaw 网页搜索 skill,支持 brave-like 结构输出与 md 输出。",
    "manifest": {
      "clawhub": {
        "tags": {
          "latest": "0.1.0"
        },
        "owner": "jacky1n7",
        "stats": {
          "stars": 265,
          "comments": 0,
          "installs": 3434,
          "versions": 1,
          "downloads": 99465
        },
        "topics": [
          "Search The Web",
          "Web Search"
        ],
        "categories": [
          "research"
        ]
      },
      "install": "openclaw skills install @jacky1n7/openclaw-tavily-search"
    },
    "readme": "---\nname: tavily-search\ndescription: \"Web search via Tavily API (alternative to Brave). Use when the user asks to search the web / look up sources / find links and Brave web_search is unavailable or undesired. Returns a small set of relevant results (title, url, snippet) and can optionally include short answer summaries.\"\n---\n\n# Tavily Search\n\nUse the bundled script to search the web with Tavily.\n\n## Requirements\n\n- Provide API key via either:\n  - environment variable: `TAVILY_API_KEY`, or\n  - `~/.openclaw/.env` line: `TAVILY_API_KEY=...`\n\n## Commands\n\nRun from the OpenClaw workspace:\n\n```bash\n# raw JSON (default)\npython3 {baseDir}/scripts/tavily_search.py --query \"...\" --max-results 5\n\n# include short answer (if available)\npython3 {baseDir}/scripts/tavily_search.py --query \"...\" --max-results 5 --include-answer\n\n# stable schema (closer to web_search): {query, results:[{title,url,snippet}], answer?}\npython3 {baseDir}/scripts/tavily_search.py --query \"...\" --max-results 5 --format brave\n\n# human-readable Markdown list\npython3 {baseDir}/scripts/tavily_search.py --query \"...\" --max-results 5 --format md\n```\n\n## Output\n\n### raw (default)\n- JSON: `query`, optional `answer`, `results: [{title,url,content}]`\n\n### brave\n- JSON: `query`, optional `answer`, `results: [{title,url,snippet}]`\n\n### md\n- A compact Markdown list with title/url/snippet.\n\n## Notes\n\n- Keep `max-results` small by default (3–5) to reduce token/reading load.\n- Prefer returning URLs + snippets; fetch full pages only when needed.\n"
  }
}

版本

版本大小更新时间0.1.0暂无2026-02-26