skills/tavily/SKILL.md
Tavily AI search API for LLM applications: web search, content extraction, site crawling, mapping, and research. Use when integrating real-time web search into LLM apps, extracting content from URLs, crawling sites, or building RAG pipelines with web data. Keywords: Tavily, AI search, RAG, web search API, LLM search, extract, crawl, map, research, tavily-python.
npx skillsauth add itechmeat/llm-code tavilyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
AI-optimized search engine for building LLM applications with real-time web data.
| Topic | Reference | | -------------- | ------------------------------------------------- | | REST API | api.md | | Python SDK | python.md | | JavaScript SDK | javascript.md | | Best Practices | best-practices.md | | Integrations | integrations.md |
Install: pip install tavily-python (Python) or npm i @tavily/core (JavaScript).
from tavily import TavilyClient
client = TavilyClient(api_key="tvly-YOUR_API_KEY")
response = client.search("What is the latest news about AI?")
print(response)
import { tavily } from "@tavily/core";
const client = tavily({ apiKey: "tvly-YOUR_API_KEY" });
const response = await client.search("What is the latest news about AI?");
console.log(response);
curl -X POST https://api.tavily.com/search \
-H "Content-Type: application/json" \
-H "Authorization: Bearer tvly-YOUR_API_KEY" \
-d '{"query": "What is the latest news about AI?"}'
| API | Purpose | Credits | | -------- | ------------------------------- | ---------------- | | Search | Web search optimized for LLMs | 1-2 per request | | Extract | Extract content from URLs | 1-2 per 5 URLs | | Map | Map website structure | 1-2 per 10 pages | | Crawl | Crawl + extract from sites | Map + Extract | | Research | Autonomous deep research (beta) | 4-250 per task |
Free tier: 1,000 credits/month (no credit card required)
| Plan | Credits/month | Price/credit | | ---------- | ------------- | ------------ | | Researcher | 1,000 | Free | | Project | 4,000 | $0.0075 | | Bootstrap | 15,000 | $0.0067 | | Startup | 38,000 | $0.0058 | | Growth | 100,000 | $0.005 | | Pay-as-go | Per usage | $0.008 |
| API | Basic | Advanced | | --------------- | ------------------- | ---------- | | Search | 1 | 2 | | Extract | 1/5 URLs | 2/5 URLs | | Map | 1/10 pages | 2/10 pages | | Crawl | Map + Extract costs | | Research (mini) | 4-110 | - | | Research (pro) | 15-250 | - |
| Environment | RPM (requests/min) | | ----------- | ------------------ | | Development | 100 | | Production | 1,000 |
Note: Crawl endpoint limited to 100 RPM for both environments.
Production keys require paid plan or PAYGO enabled.
Primary endpoint for LLM-optimized web search.
response = client.search(
query="Latest AI developments",
search_depth="advanced", # "basic" (1 credit) or "advanced" (2 credits)
max_results=10, # 1-20 results
include_answer=True, # Include AI-generated answer
include_raw_content=False, # Include raw HTML
include_domains=["arxiv.org"], # Filter to specific domains
exclude_domains=["pinterest.com"] # Exclude domains
)
{
"query": "...",
"answer": "AI-generated summary...", # if include_answer=True
"results": [
{
"title": "Page Title",
"url": "https://...",
"content": "Extracted relevant content...",
"score": 0.95,
"raw_content": "..." # if include_raw_content=True
}
]
}
Extract content from specific URLs.
response = client.extract(
urls=["https://example.com/article1", "https://example.com/article2"],
extract_depth="basic" # "basic" or "advanced"
)
Crawl websites with AI-guided instructions.
response = client.crawl(
url="https://docs.example.com",
instructions="Find all pages about Python SDK", # Optional AI guidance
max_depth=2,
limit=50
)
Get website structure without extracting content.
response = client.map(
url="https://docs.example.com",
instructions="Find documentation pages" # Optional
)
Autonomous deep research on complex topics.
response = client.research(
input="What are the implications of quantum computing on cryptography?",
model="pro" # "pro" (15-250 credits) or "mini" (4-110 credits)
)
| Feature | Traditional Search | Tavily | | ---------------- | ------------------ | ------------- | | Output | URLs + snippets | Full content | | Scraping | Manual | Built-in | | LLM optimization | None | Purpose-built | | Filtering | Manual | AI-powered | | Context limits | Not handled | Optimized |
search_depth="basic" for simple queries (saves credits)include_answer=True for quick summariesdata-ai
Zvec in-process vector database. Covers collections, indexing, embeddings, reranking, and persistence. Use when embedding Zvec into applications or tuning retrieval/storage behavior. Keywords: Zvec, HNSW-RaBitQ, vector database, ANN.
development
Vitest testing framework: Vite-powered tests, Jest-compatible API, mocking, snapshots, coverage, browser mode, and TypeScript support. Use when writing or configuring tests with Vitest, setting up mocking/snapshots, configuring coverage, or running browser-mode tests. Keywords: Vitest, testing, Vite, Jest, mocking, coverage.
tools
Vite next-gen frontend tooling: dev server, HMR, build, config, plugins, Environment API, Rolldown. Use when setting up or running a Vite project, configuring vite.config.*, authoring plugins, working with HMR or JS API, or managing environment variables and modes. Keywords: vite.config, bundler, Vite, HMR, Rolldown.
development
Orchestrate AI coding with Vibe Kanban: tasks, review, sessions, workspaces, and isolated git worktrees. Use when managing AI-generated code in isolated environments, planning coding tasks, reviewing AI output, or configuring Vibe Kanban workspaces and agents. Keywords: Vibe Kanban, AI orchestration, worktrees.