Search the web and extract content using Exa AI. Use this skill when searching for current information, researching topics, fetching content from URLs, finding code examples, or when the user needs real-time web data. Also use for competitive research, finding similar pages, or extracting structured
npx playbooks add skill trancong12102/ccc --skill exa
Real-time web search and content extraction powered by Exa AI.
Use the Python script at scripts/exa.py. Requires EXA_API_KEY environment variable.
# Basic search
python scripts/exa.py search --query "latest AI research"
# Fast search for simple queries
python scripts/exa.py search --query "node.js version" --type fast
# Deep search for comprehensive results
python scripts/exa.py search --query "React server components" --type deep --num-results 10
# With full text content
python scripts/exa.py search --query "GraphQL best practices" --text
# Filter by domain
python scripts/exa.py search --query "LLM research" --include-domains "arxiv.org,paperswithcode.com"
# Filter by date
python scripts/exa.py search --query "AI news" --start-date "2025-01-01T00:00:00.000Z"
# Extract from documentation
python scripts/exa.py contents --urls "https://docs.python.org/3/tutorial/classes.html"
# Multiple URLs
python scripts/exa.py contents --urls "https://example.com/page1,https://example.com/page2"
# Prefer live content
python scripts/exa.py contents --urls "https://example.com/page" --livecrawl preferred
# Find code examples
python scripts/exa.py code --query "React useState hook examples"
# Quick syntax lookup
python scripts/exa.py code --query "Python list comprehension" --tokens 2000
# Detailed patterns
python scripts/exa.py code --query "GraphQL resolver patterns" --tokens 15000
| Type | Use Case | Speed |
| ---- | -------- | ----- |
| fast | Quick lookups, simple queries | Fastest |
| auto | General purpose (default) | Medium |
| deep | Complex research, comprehensive | Slowest |
| Use search | Use contents | Use code |
| ------------ | -------------- | ---------- |
| Finding relevant pages | Have a specific URL | Programming questions |
| General web research | Extracting known content | API/library usage |
| News and articles | Reading documentation | Code examples |
--type fast for simple factual queries--type deep for research requiring comprehensive results--text to get full page content in search resultscode command for programming questions instead of searchcontents when you have a specific URL to extract--format json for structured output when neededWeekly roundup of top Claude Code skills, MCP servers, and AI coding tips.