exa-research
Comprehensive research skill using Exa AI tools for web search and code context retrieval. Use when conducting research on technologies, finding code examples, discovering latest tools, or gathering comprehensive information on any topic. Combines web search for articles/news with code search for implementation examples.
Best use case
exa-research is best used when you need a repeatable AI agent workflow instead of a one-off prompt. It is especially useful for teams working in multi. Comprehensive research skill using Exa AI tools for web search and code context retrieval. Use when conducting research on technologies, finding code examples, discovering latest tools, or gathering comprehensive information on any topic. Combines web search for articles/news with code search for implementation examples.
Comprehensive research skill using Exa AI tools for web search and code context retrieval. Use when conducting research on technologies, finding code examples, discovering latest tools, or gathering comprehensive information on any topic. Combines web search for articles/news with code search for implementation examples.
Users should expect a more consistent workflow output, faster repeated execution, and less time spent rewriting prompts from scratch.
Practical example
Example input
Use the "exa-research" skill to help with this workflow task. Context: Comprehensive research skill using Exa AI tools for web search and code context retrieval. Use when conducting research on technologies, finding code examples, discovering latest tools, or gathering comprehensive information on any topic. Combines web search for articles/news with code search for implementation examples.
Example output
A structured workflow result with clearer steps, more consistent formatting, and an output that is easier to reuse in the next run.
When to use this skill
- Use this skill when you want a reusable workflow rather than writing the same prompt again and again.
When not to use this skill
- Do not use this when you only need a one-off answer and do not need a reusable workflow.
- Do not use it if you cannot install or maintain the related files, repository context, or supporting tools.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/exa-research/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How exa-research Compares
| Feature / Agent | exa-research | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Comprehensive research skill using Exa AI tools for web search and code context retrieval. Use when conducting research on technologies, finding code examples, discovering latest tools, or gathering comprehensive information on any topic. Combines web search for articles/news with code search for implementation examples.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
AI Agent for Product Research
Browse AI agent skills for product research, competitive analysis, customer discovery, and structured product decision support.
ChatGPT vs Claude for Agent Skills
Compare ChatGPT and Claude for AI agent skills across coding, writing, research, and reusable workflow execution.
SKILL.md Source
# Exa Research
## Overview
Enable comprehensive research using Exa AI's powerful search capabilities. This skill provides workflows for web research, code discovery, and combined research strategies using two primary tools.
## When to Use This Skill
Use this skill when researching new technologies, finding code examples, discovering latest trends, gathering comprehensive information on technical topics, comparing solutions, or learning how to implement specific features.
## Core Capabilities
### 1. Web Research (exa_web_search)
Search the web for articles, news, documentation, and general information.
**Best for:** Latest news and trends, product comparisons, technology overviews, blog posts and articles, documentation and guides
**Key Parameters:**
- query (required): Search query
- numResults (optional): Number of results (default: 8, max: 50)
- type (optional): Search depth - "auto" (balanced), "fast" (quick), "deep" (comprehensive, recommended)
- livecrawl (optional): "fallback" (backup) or "preferred" (prioritize fresh content)
- contextMaxCharacters (optional): Max context length (default: 10000)
**Example Usage:**
```python
from servers.exa import exa_web_search
# Quick research
result = await exa_web_search("latest AI tools 2025", numResults=10)
# Deep research with live crawling
result = await exa_web_search(
query="Next.js 15 new features",
numResults=20,
type="deep",
livecrawl="preferred",
contextMaxCharacters=15000
)
```
### 2. Code Discovery (exa_get_code_context)
Search for code examples, implementation patterns, and technical documentation from open source repositories.
**Best for:** Code examples and snippets, implementation patterns, API usage examples, framework-specific code, library documentation, real-world implementations
**Key Parameters:**
- query (required): Search query describing what code you need
- tokensNum (optional): Token count (1000-50000, default: 5000)
- Use 2000-3000 for focused examples
- Use 5000-8000 for comprehensive documentation
- Use 10000+ for extensive research
**Example Usage:**
```python
from servers.exa import exa_get_code_context
# Find specific examples
code = await exa_get_code_context(
query="React useState hook examples",
tokensNum=3000
)
# Comprehensive documentation
code = await exa_get_code_context(
query="Next.js Better Auth complete setup guide",
tokensNum=10000
)
```
## Research Workflows
### Workflow 1: Technology Research
When researching a new technology, framework, or tool:
1. Start with web search to understand the landscape
2. Get code examples to see implementation
3. Find latest updates with live crawling
### Workflow 2: Implementation Research
When learning how to implement a specific feature:
1. Search for implementation guides
2. Get working code examples
### Workflow 3: Comparison Research
When comparing different solutions:
1. Search for comparisons
2. Get code examples for each solution
### Workflow 4: Discovery Research
When discovering new tools or trends:
1. Search for latest tools
2. Get implementation examples for interesting finds
## Query Optimization Tips
### Web Search Queries
**Good queries:**
- "latest AI coding tools 2025" (specific, timely)
- "Next.js 15 new features comparison" (focused, comparative)
- "React Server Components best practices" (specific topic)
**Avoid:**
- "AI tools" (too broad)
- "programming" (too generic)
- Single words without context
**Tips:**
- Include year for latest information
- Use specific technology names
- Add context words: "latest", "best", "comparison", "guide"
- Combine related terms
### Code Search Queries
**Good queries:**
- "React useState hook examples" (specific API)
- "Next.js Better Auth implementation setup" (specific use case)
- "FastAPI authentication middleware patterns" (specific pattern)
**Avoid:**
- "React code" (too broad)
- "authentication" (needs framework context)
- "how to code" (too generic)
**Tips:**
- Include framework/library name
- Specify the feature or API
- Add context: "examples", "implementation", "setup", "configuration"
- Be specific about what you want to learn
## Best Practices
### Token Management
- Web search: Use higher numResults (15-20) for comprehensive research
- Code search: Adjust tokensNum based on need (2000-3000 for quick, 5000-8000 for standard, 10000+ for deep)
### Search Strategy
1. Start broad, then narrow
2. Use both tools: Combine web search with code search
3. Iterate: Refine queries based on initial results
4. Fresh content: Use livecrawl="preferred" for latest information
### Result Processing
- Web results: Focus on recent dates, authoritative sources
- Code results: Look for complete examples, not just snippets
- Combine insights: Merge web context with code examples
## Common Use Cases
### Use Case 1: Learning a New Framework
```python
# Get overview
overview = await exa_web_search("Next.js 15 overview features", numResults=10, type="deep")
# Get starter code
starter = await exa_get_code_context("Next.js 15 getting started tutorial", tokensNum=8000)
# Find best practices
practices = await exa_web_search("Next.js 15 best practices 2025", numResults=8)
```
### Use Case 2: Solving a Specific Problem
```python
# Search for solutions
solutions = await exa_web_search("how to fix [error] in [framework]", numResults=10)
# Get working code
code = await exa_get_code_context("[framework] [problem] solution examples", tokensNum=5000)
```
### Use Case 3: Staying Current
```python
# Latest news
news = await exa_web_search(
"latest [technology] updates 2025",
numResults=15,
livecrawl="preferred"
)
# New features code
features = await exa_get_code_context("[technology] new features examples", tokensNum=5000)
```
## Resources
See scripts/ directory for helper utilities:
- research_workflow.py - Automated multi-step research workflows
- query_optimizer.py - Query optimization and suggestion tool
See references/ directory for detailed guides:
- search_strategies.md - Advanced search strategies and patterns
- query_patterns.md - Effective query patterns with examples
## Quick Reference
Import the tools:
```python
from servers.exa import exa_web_search, exa_get_code_context
```
Basic web search:
```python
result = await exa_web_search("your query", numResults=10)
```
Basic code search:
```python
code = await exa_get_code_context("your query", tokensNum=5000)
```
Combined research:
```python
# Get context
context = await exa_web_search("topic overview", numResults=10, type="deep")
# Get code
code = await exa_get_code_context("topic implementation examples", tokensNum=8000)
```Related Skills
wiki-researcher
Conducts multi-turn iterative deep research on specific topics within a codebase with zero tolerance for shallow analysis. Use when the user wants an in-depth investigation, needs to understand how something works across multiple files, or asks for comprehensive analysis of a specific system or pattern.
research-engineer
An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.
context7-auto-research
Automatically fetch latest library/framework documentation for Claude Code via Context7 API
research-merge
Processes research branches from Claude Code Web sessions - merges content, moves docs to docs/research/, and creates GitHub issues. Use when /popkit:next detects research branches or when manually processing research from mobile sessions. Do NOT use for regular feature branches - only for branches matching claude/research-* or containing research documentation.
web-research
Use this skill for requests related to web research; it provides a structured approach to conducting comprehensive web research.
research-driven-planning
Loop 1 of the Three-Loop Integrated Development System. Research-driven requirements analysis with iterative risk mitigation through 5x pre-mortem cycles using multi-agent consensus. Feeds validated, risk-mitigated plans to parallel-swarm-implementation. Use when starting new features or projects requiring comprehensive planning with <3% failure confidence and evidence-based technology selection.
research-lookup
Look up current research information using Perplexity's Sonar Pro Search or Sonar Reasoning Pro models through OpenRouter. Automatically selects the best model based on query complexity. Search academic papers, recent studies, technical documentation, and general research information with citations.
research-grants
Write competitive research proposals for NSF, NIH, DOE, and DARPA. Agency-specific formatting, review criteria, budget preparation, broader impacts, significance statements, innovation narratives, and compliance with submission requirements.
notion-research-documentation
Research across Notion and synthesize into structured documentation; use when gathering info from multiple Notion sources to produce briefs, comparisons, or reports with citations.
market-research-reports
Generate comprehensive market research reports (50+ pages) in the style of top consulting firms (McKinsey, BCG, Gartner). Features professional LaTeX formatting, extensive visual generation with scientific-schematics and generate-image, deep integration with research-lookup for data gathering, and multi-framework strategic analysis including Porter's Five Forces, PESTLE, SWOT, TAM/SAM/SOM, and BCG Matrix.
gemini-research-subagent
Delegates large-context code analysis to Gemini CLI. Use when analyzing codebases, tracing bugs across files, reviewing architecture, or performing security audits. Gemini reads, Claude implements.
research
Multi-source parallel research with confidence-based synthesis.