Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/EthanYoQ/Skill-hubnpx agentmods add skills/ethanyoq/skill-hub/tavily-cliWrote 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.
[](https://agentmods.dev/skills/ethanyoq/skill-hub/tavily-cli)<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/tavily-cli"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/tavily-cli/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.
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/tavily-cli"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/tavily-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00169 | $0.00828 |
| Opus 5.5 | $0.00068 | $0.00331 |
| Sonnet 5.5 | $0.00034 | $0.00166 |
| Haiku 4.5 | $0.00017 | $0.00083 |
Grade C, and why
tavily-cli 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 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.
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.
compatibility: Requires tavily-cli (`curl -fsSL https://cli.tavily.com/install.sh | bash`) and a Tavily API key from tavily.com. Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
compatibility: Requires tavily-cli (`curl -fsSL https://cli.tavily.com/install.sh | bash`) and a Tavily API key from tavily.com. This is a copy
100% identical to tavily-cli — 77 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.
How it starts
The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Tavily CLI
Web search, content extraction, site crawling, URL discovery, and deep research. Returns JSON optimized for LLM consumption.
Run tvly --help or tvly <command> --help for full option details.
Prerequisites
Must be installed and authenticated. Check with tvly --status.
tavily v0.1.0
> Authenticated via OAuth (tvly login)
If not ready:
curl -fsSL https://cli.tavily.com/install.sh | bash
Or manually: uv tool install tavily-cli / pip install tavily-cli
Then authenticate:
tvly login --api-key tvly-YOUR_KEY
# or: export TAVILY_API_KEY=tvly-YOUR_KEY
# or: tvly login (opens browser for OAuth)
Workflow
Follow this escalation pattern — start simple, escalate when needed:
- Search — No specific URL. Find pages, answer questions, discover sources.
- Extract — Have a URL. Pull its content directly.
- Map — Large site, need to find the right page. Discover URLs first.
- Crawl — Need bulk content from an entire site section.
- Research — Need comprehensive, multi-source analysis with citations.
| Need | Command | When |
|---|---|---|
| Find pages on a topic | tvly search |
No specific URL yet |
| Get a page's content | tvly extract |
Have a URL |
| Find URLs within a site | tvly map |
Need to locate a specific subpage |
| Bulk extract a site section | tvly crawl |
Need many pages (e.g., all /docs/) |
| Deep research with citations | tvly research |
Need multi-source synthesis |
For detailed command reference, use the individual skill for each command (e.g., tavily-search, tavily-crawl) or run tvly <command> --help.
Output
All commands support --json for structured, machine-readable output and -o to save to a file.
tvly search "react hooks" --json -o results.json
tvly extract "https://example.com/docs" -o docs.md
tvly crawl "https://docs.example.com" --output-dir ./docs/
Tips
- Always quote URLs — shell interprets
?and&as special characters. - Use
--jsonfor agentic workflows — every command supports it. - Read from stdin with
-—echo "query" | tvly search - - Exit codes: 0 = success, 2 = bad input, 3 = auth error, 4 = API error.
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.
- 2mo ago First seen · 77 lines · 169 tokens per session scan C aa8cee0e8dbf
tavily-cli is a skill published in the GitHub repository EthanYoQ/Skill-hub (12 stars, last pushed 2d ago), licensed MIT. It adds 169 tokens to every session and 828 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). It is 100% identical to tavily-cli, differing in 77 lines, and is treated as a copy.
tavily-cli compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tavily-cliEthanYoQ/Skill-hub | Skill | 12 | 2d ago | MIT | C | 169 | Claude Code |
| wikiSethGammon/Citadel | Skill | 943 | 3d ago | MIT | A | 56 | Claude Code |
| escalation-governanceathola/claude-night-market | Skill | 358 | yesterday | MIT | A | 19 | Claude Code |
| agent-workflow-playbookGingiris-1031/gingiris-skills | Skill | 92 | 13d ago | MIT | A | 83 | Claude Code, Codex |
| ecom-socialkangise/ecommerce-ai-skills | Skill | 124 | 7d ago | CC0-1.0 | A | 60 | Claude Code, Codex |
| ecom-customer-servicekangise/ecommerce-ai-skills | Skill | 124 | 7d ago | CC0-1.0 | A | 49 | Claude Code, Codex |
| ecom-pricingkangise/ecommerce-ai-skills | Skill | 124 | 7d ago | CC0-1.0 | A | 35 | Claude Code, Codex |