Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

Agent Skill

Tavily search (Tavily)

Searches the web with Tavily's MCP tools or tvly CLI: focused advanced searches, extracts only pages worth reading, saves results, stops when two sources agree.

name: tavily-searchBy TavilyChecked
View source on GitHub
Bookmark

Bookmarks are kept in your free account, so you can find this page again on any device.

Sign in to bookmark

Install

Commands are pinned to commit 90de383, the version we read, wherever the install method supports it.

npx skills

Terminal
npx skills add tavily-ai/skills@90de383ad775f769692656ee8da4f935c2fb630b --skill tavily-search -a claude-code

Copies the skill into .claude/skills/ in this project, pinned to the reviewed commit.

Plugin marketplace

Claude Code prompt
/plugin marketplace add tavily-ai/skills
/plugin install tavily@tavily-plugins

Run inside Claude Code. Installs the whole tavily plugin from its default branch, not the pinned commit: all six Tavily skills, the hosted Tavily MCP server and a SessionStart hook that adds a reminder to use Tavily to each session.

What it does

The agent uses Tavily’s MCP tools when the client has them and the tvly CLI otherwise, and picks one of four operations from a table: search for facts and sources, extract for the content of known URLs, map to find the right page on a site, crawl to collect a site section. Searches run at advanced depth with ten results, one focused query per part of the question, issued together in one turn, with results saved under .tavily/ so the agent rereads files instead of searching again. It follows leads with targeted searches, stops once two independent sources agree, confirms releases and official figures on the official domain, and hands in-depth reports to the separate tavily-research skill. The three files in references/ cover setup (MCP or CLI, keyless use, sign-in), map and crawl.

When to use it

Checking current facts and news, reading a page someone links, and finding one page on a large documentation site without crawling it. The habits it adds are the ones agents tend to skip: searching a detail again in its own words before guessing, checking failed_results and saying which pages could not be read, and treating a generated answer as a summary to check rather than a source. The crawl notes keep costs down by starting at depth 1 with a limit of about 20 pages.

When to skip it

If you already pay for Firecrawl, Firecrawl search covers the same ground; installing both gives the agent two eager “use whenever the task needs the web” skills to choose between. For a long report built from many sources the SKILL.md itself sends the agent to Tavily research, which splits the question into subtopics and writes a cited report. In an unattended CI job without a TAVILY_API_KEY, map and crawl stop at sign-in, because setup.md tells the agent not to start a login flow there.

Try it

Find the release date and the headline changes of Python 3.14 on
python.org, confirm them on a second independent source, and save the
search results so I can check them. Tell me which pages failed to extract.

What it can touch

Bundles scripts
No
Pre-approved tools
Bash(tvly *)
Needs
Tavily MCP server or the tvly CLI (Node.js 20.1 or later); Tavily account for map and crawl; Network access
Client-specific fields
None, spec fields only

Its instructions steer what your agent does, and it may have changed since the commit we read. How to check a skill.

allowed-tools pre-approves Bash(tvly *), so in clients that honour it the agent can run any tvly subcommand without asking, including tvly init and tvly login, which store a credential on the machine. When the CLI is missing, setup.md tells the agent to install it globally with npm install -g @tavily/cli, at the latest version. Every query and URL goes to Tavily’s API; search and extract work without an account up to a rate limit, while map, crawl and research need one. Results are written to .tavily/ in the working folder, which -o keeps out of git. The hand-off section tells the agent to run npx skills add tavily-ai/skills --skill tavily-research, unpinned, if that skill is missing.

At commit 90de383 the SKILL.md is 100 lines long. Alongside it:

  • references/ (3 entries)

Alternatives

SKILL.md

The file exactly as published at the reviewed commit, reproduced under its MIT licence.

skills/core/tavily-search/SKILL.md
---
name: tavily-search
description: |
  Use this skill whenever a task needs the web: searching for information, checking current facts or news, finding sources, reading a URL, finding a page on a site, or collecting many pages from a site. Use it for anything past your training data or anything the user wants verified online.
allowed-tools: Bash(tvly *)
---

# Tavily search

Use the `tavily_search`, `tavily_extract`, `tavily_map` and `tavily_crawl` tools if your tool list has them
(some clients add a prefix such as `mcp__tavily__`). Otherwise run `tvly <command>` directly; there's no
need to check for it first. If neither works, follow [setup](references/setup.md).

