tavily-search
Skill233 starsChanged 8 months agoMITView on GitHub
Web search and content extraction via the Tavily API. Use when you need real-time web results, citations, or raw article content without a browser. Requires TAVILY_API_KEY.
- Pipes a download into a shell
- Reads credentials
18 other projects use a version of this.
Adopted by
Most recently taken up by
- Neetx/ai-security-research-radartheir own version, first seen Sep 26, 2026
- themusecatcher/ai-coding-kittheir own version, first seen Sep 15, 2026
- PracticalSwan/agent-skillstheir own version, first seen Sep 14, 2026
- lsongdev/skillstheir own version, first seen Sep 10, 2026
- Neetx/ai-research-radartheir own version, first seen Sep 8, 2026
- OpenMinis/MinisSkillstheir own version, first seen Sep 4, 2026
Used with
Projects with it also use tavily-extract, self-improving-agent and 2 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
tavily-aiSkilltavily-extract
Extract clean markdown or text content from specific URLs via the Tavily CLI. Use this skill when the user has one or more URLs and wants their content, says "extract", "grab the content from", "pull the text from", "get the page at", "read this webpage", or needs clean text from web pages. Handles JavaScript-rendered pages, returns LLM-optimized markdown, and supports query-focused chunking for targeted extraction. Can process up to 20 URLs in a single call.
Also in 5 projects that use this
ftcalvinwang-aiSkillself-improving-agent
自我改进技能 - 持续记录学习、错误和功能请求。通过记录和回顾提升长期表现, 重要学习可晋升为项目记忆文件。
Also in 5 projects that use this
IgosukiSkillweb-search
This skill should be used when users need to search the web for information, find current content, look up news articles, search for images, or find videos. It uses DuckDuckGo's search API to return results in clean, formatted output (text, markdown, or JSON). Use for research, fact-checking, finding recent information, or gathering web resources.
Also in 4 projects that use this
VercelSkillfind-skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Also in 5 projects that use this
Other versions18 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 18
- tavily-ai/skills★ 486same name
- OpenMinis/MinisSkills★ 438same name
- PracticalSwan/agent-skills★ 18same name
- eraycc/Openclaw-Skills★ 16same name
- dglijin-oss/chinese-metaphysics-skills★ 13same name
- Neetx/ai-security-research-radar★ 5same name
- Neetx/ai-research-radar★ 4same name
- raywongstudy/agent_skills★ 2same name
- xiangu152/my_claude_skills★ 2same name
- AlexisZ12/tavily-skills★ 1same name
8 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository12 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- build-until-passSkill
- debug-hypothesisSkill
- frontend-designSkill
- go-no-goSkill
- google-analyticsSkill
- nano-bananaSkill
- skills-mapSkill
- spec-driven-devSkill
- spec-driven-dev-v2Skill
- subagent-briefSkill
- wiki-aggregateSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 12 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 32
Add to ~/.zshrc or ~/.bashrc for persistence.
- Very specific: line 121
Default model: Tavily's search and extract endpoints (v1)
- Distinctive: line 122
Default timeout: 30s per request
“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Tavily Search
Headless web search and content extraction using Tavily. Built for LLM agents — returns clean, summarised results with optional raw article bodies. No browser required.
When to use
- You need up-to-date web information (news, docs, pricing, facts)
- You want cited sources with URLs for a research/writing task
- You need the full readable body of a URL as markdown
- Brave/Google search is not available or rate-limited
When NOT to use
- You already have the page in your context
- The answer is static and likely in the model's training data
- You need to interact with a page (login, click) — use a browser MCP instead
Setup
- Get a free API key: https://app.tavily.com (1000 free searches/month)
Export it:
export TAVILY_API_KEY="tvly-YOUR_KEY_HERE"Add to
~/.zshrcor~/.bashrcfor persistence. Never commit the key.First run will auto-install dependencies via
uv:command -v uv || curl -LsSf https://astral.sh/uv/install.sh | sh
Search
# Basic search — 5 results, summarised answer
uv run ~/.claude/skills/lich-skills/skills/tavily-search/scripts/search.py "your query"
# More results
uv run .../search.py "your query" --max-results 10
# Include full article bodies (slower, more tokens)
uv run .../search.py "your query" --raw-content
# Deeper search with higher recall
uv run .../search.py "your query" --depth advanced
# News-only, last 7 days
uv run .../search.py "your query" --topic news --days 7
# Output as JSON
uv run .../search.py "your query" --jsonFlags
| Flag | Default | Purpose |
--max-results N | 5 | Number of results to return (1–20) |
--depth {basic,advanced} | basic | advanced = slower, higher quality |
--topic {general,news} | general | News mode adds recency filtering |
--days N | — | With --topic news, restrict to last N days |
--raw-content | off | Include full article body as markdown |
--include-domains a,b | — | Restrict to comma-separated domains |
--exclude-domains a,b | — | Exclude comma-separated domains |
--json | off | Machine-readable JSON output |
Extract a single URL
uv run .../search.py --extract https://example.com/articleReturns clean markdown of the page body (no nav, ads, or boilerplate).
Output format (default, human-readable)
ANSWER: <Tavily's synthesised answer, 1–3 sentences>
RESULTS:
[1] <title>
<url>
<snippet — 1–2 sentences>
[2] ...With --raw-content each result gets an indented markdown body below the snippet.
Examples
Research a library:
uv run .../search.py "Gemini 3 Flash Image API pricing" --depth advancedGet the full article body of a blog post:
uv run .../search.py --extract https://blog.example.com/post --json > post.jsonNews sweep:
uv run .../search.py "OpenAI Codex release" --topic news --days 3 --max-results 10Environment
- Key lookup order:
--api-keyflag →$TAVILY_API_KEY→$TAVILY_KEY - Default model: Tavily's
searchandextractendpoints (v1) - Default timeout: 30s per request
Common failures
| Error | Fix |
Error: No TAVILY_API_KEY | Export the key or pass --api-key |
401 Unauthorized | Key is wrong, revoked, or over quota |
429 Rate limit | Wait or upgrade plan |
No results | Broaden query, try --depth advanced, drop domain filters |
Red flags
- Hardcoding the API key anywhere in this repo
- Passing the key on the command line in shared terminals (shell history leak)
- Using
--raw-contentwith--max-results 20on every query (burns tokens)
Verification
$TAVILY_API_KEYis set in env, not in filesuv run .../search.py "hello world"returns resultsgitleaks detect --source .clean
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

