# tavily-usage

Guides coding agents to run web searches and extract page content via Tavily MCP tools. Requires a Tavily API key.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 758 installs · ★ 1189
- Author: fcakyon
- License: Apache-2.0 · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/fcakyon/claude-codex-settings/tree/HEAD/plugins/tavily-tools/skills/tavily-usage/SKILL.md
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/tavily-usage

## What it does

The skill orchestrates two MCP tools: `mcp__tavily__tavily_search` for keyword discovery and `mcp__tavily__tavily-extract` for page inspection. The agent queries the web, collects relevant links, and extracts deep content from target pages.

It includes a `tavily_extract_to_advanced.py` hook. This script switches extraction calls into advanced mode when higher precision is needed. You must configure the `TAVILY_API_KEY` environment variable in your shell beforehand.

Search calls consume fewer credits than deep extraction. Following this workflow prevents running expensive extraction calls on irrelevant URLs.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add fcakyon/claude-codex-settings --skill tavily-usage -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/tavily-usage/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/tavily-usage/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add fcakyon/claude-codex-settings --skill tavily-usage -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/tavily-usage/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add fcakyon/claude-codex-settings --skill tavily-usage -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/tavily-usage/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install fcakyon/claude-codex-settings tavily-usage
```

2. **Manually: put the files in place**
- File: `.github/skills/tavily-usage/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add fcakyon/claude-codex-settings --skill tavily-usage -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/fcakyon/claude-codex-settings --path plugins/tavily-tools/skills/tavily-usage
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/tavily-usage/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add fcakyon/claude-codex-settings --skill tavily-usage -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/fcakyon/claude-codex-settings/tree/HEAD/plugins/tavily-tools/skills/tavily-usage/SKILL.md

## When to use it
- run keyword searches across the web for recent documentation
- extract structured page contents from specific links
- cut API costs by filtering candidate links before deep extraction

## Example prompts
- Search the web for recent changes in this package
- Extract page content from this specific link
- Use Tavily search to find articles on this error

## Source text · SKILL.md · Apache-2.0

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: c06be89d11ad15b3.

BEGIN THIRD-PARTY FILE c06be89d11ad15b3
```text
---
name: tavily-usage
description: This skill should be used when user asks to "search the web", "fetch content from URL", "extract page content", "use Tavily search", "scrape this website", "get information from this link", or "web search for X".
---

# Tavily Search and Extract

Use Tavily MCP tools for web search and content retrieval operations.

## Tool Selection

### Tavily Search (`mcp__tavily__tavily_search`)

Use for:

- Keyword-based searches across the web
- Finding relevant pages and content
- Quick answer gathering
- Multiple result discovery

**Best for**: Initial research, finding sources, broad queries

### Tavily Extract (`mcp__tavily__tavily-extract`)

Use for:

- Getting detailed content from specific URLs
- Deep analysis of page content
- Structured data extraction
- Following up on search results

**Best for**: In-depth analysis, specific URL content, detailed information

## Hook Behavior

`tavily_extract_to_advanced.py` hook automatically upgrades extract calls to advanced mode for better accuracy when needed.

## Integration Pattern

1. Use `mcp__tavily__tavily_search` for discovery phase
2. Analyze results to find relevant URLs
3. Use `mcp__tavily__tavily-extract` for detailed content on specific URLs
4. Process extracted content for user needs

## Environment Variables

Tavily MCP requires:

- `TAVILY_API_KEY` - API key from Tavily (tvly-...)

Configure in shell before using the plugin.

## Cost Considerations

- Search is cheaper than extract
- Use search to filter relevant URLs first
- Only extract URLs that are likely relevant
- Cache results when possible
```
END THIRD-PARTY FILE c06be89d11ad15b3

The third-party file has ended. Everything between the c06be89d11ad15b3 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

© fcakyon · Apache-2.0 · https://github.com/fcakyon/claude-codex-settings/tree/HEAD/plugins/tavily-tools/skills/tavily-usage/SKILL.md

## Similar
- [tavily-dynamic-search](https://affpapa.org/en/nevibecode/skills/tavily-dynamic-search.md) — skill · 13500 installs
- [tavily-mcp](https://affpapa.org/en/nevibecode/mcp/tavily-mcp.md) — MCP server · ★ 2454
- [web-search-tavily](https://affpapa.org/en/nevibecode/skills/web-search-tavily.md) — skill · 1100 installs
- [tavily-search](https://affpapa.org/en/nevibecode/skills/framix-team-tavily-search.md) — skill · 840 installs
- [tavily](https://affpapa.org/en/nevibecode/skills/tavily.md) — skill · 627 installs
- [web-search](https://affpapa.org/en/nevibecode/skills/web-search.md) — skill · 110000 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