Parameters are named as in the API (`max_results`). The CLI spells them as flags (`--max-results`) with
comma-separated lists (`--include-domains sec.gov,reuters.com`). For exact parameters, read the tool schema,
run `tvly <command> --help`, or see the [API reference](https://docs.tavily.com/documentation/api-reference/endpoint/search).

| You have | You need | Use |
|---|---|---|
| A question or topic | Sources, facts or news | Search |
| URLs | Their content | Extract |
| A site, not the exact page | The right page's URL | [Map](references/map.md) |
| A site section | Many of its pages | [Crawl](references/crawl.md) |

## Search

**Use advanced search.** Set `search_depth` to `advanced` (`--depth advanced` in the CLI) for every search
unless the user needs a fast answer to a simple lookup. It reaches more sources and ranks the passages that match your query.

**Write queries for a search engine.** Use the names and terms you expect on the page, not the user's whole
request. Split a question with several parts into one focused search per part. For a long written report,
search each part separately and extract the main sources for each before you write.

**Follow your leads.** When a result names a likely answer, test it right away: search that name with the
other details you know, or extract its page. Keep a lead that fits most details until a source contradicts it; a detail you can't confirm doesn't rule it out. When a search misses,
search the details again in their own words before adding names or filters you guessed, and build lists of
candidates from results, not memory. When a detail keeps coming back empty, work out what it refers to, such as
the role, event or term, and search for that.

`tvly search` prints each result's title, full URL and the first 600 characters of its matching passages. Add
`-o .tavily/<name>.json` to also save every result whole, so you can go back to it instead of searching again.
`--max-chars 0` prints the passages whole. Read a promising page in full with `tvly extract <url>`.

**Batch independent searches.** Issue the searches for one step together in one turn, one call each: separate
`tavily_search` calls with MCP tools, or separate Bash calls with the CLI, each holding a single `tvly` command.
MCP calls run in parallel; Bash calls run one after another but still use one turn. Avoid `&`, `$(...)` and
loops, which make the client ask for permission. Put the query in single quotes:
`tvly search 'Rust 2024 edition release date' --depth advanced --max-results 10 -o .tavily/rust-2024.json`.

**Work from saved files.** Keep results in `.tavily/` in the current folder and read them with `head`, `grep` or
`python3`. `-o` creates the folder and keeps it out of git, so don't create it yourself. For example, to find a name or number in a long page:

```bash
tvly extract 'https://example.com/report' -o .tavily/report.json
python3 -c 'import json,re; t=json.load(open(".tavily/report.json"))["results"][0]["raw_content"]; [print(t[max(0,m.start()-200):m.end()+200], "\n---") for m in re.finditer("2019", t)]'
```

Read pages with `tvly extract`, not `curl` or `wget`.

**Ask for 10 results.** Set `max_results` to 10 (`--max-results 10`). **Narrow before you widen.** Filters help more than raising `max_results` further. Use `time_range` or dates for
recent events or a stated period. Use `include_domains` when the answer lives on an official or named site; it
is a hard filter, so search again without it if it doesn't find the page.

**Keep large results on disk.** When a result is long, such as raw page content or a crawl, save it under
`.tavily/` and read only the parts you need. An MCP result lands straight in your context, so keep those calls
small.

**Save copies with `-o`.** Saving results to files is a job for `tvly`: run the call with
`-o .tavily/<name>.json`, even if you searched with MCP tools. A file you write from an MCP result is your
retyping of it, not the original. Without `tvly`, work from the results in your context and don't copy them
into files. If the user asked for a saved copy, give them the URLs and queries, say an exact copy needs the
CLI, and write a retyped copy only if they ask for one.

**Read the results critically.** Count independent sources, not results. Treat a generated answer as a summary
to check, never as a source.

## Extract

Extract returns up to 20 URLs per call as markdown, including pages built with JavaScript.

- Extract only the few results worth reading. Snippets answer most facts.
- Extract full pages by default. Pass `query` (`--query`) only to isolate one fact on a long page; if the passages come
  back cut off near what you need, extract again without it.
- Rerun with `extract_depth` set to `advanced` (`--extract-depth advanced`) when a page is built with JavaScript, the content is in a table, or
  `basic` came back empty. Check `failed_results` every time and say which pages couldn't be read.

## When to stop

- Stop once two independent sources agree on a fact.
- Before you answer, close any gap your draft would mark unconfirmed or fill from memory: run one targeted
  search or reread the saved page.
- For releases, ownership, official figures and decisions by a named body, confirm on the official domain or
  repository. A secondary site or a generated answer is not enough.

## Hand off the job

When the user wants an in-depth report that needs many sources gathered and weighed, such as an analysis, a
comparison across several criteria or an in-depth investigation, use `tavily-research` instead of your own searches.
If it isn't installed, run `npx skills add tavily-ai/skills --skill tavily-research` and read its SKILL.md first. A
single fact or answer to find stays here.
  • Firecrawl search (Firecrawl)

    Firecrawl's web search skill: runs searches through the Firecrawl CLI and returns page excerpts or full content, plus discovery of structured data sources.

    Checked at 1d4b072

  • Firecrawl crawl (Firecrawl)

    Firecrawl's skill that crawls a site or one section of it with the Firecrawl CLI and saves every page as clean content. Uses credits per page, so scope it.

    Checked at 1d4b072

  • Firecrawl scrape

    Reads a known web page as clean Markdown or structured JSON through the Firecrawl CLI, including JS rendering, batch URLs and schema extraction.

    Checked at 1d4b072

  • Research competitors with AI and sources you can check

    Competitor analysis with AI that holds up: set a comparison grid, take each fact from a page you can link, archive the pages, then write a dated one-page brief.

    WorkflowBeginner2 h 30 min7 steps

  • Research a topic with sources you can check

    Research a topic with AI search and keep every claim checkable: build a source list, open and log each source, draft from the log, then add limits and a date.

    WorkflowBeginner30 min6 steps