askill
exa-search

exa-searchSafety 95Repository

Advanced Exa AI search with 5 specialized scripts for neural web search, content extraction, similar page discovery, quick research with citations, and async pro research with structured output. This skill should be used when performing web searches, extracting content from URLs, finding similar pages, or conducting AI-powered research. Provides full access to all Exa API endpoints including /search, /contents, /findSimilar, /answer, and /research/v1.

12 stars
1.2k downloads
Updated 3/15/2026

Package Files

Loading files...
SKILL.md

Exa Search Skill

5 specialized scripts for Exa AI search API—neural search, content extraction, similar pages, research with citations, and async pro research.

Prerequisite: EXA_API_KEY environment variable. Get key at https://dashboard.exa.ai

Token-Efficient Search

Inspired by Anthropic's dynamic filtering—always filter before reasoning. ~24% fewer tokens, ~11% better accuracy.

The Principle: Search Cheaply → Filter → Extract Selectively → Reason

DO:

# Step 1: Search with --no-text (titles/URLs only — cheapest)
python3 ~/.claude/skills/exa-search/scripts/exa_search.py "query" -n 20 --no-text

# Step 2: Evaluate titles, pick best 3-5 URLs

# Step 3: Extract only those URLs with bounded content
python3 ~/.claude/skills/exa-search/scripts/exa_contents.py URL1 URL2 --highlights --max-chars 3000

DON'T: Search with full text for 50 results, then reason over all of it.

Use API-Level Filters First (Free Filtering)

These reduce results at the API level before you ever see them:

  • --must-include "term" — results must contain this string
  • --must-exclude "term" — removes irrelevant results
  • --domains site1.com site2.com — restrict to authoritative sources
  • --category "research paper" — eliminate irrelevant content types
  • --after 2025-01-01 / --before — temporal filtering

Use Summaries Over Full Text

When you need the gist, not raw content:

# AI-distilled summaries — much smaller than full text
python3 ~/.claude/skills/exa-search/scripts/exa_search.py "query" --summary "Key findings" -n 5

Use Bounded Context for RAG

# Capped context string — prevents unbounded token usage
python3 ~/.claude/skills/exa-search/scripts/exa_search.py "query" --context --context-chars 5000

Post-Process with filter_web_results.py

Pipe Exa JSON output through the Firecrawl filter script for additional reduction:

python3 ~/.claude/skills/exa-search/scripts/exa_search.py "query" --json | \
  python3 ~/.claude/skills/Firecrawl/scripts/filter_web_results.py \
  --fields "title,url,text" --max-chars 3000

Cost Tiers — Match to Task

TypeLatencyCostWhen
--instant<150msCheapestReal-time lookups, autocomplete
--fast~500msLowQuick checks, confirmations
auto (default)MediumGeneral search
--deepSlowestHighestComprehensive research

Available Scripts

1. exa_search.py — Neural Web Search

python3 ~/.claude/skills/exa-search/scripts/exa_search.py "query" [options]
Quick ExamplePurpose
... exa_search.py "AI frameworks"Basic search
... exa_search.py "transformers" --category "research paper" -n 20Academic papers
... exa_search.py "query" --deep --additional-queries "alt query"Deep search
... exa_search.py "query" --domains docs.python.orgDomain-filtered
... exa_search.py "query" --after 2025-01-01 --category newsRecent news
... exa_search.py "query" --context --context-chars 10000RAG context
... exa_search.py "query" --instant -n 5Sub-150ms lookup

Categories: company, research paper, news, pdf, github, tweet, personal site, people, financial report

2. exa_contents.py — URL Content Extraction

python3 ~/.claude/skills/exa-search/scripts/exa_contents.py URL [URL2...] [options]
Quick ExamplePurpose
... exa_contents.py "https://arxiv.org/abs/2307.06435"Extract paper
... exa_contents.py URL --summary "Key methods" --highlightsSummarized extraction
... exa_contents.py URL --livecrawl alwaysFresh content
... exa_contents.py URL --max-chars 5000Bounded extraction

3. exa_similar.py — Find Similar Pages

