tavily-best-practices

tavily-best-practices is a skill for Claude Code, Codex from EthanYoQ/Skill-hub. It costs 60 tokens per session (1,022 once invoked), scanned A, a copy of tavily-sdk, MIT.

A reference guide for building Tavily integrations in software that uses web search, page extraction, site crawling, or research. It includes examples for Python and JavaScript clients and explains which method fits each need.

In plain words
What is it for?
Use it when adding Tavily to coding assistants, automated workflows, RAG systems, or other agent applications. RAG means retrieving relevant documents before generating an answer.
Why use it?
It helps developers choose and implement the right Tavily operation instead of wiring each web task from scratch. It also covers asynchronous use and API-key setup.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it when adding Tavily to coding assistants, automated workflows, RAG systems, or other agent applications. RAG means retrieving relevant documents before generating an answer.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ethanyoq/skill-hub/tavily-best-practices
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 EthanYoQ/Skill-hub --skill tavily-best-practices
Clone the repo
git clone --depth 1 https://github.com/EthanYoQ/Skill-hub

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-best-practices

README.md
[![agentmods](https://agentmods.dev/badge/skills/ethanyoq/skill-hub/tavily-best-practices/github.svg)](https://agentmods.dev/skills/ethanyoq/skill-hub/tavily-best-practices)
Your own site
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/tavily-best-practices"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/tavily-best-practices/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-best-practices

Your own site · 80×15
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/tavily-best-practices"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/tavily-best-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,022 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 94% copy Near-identical to another mod 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.00060 $0.01022
Opus 5.5 $0.00024 $0.00409
Sonnet 5.5 $0.00012 $0.00204
Haiku 4.5 $0.00006 $0.00102

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

Security

Grade A, and why

tavily-best-practices scanned grade A with 0 findings 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 2mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

94% identical to tavily-sdk — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

archives/user-installed-skills/tavily-best-practices/e3e1178f6d84b417/tavily-best-practices/SKILL.md · 145 lines

How it starts

The opening of the file, as written. The whole thing — 145 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Tavily

Tavily is a search API designed for LLMs, enabling AI applications to access real-time web data.

Installation

Python:

pip install tavily-python

JavaScript:

npm install @tavily/core

See references/sdk.md for complete SDK reference.

Client Initialization

from tavily import TavilyClient

# Uses TAVILY_API_KEY env var (recommended)
client = TavilyClient()

#With project tracking (for usage organization)
client = TavilyClient(project_id="your-project-id")

# Async client for parallel queries
from tavily import AsyncTavilyClient
async_client = AsyncTavilyClient()

Choosing the Right Method

For custom agents/workflows:

Need Method
Web search results search()
Content from specific URLs extract()
Content from entire site crawl()
URL discovery from site map()

For out-of-the-box research:

Need Method
End-to-end research with AI synthesis research()

Quick Reference

search() - Web Search

response = client.search(
    query="quantum computing breakthroughs",  # Keep under 400 chars
    max_results=10,
    search_depth="advanced"
)
print(response)

Key parameters: query, max_results, search_depth (ultra-fast/fast/basic/advanced), include_domains, exclude_domains, time_range

See references/search.md for complete search reference.

extract() - URL Content Extraction

# Simple one-step extraction
response = client.extract(
    urls=["https://docs.example.com"],
    extract_depth="advanced"
)
print(response)

Key parameters: urls (max 20), extract_depth, query, chunks_per_source (1-5)

See references/extract.md for complete extract reference.

crawl() - Site-Wide Extraction

response = client.crawl(
    url="https://docs.example.com",
    instructions="Find API documentation pages",  # Semantic focus
    extract_depth="advanced"
)
print(response)

Key parameters: url, max_depth, max_breadth, limit, instructions, chunks_per_source, select_paths, exclude_paths

Read the full file on GitHub · 145 lines

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. 2mo ago First seen · 145 lines · 60 tokens per session scan A 8972384d52e2

Subscribe to this mod's changes

tavily-best-practices is a skill published in the GitHub repository EthanYoQ/Skill-hub (12 stars, last pushed 2d ago), licensed MIT. It adds 60 tokens to every session and 1,022 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 94% identical to tavily-sdk, differing in 4 lines, and is treated as a copy.

Related

tavily-best-practices compared with skills from other repositories

tavily-best-practices next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tavily-best-practicesEthanYoQ/Skill-hubSkill122d agoMITA60Claude Code, Codex
wikiSethGammon/CitadelSkill9433d agoMITA56Claude Code
escalation-governanceathola/claude-night-marketSkill358yesterdayMITA19Claude Code
agent-workflow-playbookGingiris-1031/gingiris-skillsSkill9213d agoMITA83Claude Code, Codex
ecom-socialkangise/ecommerce-ai-skillsSkill1247d agoCC0-1.0A60Claude Code, Codex
ecom-customer-servicekangise/ecommerce-ai-skillsSkill1247d agoCC0-1.0A49Claude Code, Codex
ecom-pricingkangise/ecommerce-ai-skillsSkill1247d agoCC0-1.0A35Claude Code, Codex