tavily

tavily is a skill for Claude Code, Codex from malue-ai/dazee-small. It costs 25 tokens per session (661 once invoked), scanned A, original, MIT.

A web-search connection to Tavily, a search service designed to return organized results for AI systems. It supports basic and advanced searches through an API or Python library.

In plain words
What is it for?
It helps search for information, request more detailed results, include page content, and use search as part of a larger research workflow. A Tavily API key is required.
Why use it?
It removes much of the cleanup needed before an AI agent can use search results. It provides titles, links, and content in a structured response for research or writing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps search for information, request more detailed results, include page content, and use search as part of a larger research workflow. A Tavily API key is required.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/malue-ai/dazee-small/tavily
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add malue-ai/dazee-small --skill tavily
Clone the repo
git clone --depth 1 https://github.com/malue-ai/dazee-small

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tavily

README.md
[![agentmods](https://agentmods.dev/badge/skills/malue-ai/dazee-small/tavily/github.svg)](https://agentmods.dev/skills/malue-ai/dazee-small/tavily)
Your own site
<a href="https://agentmods.dev/skills/malue-ai/dazee-small/tavily"><img src="https://agentmods.dev/badge/skills/malue-ai/dazee-small/tavily/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tavily

Your own site · 80×15
<a href="https://agentmods.dev/skills/malue-ai/dazee-small/tavily"><img src="https://agentmods.dev/badge/skills/malue-ai/dazee-small/tavily.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 661 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00025 $0.00661
Opus 5.5 $0.00010 $0.00264
Sonnet 5.5 $0.00005 $0.00132
Haiku 4.5 $0.00003 $0.00066

Measured 3mo ago against content hash f5ac3e8501be, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tavily scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -X POST "https://api.tavily.com/search" \
skills/library/tavily/SKILL.md · 94 lines

What it actually says

Tavily AI 搜索

专为 AI Agent 优化的搜索 API,返回干净、结构化的结果,适合 LLM 直接消费。

使用场景

  • 需要高质量搜索结果用于调研、写作等复杂任务
  • ddg-search 结果不够精确时的升级选项
  • deep-research 流程中的搜索后端

前置条件

需要设置环境变量 TAVILY_API_KEY:

  1. 访问 https://tavily.com/ 注册(免费套餐每月 1000 次)
  2. 设置:export TAVILY_API_KEY="tvly-xxxxx"

执行方式

基本搜索

curl -s -X POST "https://api.tavily.com/search" \
  -H "Content-Type: application/json" \
  -d '{
    "api_key": "'$TAVILY_API_KEY'",
    "query": "搜索内容",
    "search_depth": "basic",
    "max_results": 5
  }'

深度搜索

curl -s -X POST "https://api.tavily.com/search" \
  -H "Content-Type: application/json" \
  -d '{
    "api_key": "'$TAVILY_API_KEY'",
    "query": "搜索内容",
    "search_depth": "advanced",
    "max_results": 10,
    "include_raw_content": true
  }'

Python SDK

from tavily import TavilyClient

client = TavilyClient(api_key=os.environ["TAVILY_API_KEY"])

response = client.search(
    query="AI agent 市场分析 2026",
    search_depth="advanced",
    max_results=10,
)

for result in response["results"]:
    print(f"Title: {result['title']}")
    print(f"URL: {result['url']}")
    print(f"Content: {result['content'][:200]}")
    print("---")

参数说明

参数 值 说明
search_depth basic / advanced basic 快但浅,advanced 慢但全
max_results 1-20 返回结果数量
include_raw_content bool 是否返回网页原始内容
include_domains list 限定搜索域名
exclude_domains list 排除域名

输出规范

  • 搜索结果标注来源 URL 和相关度分数
  • advanced 搜索用于深度调研,basic 用于快速查询
  • 免费额度有限,简单查询优先用 ddg-search
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 94 lines · 25 tokens per session scan A f5ac3e8501be

Subscribe to this mod's changes

tavily is a skill published in the GitHub repository malue-ai/dazee-small (37 stars, last pushed 8mo ago), licensed MIT. It adds 25 tokens to every session and 661 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

tavily compared with skills from other repositories

tavily next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tavilymalue-ai/dazee-smallSkill378mo agoMITA25Claude Code, Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82kyesterdayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill332k6d agoMITA21Claude Code