python3 ~/.claude/skills/exa-search/scripts/exa_similar.py URL [options]
Quick ExamplePurpose
... exa_similar.py "https://stripe.com" --category company --exclude-sourceFind competitors
... exa_similar.py "https://arxiv.org/abs/..." -n 15Related papers
... exa_similar.py URL --summary "How different?"Comparison summaries

4. exa_research.py — AI-Powered Research

python3 ~/.claude/skills/exa-search/scripts/exa_research.py "question" [options]
Quick ExamplePurpose
... exa_research.py "React vs Vue differences?" --sourcesResearch with citations
... exa_research.py "query" --streamReal-time streaming
... exa_research.py "query" --domains docs.python.orgAuthoritative sources
... exa_research.py "query" --markdownMarkdown with citations
... exa_research.py "query" --answer-onlyPipe-friendly output

5. exa_research_async.py — Async Pro Research

python3 ~/.claude/skills/exa-search/scripts/exa_research_async.py "question" [options]
Quick ExamplePurpose
... exa_research_async.py "Compare AI frameworks" --pro --waitPro model
... exa_research_async.py "Quick overview" --fastFast model
... exa_research_async.py "query" --schema '{...}'Structured output
... exa_research_async.py status r_abc123Check job
... exa_research_async.py listList jobs

Script Selection Guide

TaskBest Script
Web search with filtersexa_search.py
Research papersexa_search.py --category "research paper"
Company/startup infoexa_search.py --category company
GitHub repos/codeexa_search.py --category github
Extract known URL contentexa_contents.py
Find competitorsexa_similar.py --exclude-source
Quick answers with citationsexa_research.py --sources
Complex structured researchexa_research_async.py --pro
Real-time searchexa_search.py --instant
RAG context buildingexa_search.py --context

Exa vs Firecrawl vs Native Claude Tools

NeedBest ToolWhy
Semantic/neural searchExa exa_search.pyAI-powered relevance
Find research papersExa --category "research paper"Academic index
Quick research answerExa exa_research.pyCitations + synthesis
Find similar pagesExa exa_similar.pySemantic similarity
Single page → markdownFirecrawl scrape --only-main-contentCleanest output
Crawl entire siteFirecrawl crawl --wait --progressLink following
Autonomous data findingFirecrawl agentNo URLs needed
Search + scrape combinedFirecrawl search --scrapeOne operation
Claude API agent buildingNative web_search_20260209Built-in dynamic filtering
Twitter/X contentjina URLOnly tool that works

Common Workflows

Research a Topic

python3 ~/.claude/skills/exa-search/scripts/exa_research.py "How does RAG work?" --sources --markdown

Literature Review

# Find papers, then find similar to best hit
python3 ~/.claude/skills/exa-search/scripts/exa_search.py "transformer optimization" --category "research paper" -n 20 --summary "Key contributions"
python3 ~/.claude/skills/exa-search/scripts/exa_similar.py "https://arxiv.org/abs/1706.03762" --category "research paper" -n 15

Documentation Research

python3 ~/.claude/skills/exa-search/scripts/exa_search.py "React useEffect cleanup" --domains react.dev developer.mozilla.org --context

Build RAG Context

python3 ~/.claude/skills/exa-search/scripts/exa_search.py "Python async patterns" --context --context-chars 15000 --domains docs.python.org

Reference Documentation

FileContents
references/exa-scripts-reference.mdFull parameter reference for all 5 scripts, cost table, MCP comparison, test suite

Test Suite

python3 ~/.claude/skills/exa-search/scripts/test_exa.py --quick       # Quick validation
python3 ~/.claude/skills/exa-search/scripts/test_exa.py               # Full suite
python3 ~/.claude/skills/exa-search/scripts/test_exa.py --endpoint search  # Specific endpoint

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

93/100Analyzed 2/23/2026

Highly comprehensive Exa AI search skill with 5 specialized scripts covering neural search, content extraction, similar page discovery, research with citations, and async pro research. Excellent actionability with concrete commands, token-efficient search principles, cost tiers, and workflow examples. Well-organized with quick reference tables, tool comparison matrix, and test suite. Tags improve discoverability. No internal-only indicators - appears to be a general-purpose, reusable skill for AI-powered web research.

95
95
90
90
95

Metadata

Licenseunknown
Version-
Updated3/15/2026
Publishertdimino

Tags

apici-cdgithubllmtesting