tavily-web

tavily-web is a skill for Claude Code from BenedictKing/benedictking-skills. It costs 34 tokens per session (1,224 once invoked), scanned A, original, MIT.

A skill for current web research using Tavily, a web-search and page-extraction service. It chooses between searching, extracting pages, crawling linked pages, mapping a site's structure, or producing structured research.

In plain words
What is it for?
Use it to search for current information, extract content from supplied URLs, crawl or map websites, and return research in a requested structure.
Why use it?
Different web tasks need different ways of collecting information. This skill provides a defined route for finding sources, reading URLs, exploring sites, or assembling research results.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Part of the benedictking-skills plugin — 6 skills shipped together

Good fit Use it to search for current information, extract content from supplied URLs, crawl or map websites, and return research in a requested structure.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/benedictking/benedictking-skills/tavily-web
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 BenedictKing/benedictking-skills --skill tavily-web
Clone the repo
git clone --depth 1 https://github.com/BenedictKing/benedictking-skills

Made for: Claude Code.

Or install benedictking-skills, the plugin that ships this one along with the rest of its 6 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/benedictking/benedictking-skills/tavily-web"><img src="https://agentmods.dev/badge/skills/benedictking/benedictking-skills/tavily-web.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,224 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.00034 $0.01224
Opus 5 $0.00017 $0.00612
Sonnet 5 $0.00007 $0.00245
Haiku 4.5 $0.00003 $0.00122

Measured 12d ago against content hash 030d3e002220, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

tavily-web 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 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/tavily-api.cjs), 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.

## Payload Examples (Based on Provided curl)
skills/tavily-web/SKILL.md · 186 lines

How it starts

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

Tavily Web Skill

Trigger Conditions & Endpoint Selection

Choose Tavily endpoint based on user intent:

  • search: Need to "search web / latest info / find sources / find links"
  • extract: Given URL(s), need to extract/summarize content
  • crawl: Need to traverse site following instructions and scrape page content
  • map: Need to discover site page list/structure (without full content or metadata only)
  • research: Need structured research output following given output_schema

This skill uses a two-phase architecture:

  1. Main skill (current context): Understand user question → Choose endpoint → Assemble JSON payload
  2. Sub-skill (fork context): Only responsible for HTTP call execution, avoiding conversation history token waste

Execution Method

Use Task tool to invoke tavily-fetcher sub-skill, passing command and JSON (stdin):

Task parameters:
- subagent_type: Bash
- description: "Call Tavily API"
- prompt: cat <<'JSON' | node scripts/tavily-api.cjs <search|extract|crawl|map|research>
  { ...payload... }
  JSON

Payload Examples (Based on Provided curl)

1) Search the web

cat <<'JSON' | node scripts/tavily-api.cjs search
{
  "query": "who is Leo Messi?",
  "auto_parameters": false,
  "topic": "general",
  "search_depth": "basic",
  "chunks_per_source": 3,
  "max_results": 1,
  "time_range": null,
  "start_date": "2025-02-09",
  "end_date": "2025-12-29",
  "include_answer": false,
  "include_raw_content": false,
  "include_images": false,
  "include_image_descriptions": false,
  "include_favicon": false,
  "include_domains": [],
  "exclude_domains": [],
  "country": null,
  "include_usage": false
}
JSON

2) Extract webpages

cat <<'JSON' | node scripts/tavily-api.cjs extract
{
  "urls": "https://en.wikipedia.org/wiki/Artificial_intelligence",
  "query": "<string>",
  "chunks_per_source": 3,
  "extract_depth": "basic",
  "include_images": false,
  "include_favicon": false,
  "format": "markdown",
  "timeout": "None",
  "include_usage": false
}
JSON

Read the full file on GitHub · 186 lines

Files

What ships with it

3 files 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. 12d ago First seen · 186 lines · 34 tokens per session scan A 030d3e002220

Subscribe to this mod's changes

tavily-web is a skill published in the GitHub repository BenedictKing/benedictking-skills (14 stars, last pushed 1mo ago), licensed MIT. It adds 34 tokens to every session and 1,224 once invoked, about $0.0002 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.