tavily-search

【极简版省token】使用 Tavily API 执行网络搜索。专为 LLM 与 AI Agent 优化的搜索引擎。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "tavily-search" with this command: npx skills add jhc888007/tavily-search-simple

Tavily Search

使用 Tavily API 在互联网上搜索并总结最新信息。本工具会向 https://api.tavily.com/search 发起网络请求。

配置环境变量与凭据

此脚本需要 Tavily API 密钥才能运行。请配置 TAVILY_API_KEY 环境变量(或将其写入 ~/.openclaw/.env):

export TAVILY_API_KEY="your_api_key_here"

使用方法

python3 scripts/tavily_search.py --query "你的搜索词" [--search-depth advanced] [--max-results 5]
参数名类型必填默认值描述
querystring-搜索关键词
search-depthstringbasic搜索深度:basic (基础, 1积分), advanced (高级, 2积分), fast (快速), ultra-fast (极速)
topicstringgeneral主题分类:general (通用), news (新闻), finance (金融)
countrystring-国家/地区(小写英文全名,如 china,united states,singapore,完整合法取值见 scripts/tavily_search.pyTAVILY_COUNTRY_CHOICES);topic=general 生效
time-rangestring-时间过滤:day, week, month, year (或简写 d, w, m, y)
start-datestring-起始日期,格式如 YYYY-MM-DD
end-datestring-结束日期,格式如 YYYY-MM-DD
max-resultsint5返回结果数量限制(0-20)
include-imagesboolFalse是否在结果中包含查询相关的图片
include-domainsstring-仅搜索指定域名(多个用逗号分隔)
exclude-domainsstring-排除指定域名(多个用逗号分隔)
chunks-per-sourceint3每个来源提取的文本块数量 (1-3,仅在 depth 为 advanced/fast 时有效)
auto-parametersboolFalse开启后,Tavily 会根据查询意图自动覆盖及配置搜索参数
formatstringraw输出格式控制:raw (原始JSON), brave (极简JSON), md (人类可读)

License

MIT License - Feel free to use and modify.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Eternal Haven Lore Pack

Eternal Haven Chronicles lore + mythic persona pack. Use when the agent needs deep narrative context, character arcs, and metaphysical structure from the 4 Eternal Haven books to speak in a more poetic, mythic, or Champion-aligned voice while staying anchored in real events and consistent rules.

Registry SourceRecently Updated
Automation

Creator Alpha Feed

Collect and rank daily AI content for creator-focused publishing workflows. Use when users ask for AI topic scouting, KOL tracking (especially X/Twitter), practical tutorial picks, industry updates, or automated Feishu/Obsidian briefing pushes with configurable templates and time windows.

Registry SourceRecently Updated
1.7K0rotbit
Automation

Evolution Api Go - Evo Go

Complete WhatsApp automation via Evolution API Go v3 - instances, messages (text/media/polls/carousels), groups, contacts, chats, communities, newsletters, and real-time webhooks

Registry SourceRecently Updated
Automation

macOS

macOS system administration, command-line differences from Linux, and automation best practices.

Registry SourceRecently Updated