exa-search

exa-search is a skill for Claude Code, Codex from exa-labs/agent-skills. It costs 60 tokens per session (3,463 once invoked), scanned A, a copy of exa-search, MIT.

A direct way to call Exa’s Search endpoint using cURL or raw HTTP requests. Exa Search retrieves web results based on meaning, rather than only matching exact keywords.

In plain words
What is it for?
Use it for semantic web searches, filtering results by domain or category, retrieving highlights or page text, requesting structured results, or streaming search responses.
Why use it?
It lets an agent use Exa search without an SDK and control how results are filtered or returned. This is useful when search needs freshness, domain filters, extracted text, or structured output.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for semantic web searches, filtering results by domain or category, retrieving highlights or page text, requesting structured results, or streaming search responses.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/exa-labs/agent-skills/exa-search
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add exa-labs/agent-skills --skill exa-search
Clone the repo
git clone --depth 1 https://github.com/exa-labs/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for exa-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/exa-labs/agent-skills/exa-search/github.svg)](https://agentmods.dev/skills/exa-labs/agent-skills/exa-search)
Your own site
<a href="https://agentmods.dev/skills/exa-labs/agent-skills/exa-search"><img src="https://agentmods.dev/badge/skills/exa-labs/agent-skills/exa-search/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for exa-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/exa-labs/agent-skills/exa-search"><img src="https://agentmods.dev/badge/skills/exa-labs/agent-skills/exa-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,463 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 17 Sept 2026
  • Snyk warn 17 Sept 2026
How audits are shown
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00060 $0.03463
Opus 5.5 $0.00024 $0.01385
Sonnet 5.5 $0.00012 $0.00693
Haiku 4.5 $0.00006 $0.00346

Measured 5d ago against content hash 2dd3fa230283, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

exa-search scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sS -X POST "https://api.exa.ai/search" \
Origin

This is a copy

100% identical to exa-search — 15 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/exa-search/SKILL.md · 289 lines

How it starts

The opening of the file, as written. The whole thing — 289 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Requires API key: Get one at https://dashboard.exa.ai/api-keys

Header: x-api-key: $EXA_API_KEY

Use POST https://api.exa.ai/search for semantic web retrieval, ranked results, and optional result-level extraction in one raw HTTP call. Start with type: "auto" for general retrieval. Add contents only when the caller needs page text, highlights, summaries, freshness-controlled crawling, subpages, or extracted links.

Quick Start (cURL)

Basic search

curl -sS -X POST "https://api.exa.ai/search" \
  -H "Content-Type: application/json" \
  -H "x-api-key: $EXA_API_KEY" \
  -d '{
    "query": "latest developments in LLMs",
    "type": "auto",
    "numResults": 10
  }'

Search with highlights

curl -sS -X POST "https://api.exa.ai/search" \
  -H "Content-Type: application/json" \
  -H "x-api-key: $EXA_API_KEY" \
  -d '{
    "query": "latest developments in LLMs",
    "type": "auto",
    "numResults": 5,
    "contents": {
      "highlights": true
    }
  }'

With filters and freshness

curl -sS -X POST "https://api.exa.ai/search" \
  -H "Content-Type: application/json" \
  -H "x-api-key: $EXA_API_KEY" \
  -d '{
    "query": "AI regulation policy updates",
    "type": "auto",
    "category": "news",
    "numResults": 10,
    "includeDomains": ["reuters.com", "bbc.com"],
    "startPublishedDate": "2025-01-01",
    "contents": {
      "text": {
        "maxCharacters": 2000
      },
      "maxAgeHours": 24,
      "livecrawlTimeout": 12000
    }
  }'

Deep search

curl -sS -X POST "https://api.exa.ai/search" \
  -H "Content-Type: application/json" \
  -H "x-api-key: $EXA_API_KEY" \
  -d '{
    "query": "map the major technical and commercial tradeoffs in sodium-ion batteries for grid storage",
    "type": "deep",
    "numResults": 8
  }'

Endpoint

POST https://api.exa.ai/search

Authentication: x-api-key: <API_KEY> header. Exa also accepts Authorization: Bearer <API_KEY>, but prefer x-api-key in cURL examples for consistency.

Read the full file on GitHub · 289 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago Changed · +1 lines 2dd3fa230283
  2. 1mo ago Changed e9bdef18f49e
  3. 2mo ago First seen · 288 lines · 60 tokens per session scan A 002247744eb9

Subscribe to this mod's changes

exa-search is a skill published in the GitHub repository exa-labs/agent-skills (65 stars, last pushed yesterday), licensed MIT. It adds 60 tokens to every session and 3,463 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to exa-search, differing in 15 lines, and is treated as a copy.

Related

exa-search compared with skills from other repositories

exa-search next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
exa-searchexa-labs/agent-skillsSkill65yesterdayMITA60Claude Code, Codex
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143kyesterdayMITA103Claude Code