tavily-search

tavily-search is a skill for Claude Code, Codex from initializ/forge. It costs 14 tokens per session (583 once invoked), scanned A, original, Apache-2.0.

A web-search tool that uses the Tavily service to find pages and return titles, links, text, and a short answer. It can search quickly or more thoroughly and filter results by date or domain.

In plain words
What is it for?
Use it for web lookups, fact checks, and finding recent information or pages from selected websites.
Why use it?
It removes the need to manually browse and collect search results before an agent can answer a question. Domain and date filters help narrow the results.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/initializ/forge/tavily-search
Any agent
npx skills add initializ/forge --skill tavily-search
Clone the repo
git clone --depth 1 https://github.com/initializ/forge

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-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/initializ/forge/tavily-search.svg)](https://agentmods.dev/skills/initializ/forge/tavily-search)
Your own site
<a href="https://agentmods.dev/skills/initializ/forge/tavily-search"><img src="https://agentmods.dev/badge/skills/initializ/forge/tavily-search.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 583 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00014 $0.00583
Opus 5 $0.00007 $0.00292
Sonnet 5 $0.00003 $0.00117
Haiku 4.5 $0.00001 $0.00058

Measured 4d ago against content hash da9274ad8913, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

tavily-search 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 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/tavily-search.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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
forge-skills/local/embedded/tavily-search/SKILL.md · 90 lines

What it actually says

Tavily Web Search Skill

Search the web using the Tavily AI search API, optimized for LLM applications.

Authentication

Set the TAVILY_API_KEY environment variable with your Tavily API key. Get your key at https://tavily.com

No OAuth or MCP configuration required.

Quick Start

./scripts/tavily-search.sh '{"query": "latest AI news"}'

Search the web using Tavily AI.

Input:

Parameter Type Required Description
query string yes The search query
search_depth string no basic (fast) or advanced (thorough). Default: basic
max_results integer no Maximum results to return (1-20). Default: 5
time_range string no Filter by time: day, week, month, year
include_domains array no Only include results from these domains
exclude_domains array no Exclude results from these domains

Output: JSON object with query, answer, results (array of {title, url, content, score}), and response_time.

Search Depth

Depth Speed Detail Use Case
basic Fast (~1s) Standard snippets Quick lookups, fact checks
advanced Slower (~3s) Detailed content Research, analysis

Response Format

{
  "query": "your search query",
  "answer": "AI-generated summary answer",
  "response_time": 0.5,
  "results": [
    {
      "title": "Page Title",
      "url": "https://example.com",
      "content": "Relevant content snippet...",
      "score": 0.95
    }
  ]
}

Tips

  • Use search_depth: advanced for research tasks that need detailed content
  • Use include_domains to restrict searches to trusted sources
  • Use time_range: day for breaking news or very recent information
  • The answer field provides a concise AI-generated summary when available
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 90 lines · 14 tokens per session scan A da9274ad8913

Subscribe to this mod's changes

tavily-search is a skill published in the GitHub repository initializ/forge (227 stars, last pushed yesterday), licensed Apache-2.0. It adds 14 tokens to every session and 583 once invoked, about $0.0001 per session on Opus 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-08-30.

Related

Other skills, from other repositories

lc_tavily_search

Tavily 实时网络搜索.

sunchaokun/zensers · 13 tokens

web-search-plus

Unified search skill with Intelligent Auto-Routing. Uses multi-signal analysis to automatically select between Serper (Google), Tavily (Research), Querit (Multilingual AI Search), Exa (Neural), Perplexity (AI Answers), You.com (RAG/Real-time), and SearXNG (Privacy/Self-hosted) with confidence scoring.

Zhow01/SkillAttack · 78 tokens

web-search-plus

Unified search skill with Intelligent Auto-Routing. Uses multi-signal analysis to automatically select between Serper (Google), Tavily (Research), Exa (Neural), Perplexity (AI Answers), You.com (RAG/Real-time), and SearXNG (Privacy/Self-hosted) with confidence scoring.

xianyu110/my-awesome-skills · 70 tokens

web-search-plus

Unified search skill with Intelligent Auto-Routing. Uses multi-signal analysis to automatically select between Serper (Google), Tavily (Research), Exa (Neural), Perplexity (AI Answers), You.com (RAG/Real-time), and SearXNG (Privacy/Self-hosted) with confidence scoring.

CraftOS-dev/CraftBot · 70 tokens

web-search-plus-zh

智能自动路由的统一搜索技能。通过多信号分析自动选择 Serper(Google)、Tavily(研究)、Querit(多语言 AI 搜索)、Exa(神经网络)、Perplexity(AI 问答)、You.com(RAG/实时)和 SearXNG(隐私/自托管),并附带置信度评分。.

L-LesterYu/OpenClaw-hot-skills-zh · 87 tokens

quality-loop

Use this workflow recipe when a draft, plan, proposal, or other deliverable should be independently reviewed and revised until it satisfies explicit quality criteria.

trpc-group/trpc-agent-go · 32 tokens