exa-search

exa-search is a skill for Claude Code from BenedictKing/benedictking-skills. It costs 36 tokens per session (1,294 once invoked), scanned A, original, MIT.

A web research tool that finds pages by meaning, retrieves page contents, discovers similar pages, and looks up research papers or GitHub projects.

In plain words
What is it for?
Use it to research subjects, find similar websites or projects, extract information from search results, and get direct answers from web sources.
Why use it?
It reduces the need to search through unrelated results or open pages one by one when investigating a topic.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Part of the benedictking-skills plugin — 6 skills shipped together

Good fit Use it to research subjects, find similar websites or projects, extract information from search results, and get direct answers from web sources.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/benedictking/benedictking-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 BenedictKing/benedictking-skills --skill exa-search
Clone the repo
git clone --depth 1 https://github.com/BenedictKing/benedictking-skills

Made for: Claude Code.

Or install benedictking-skills, the plugin that ships this one along with the rest of its 6 skills.

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/benedictking/benedictking-skills/exa-search/github.svg)](https://agentmods.dev/skills/benedictking/benedictking-skills/exa-search)
Your own site
<a href="https://agentmods.dev/skills/benedictking/benedictking-skills/exa-search"><img src="https://agentmods.dev/badge/skills/benedictking/benedictking-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/benedictking/benedictking-skills/exa-search"><img src="https://agentmods.dev/badge/skills/benedictking/benedictking-skills/exa-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,294 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.00036 $0.01294
Opus 5 $0.00018 $0.00647
Sonnet 5 $0.00007 $0.00259
Haiku 4.5 $0.00004 $0.00129

Measured 11d ago against content hash ff4b3c2fc946, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

exa-search scanned grade A with 0 findings 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 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/exa-api.cjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

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

How it starts

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

Exa Search Skill

Trigger Conditions & Endpoint Selection

Choose Exa endpoint based on user intent:

  • search: Need semantic search / find web pages / research topics. Use type: "auto" by default.
  • deep search / structured research: Use the search endpoint with type: "deep" or type: "deep-reasoning" and optional outputSchema.
  • contents: Given result IDs, need to extract full content.
  • findsimilar: Given URL, need to find similar pages.
  • answer: Need direct answer to a question.

/research and /research/v1 are deprecated and were hard-removed on 2026-05-01. Do not use them for new calls; migrate research-style requests to /search with type: "deep-reasoning".

This skill uses a two-phase architecture:

  1. Main skill (current context): Understand user question → Choose endpoint → Assemble JSON payload
  2. Sub-skill (fork context): Only responsible for HTTP call execution, avoiding conversation history token waste

Execution Method

Use Task tool to invoke exa-fetcher sub-skill, passing command and JSON (stdin):

Task parameters:
- subagent_type: Bash
- description: "Call Exa API"
- prompt: cat <<'JSON' | node scripts/exa-api.cjs <search|contents|findsimilar|answer>
  { ...payload... }
  JSON

The script still accepts the legacy research command for backwards compatibility, but it normalizes the payload and sends it to /search with type: "deep-reasoning".

Payload Examples

1) Search

cat <<'JSON' | node scripts/exa-api.cjs search
{
  "query": "Latest research in LLMs",
  "type": "auto",
  "numResults": 10,
  "category": "research paper",
  "includeDomains": [],
  "excludeDomains": [],
  "startPublishedDate": "2025-01-01",
  "endPublishedDate": "2025-12-31",
  "contents": {
    "highlights": true,
    "summary": true
  }
}
JSON

Search Types:

  • auto: Balanced default
  • fast: Low latency
  • instant: Lowest latency
  • deep-lite: Lightweight synthesized output
  • deep: Multi-step search with reasoning and structured outputs
  • deep-reasoning: Highest-effort deep search for complex research tasks

Read the full file on GitHub · 179 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 179 lines · 36 tokens per session scan A ff4b3c2fc946

Subscribe to this mod's changes

exa-search is a skill published in the GitHub repository BenedictKing/benedictking-skills (14 stars, last pushed 1mo ago), licensed MIT. It adds 36 tokens to every session and 1,294 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.