brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
tavily-search-zh通过 Tavily API 进行网页搜索(Brave 的替代方案)。当用户要求搜索网页、查找资料、获取链接,且 Brave web_search 不可用或不适合时使用。返回少量相关结果(标题、链接、摘要),可选附带简短回答摘要。
Independent GitHub snapshot · Automated classification · Original documentation governs
使用内置脚本通过 Tavily 进行网页搜索。
TAVILY_API_KEY~/.openclaw/.env 文件中添加一行:TAVILY_API_KEY=...从 OpenClaw 工作目录运行:
# 原始 JSON 格式(默认)
python3 ~/.openclaw/skills/tavily-search-zh/scripts/tavily_search.py --query "..." --max-results 5
# 包含简短回答摘要(如有)
python3 ~/.openclaw/skills/tavily-search-zh/scripts/tavily_search.py --query "..." --max-results 5 --include-answer
# 稳定结构(接近 web_search 格式):{query, results:[{title,url,snippet}], answer?}
python3 ~/.openclaw/skills/tavily-search-zh/scripts/tavily_search.py --query "..." --max-results 5 --format brave
# 人类可读的 Markdown 列表
python3 ~/.openclaw/skills/tavily-search-zh/scripts/tavily_search.py --query "..." --max-results 5 --format md
query、可选 answer、results: [{title,url,content}]query、可选 answer、results: [{title,url,snippet}]max-results 保持较小值(3–5),以减少 token 消耗和阅读负担。--search-depth basic(默认)和 --search-depth advanced 两种搜索深度。OpenClaw 内置的 web_search 工具依赖 Brave Search API,申请需要信用卡。Tavily 提供免费套餐,注册即可使用,无需信用卡。
python3 ~/.openclaw/skills/tavily-search-zh/scripts/tavily_search.py --query "今天的科技新闻" --max-results 3 --format md