tavily-web

tavily-web is a skill for Claude Code from conn-castle/agent-layer. It costs 63 tokens per session (1,234 once invoked), scanned C, original, MIT.

A command-line tool for searching the web, extracting pages, mapping websites, and producing research with sources. Tavily is the web-retrieval service it uses.

In plain words
What is it for?
It helps discover web pages, extract content from URLs, map a known website, and prepare sourced research.
Why use it?
It gives the agent a defined way to find current information or read supplied web pages with supporting sources.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit It helps discover web pages, extract content from URLs, map a known website, and prepare sourced research.

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

Made for: Claude Code.

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/conn-castle/agent-layer/tavily-web.svg)](https://agentmods.dev/skills/conn-castle/agent-layer/tavily-web)
Your own site
<a href="https://agentmods.dev/skills/conn-castle/agent-layer/tavily-web"><img src="https://agentmods.dev/badge/skills/conn-castle/agent-layer/tavily-web.svg" alt="Measured on agentmods" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,234 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. 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.00063 $0.01234
Opus 5 $0.00032 $0.00617
Sonnet 5 $0.00013 $0.00247
Haiku 4.5 $0.00006 $0.00123

Measured 7d ago against content hash 88777362f386, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade C, and why

tavily-web scanned grade C with 2 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 7d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

- Do not install Tavily from this skill. Do not run `curl | bash`, package managers, or login commands unless the user explicitly asks for setup help.

Makes network callslowCapability

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

- Do not install Tavily from this skill. Do not run `curl | bash`, package managers, or login commands unless the user explicitly asks for setup help.
internal/templates/skills-catalog/tavily-web/SKILL.md · 107 lines

How it starts

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

Tavily Web

Use the Tavily CLI as Agent Layer's web retrieval path. Route the request to the smallest useful Tavily command, then summarize the sourced result.

Defaults

  • Use tvly search for general web discovery when no URL or known site is provided.
  • Use tvly extract directly when the user provides exact URLs.
  • Use tvly map only when the user provides a known site/domain and needs URL discovery.
  • Use tvly research only when the user wants cited synthesis, comparison, or report-style analysis.
  • Prefer --json when the CLI supports it so results can be parsed before summarizing.

Global constraints

  • Run tvly --help before the first Tavily command in a session, then run tvly --status to verify readiness.
  • Treat installed CLI help as the source of truth for commands, arguments, flags, output modes, and defaults.
  • If tvly is missing, unauthenticated, or exits non-zero, stop and tell the user to install or authenticate the Tavily CLI.
  • Do not install Tavily from this skill. Do not run curl | bash, package managers, or login commands unless the user explicitly asks for setup help.
  • Do not use Tavily MCP or Fetch MCP as a fallback.
  • Do not use tvly crawl in the default Agent Layer workflow.
  • When saving output or scratch data, write under .agent-layer/tmp/.
  • Before using non-obvious flags, run tvly <command> --help or tvly research <subcommand> --help; do not rely on memorized CLI syntax.

Required artifacts

  • No artifact is required for quick lookups.
  • If saving intermediate retrieval output, use .agent-layer/tmp/tavily-web.<run-id>.<type>.json or .agent-layer/tmp/tavily-web.<run-id>.<type>.md.
  • Final answers that depend on web retrieval must name or cite the source URLs used.

Human checkpoints

  • Ask before installing the Tavily CLI, running login/authentication commands, or changing Tavily configuration.
  • Do not ask for permission merely to run read-only tvly search, tvly extract, tvly map, or tvly research commands.

Read the full file on GitHub · 107 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. 7d ago First seen · 107 lines · 63 tokens per session scan C 88777362f386

Subscribe to this mod's changes

tavily-web is a skill published in the GitHub repository conn-castle/agent-layer (10 stars, last pushed yesterday), licensed MIT. It adds 63 tokens to every session and 1,234 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.