Performs semantic search and content retrieval via the Exa API. Supports deep research, code documentation lookup, company/professional research, and URL content extraction.
Ships in dianel555-dskills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
High-precision semantic search via Exa API. Standalone CLI only (no MCP dependency).
# Prerequisites: pip install httpx tenacity
# Environment: EXA_API_KEY (required), EXA_API_URL (optional, default: https://api.exa.ai)
# All examples assume cwd == skills/exa/. The shim auto-chdirs if you launch
# it from elsewhere (e.g., the repo root).
cd skills/exa
python scripts/exa_cli.py --help
# Basic semantic search (highlights always on; supports inline category:<type>)
python scripts/exa_cli.py web_search_exa --query "TypeScript design patterns" [--num-results 10]
python scripts/exa_cli.py web_search_exa --query "category:company Anthropic AI safety"
# Batch URL fetch (urls is a repeatable flag; payload field is upstream `ids`)
python scripts/exa_cli.py web_fetch_exa \
--urls "https://a.com" --urls "https://b.com" \
[--max-chars 3000] [--out content.json]
# Advanced filtered search (list params are repeatable flags, no comma syntax)
python scripts/exa_cli.py web_search_advanced_exa --query "transformer" \
[--type auto|fast|instant] [--category research\ paper] \
[--include-domains arxiv.org --include-domains papers.nips.cc] \
[--exclude-domains medium.com] \
[--include-text "attention"] [--exclude-text "tutorial"] \
[--start-date 2024-01-01] [--end-date 2024-12-31] \
[--num-results 10] [--max-age-hours 168] \
[--text] [--highlights] [--summary] \
[--max-chars 5000] # only effective when --text is set; emits stderr warning otherwise
[--out results.json]
# Configuration / connectivity probe (omit --no-test to run a numResults=1 ping)
python scripts/exa_cli.py get_config_info [--no-test]
# Create an Agent run or resume the same retained run
python scripts/exa_cli.py agent_run --query "Research an evidence-backed market map" [--effort low]
python scripts/exa_cli.py agent_run --run-id agent_run_123 [--wait-seconds 750]
| Tool | Required | Optional | Output |
|---|---|---|---|
web_search_exa | --query | --num-results (1-100) | Search results JSON (highlights always present) |
web_fetch_exa | --urls (repeatable, ≥1) | --max-chars (default 3000), --out | /contents response JSON |
web_search_advanced_exa | --query | --type, --category, repeatable --include-domains/--exclude-domains/--include-text/--exclude-text, --start-date, --end-date, --num-results, --max-age-hours, --text, --highlights, --summary, --max-chars, --out | Filtered search results JSON |
get_config_info | – | --no-test | Config + (default) connection_test |
agent_run | exactly one of --query / --run-id | schema/input files, data sources, prior-run continuation, effort, wait controls, --out | Normalized retained-run lifecycle JSON |
Place before the subcommand:
| Option | Purpose |
|---|---|
--api-url | Override EXA_API_URL (does not write to os.environ) |
--api-key | Override EXA_API_KEY |
--debug | Enable JSON debug events on stderr (EXA_DEBUG=true) — never logs auth values |
--max-retry-wait <s> | Cap (seconds) for single retry wait + exponential backoff (default 60, env: EXA_MAX_RETRY_WAIT) |
--auth-scheme <scheme> | Authentication scheme: x-api-key (default) or bearer for third-party endpoints (env: EXA_AUTH_SCHEME) |
| Use Case | Recommended Tool |
|---|---|
| Real-time news, current events | grok-search |
| Semantic/conceptual research | exa (web_search_exa) |
| Domain or date-bounded research | exa (web_search_advanced_exa) |
| Read full content of one or more URLs | exa (web_fetch_exa) |
| Academic papers, technical docs | exa (web_search_advanced_exa --include-domains arxiv.org ...) |
| Open-ended discovery, multi-hop research, structured list building, prior-run follow-up | exa-agent (agent_run) |
| Homogeneous enrichment over known rows | Deterministic script with bounded concurrency, backoff, checkpoint, and stable output file |
python scripts/exa_cli.py web_search_exa --query "best practices for React hooks" --num-results 5
python scripts/exa_cli.py web_search_advanced_exa --query "transformer architecture" \
--include-domains arxiv.org --include-domains papers.nips.cc \
--start-date 2023-01-01 --text --summary
python scripts/exa_cli.py web_fetch_exa \
--urls "https://example.com/a" --urls "https://example.com/b" \
--max-chars 4000 --out batch.json
# Connect to exa-pool or other Exa-compatible proxy
export EXA_API_URL=https://pool.example.com
export EXA_AUTH_SCHEME=bearer
export EXA_API_KEY=your-bearer-token
python scripts/exa_cli.py web_search_exa --query "AI agents" --num-results 5
# Or use CLI flags for one-off requests
python scripts/exa_cli.py --auth-scheme bearer --api-url https://pool.example.com \
web_search_exa --query "AI agents"
Read exa-agent.md before creating a run. It defines objective/schema/coverage checks, --run-id versus --previous-run-id, evidence validation, and ZDR limits without duplicating that workflow here.
The references/ directory carries 11 prompt-engineering guides. Open them on demand when crafting queries:
| File | When to read |
|---|---|
searching.md | Crafting web_search_exa queries (semantic phrasing, category usage) |
extraction.md | Choosing between highlights / text / summary on advanced search |
filtering.md | Building include/exclude domain & date filters |
synthesis.md | Aggregating multiple result sets into a coherent answer |
source-quality.md | Vetting source credibility |
patterns-code.md | Code/library research recipes |
patterns-companies.md | Company research recipes |
patterns-news.md | Current-events research recipes |
patterns-papers.md | Academic paper recipes |
patterns-people.md | People search recipes |
patterns-relationships.md | Multi-entity relationship research |
| Error | Recovery |
|---|---|
EXA_API_KEY not configured | Set environment variable or pass --api-key |
| Search/fetch HTTP 408/429/5xx | Automatic retry with exponential backoff (max 4 attempts, capped by --max-retry-wait) |
| Agent create network/408/429/5xx | Single attempt; report uncertain upstream state and do not create a duplicate |
| Agent running deadline | Resume the same ID with agent_run --run-id ... |
| HTTP 401 | Verify API key |
| Timeout | Reduce --num-results or retry |
All commands print JSON (ensure_ascii=False, indent 2) to stdout. With --out <file>, the response JSON is written to that path and stdout becomes
{"status":"ok","file":"<file>"}. Errors go to stderr as
{"error":"<message>"} with non-zero exit.
Agent creation and interruption additionally emit one-line JSON progress events to stderr so the retained run ID remains recoverable without corrupting stdout.
README.md (opens in a new tab)exa-agent.md (opens in a new tab)references/extraction.md (opens in a new tab)references/filtering.md (opens in a new tab)references/patterns-code.md (opens in a new tab)references/patterns-companies.md (opens in a new tab)references/patterns-news.md (opens in a new tab)references/patterns-papers.md (opens in a new tab)references/patterns-people.md (opens in a new tab)references/patterns-relationships.md (opens in a new tab)references/searching.md (opens in a new tab)references/source-quality.md (opens in a new tab)references/synthesis.md (opens in a new tab)ruff.toml (opens in a new tab)scripts/exa_cli.py (opens in a new tab)scripts/exa_cli/__init__.py (opens in a new tab)scripts/exa_cli/__main__.py (opens in a new tab)scripts/exa_cli/advanced.py (opens in a new tab)scripts/exa_cli/agent.py (opens in a new tab)scripts/exa_cli/client.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/dianel555-dskills:exafrom dianel555-dskills
dianel555-dskills@cascade-code-general-misc-2 is listed by joshuarweaver/cascade-code-general-misc-2 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-code-general-misc-2 --plugin dianel555-dskills19 skills in this plugin
/ace-toolSemantic codebase search, code indexing, and prompt enhancement via standalone CLI. Use when: (1) Semantic code search with natural language queries, (2) Code indexing for remote codebase retrieval, (3) Prompt enhancement with codebase context, (4) Before grep/find/glob operations for better accuracy, (5) Complex requirements clarification, (6) Large codebase navigation. Triggers: "search context", "enhance prompt", "find code that", "index project", "clarify requirements". IMPORTANT: Always use ace-tool BEFORE grep/find/glob for semantic-level code location.
/agent-wikiIncremental LLM-friendly wiki generator for Obsidian note vaults. Use when: (1) Building wiki from notes, (2) Ingesting notes to wiki, (3) Obsidian LLM wiki, (4) Incremental knowledge base management. Triggers: 'build wiki from notes', 'ingest notes to wiki', 'Obsidian LLM wiki', 'incremental knowledge base'./capability-evolverSelf-evolution workflow for the agent. Before substantive work, recall past outcomes from evolution memory; while editing, detect improvement signals; at task end, record the outcome; when reusable, distill or search the EvoMap network for proven genes/capsules. Use when the user starts non-trivial work (a feature, a fix, a refactor) or asks the agent to "evolve", "learn from this", or "remember how this went"./cc-agyDelegates coding/research tasks to the Google Antigravity CLI (`agy`) for external-model execution (Gemini 3.x, Claude Sonnet/Opus 4.6, GPT-OSS). Replaces the broken `collaborating-with-gemini` skill. Use when: (1) External-model delegation via Antigravity, (2) Multi-model prototyping (switch model per call), (3) Backend/logic implementation, (4) Algorithm design and optimization, (5) Bug analysis and debugging, (6) API/database code generation, (7) Code review. Triggers: "delegate to agy", "use Antigravity", "external model", "agy", "Gemini 3.5", "Claude Sonnet 4.6", "GPT-OSS". IMPORTANT: Always request unified diff patches only. Supports multi-turn sessions via SESSION_ID.
/cc-codexDelegates coding tasks to Codex CLI for prototyping, debugging, and code review. Use when: (1) Backend/logic implementation, (2) Algorithm design and optimization, (3) Bug analysis and debugging, (4) API/database code generation, (5) Code quality review and refactoring. Triggers: "implement algorithm", "debug", "analyze code", "backend task", "API implementation", "optimize performance", "refactor", "generate prototype", "code review". IMPORTANT: Default sandbox="read-only" (analysis/review/patch generation); use sandbox="workspace-write" only when codex must run tests/builds to verify. Always request unified diff patches only. Supports multi-turn sessions via SESSION_ID.
/codex-ccDelegates coding tasks from Codex to local Claude Code in print mode while preserving Claude's normal runtime customizations by default. Use when: (1) You want Codex to call Claude Code locally, (2) You need Claude-side skills, plugins, MCP servers, custom commands, CLAUDE.md rules, or workspace settings to stay active, (3) You want resumable Claude sessions from Codex via SESSION_ID, (4) You need thin `claude mcp` / `claude plugin` passthrough from the same bridge.
Other plugins' skills for the same job