Skip to content
Automation
Skill

/exa-search

AI-powered web search via Exa with content extraction. Use when user says "exa search", "web search with content", "find similar pages", or needs broad web results beyond academic databases (arXiv, Semantic Scholar).

From plugin
auto-claude-code-research-in-sleep
14k187 skills
Install
$ npx -y skills add wanshuiyin/Auto-claude-code-research-in-sleep --skill exa-search --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/exa-search

Context preview

The summary Claude sees to decide when to auto-load this skill.

AI-powered web search via Exa with content extraction. Use when user says "exa search", "web search with content", "find similar pages", or needs broad web results beyond academic databases (arXiv, Semantic Scholar).

SKILL.md

exa-search.SKILL.md
name: exa-search
description: AI-powered web search via Exa with content extraction. Use when user says "exa search", "web search with content", "find similar pages", or needs broad web results beyond academic databases (arXiv, Semantic Scholar).
argument-hint: "[search-query-or-url]"
allowed-tools: Bash(*), Read, Write

Exa AI-Powered Web Search

Search query: $ARGUMENTS

Role & Positioning

Exa is the **broad web search** source with built-in content extraction:

| Skill | Best for | |------|----------| | `/arxiv` | Direct preprint search and PDF download | | `/semantic-scholar` | Published venue papers (IEEE, ACM, Springer), citation counts | | `/deepxiv` | Layered reading: search, brief, section map, section reads | | `/exa-search` | Broad web search: blogs, docs, news, companies, research papers — with content extraction |

Use Exa when you need results beyond academic databases, or when you want content (highlights, full text, summaries) extracted alongside search results.

Constants

  • **EXA_FETCHER** — canonical name `exa_search.py`, resolved per

[`shared-references/integration-contract.md`](../shared-references/integration-contract.md) §2 (Policy D1 — standalone `/exa-search` has no documented fallback, so unresolved helper terminates with an explicit error).

  • **MAX_RESULTS = 10** — Default number of results to return.

> Overrides (append to arguments): > - `/exa-search "RAG pipelines" — max: 5` — top 5 results > - `/exa-search "diffusion models" — category: research paper` — research papers only > - `/exa-search "startup funding" — category: news, start date: 2025-01-01` — recent news > - `/exa-search "transformer" — content: text, max chars: 8000` — full text mode > - `/exa-search "transformer" — content: summary` — LLM-generated summaries > - `/exa-search "transformer" — domains: arxiv.org,huggingface.co` — domain filter > - `/exa-search "https://arxiv.org/abs/2301.07041" — similar` — find similar pages

Setup

Exa requires the `exa-py` SDK and an API key:

pip install exa-py

Set your API key:

export EXA_API_KEY=your-key-here

Get a key from [exa.ai](https://exa.ai).

Workflow

Step 1: Parse Arguments

Parse `$ARGUMENTS` for:

  • **query**: The search query (required) or a URL (for `find-similar` mode)
  • **similar**: If present, use `find-similar` mode instead of search
  • **max**: Override MAX_RESULTS
  • **category**: `research paper`, `news`, `company`, `personal site`, `financial report`, `people`
  • **content**: `highlights` (default), `text`, `summary`, `none`
  • **max chars**: Max characters for content extraction
  • **type**: Search type — `auto` (default), `neural`, `fast`, `instant`
  • **domains**: Comma-separated include domains
  • **exclude domains**: Comma-separated exclude domains
  • **include text**: Phrase that must appear in results
  • **exclude text**: Phrase to exclude from results
  • **start date**: ISO 8601 date — only results after this
  • **end date**: ISO 8601 date — only results before this
  • **location**: Two-letter ISO country code

Step 2: Locate Script

Resolve `$EXA_FETCHER` via the canonical strict-safe chain (see [`shared-references/integration-contract.md`](../shared-references/integration-contract.md) §2). Policy D1 cascade: there is no native inline fallback for Exa (retrieval requires the `exa-py` SDK + API key, which lives in the fetcher), so unresolved helper means the SKILL cannot produce its primary output — fail with explicit remediation.

cd "$(git rev-parse --show-toplevel 2>/dev/null || pwd)" || exit 1
if [ -z "${ARIS_REPO:-}" ] && [ -f .aris/installed-skills.txt ]; then
    ARIS_REPO=$(awk -F'\t' '$1=="repo_root"{print $2; exit}' .aris/installed-skills.txt 2>/dev/null) || true
fi
if [ -z "${ARIS_REPO:-}" ] && [ -f "$HOME/.aris/repo" ]; then
    ARIS_REPO=$(cat "$HOME/.aris/repo" 2>/dev/null) || true
fi
EXA_FETCHER=".aris/tools/exa_search.py"
[ -f "$EXA_FETCHER" ] || EXA_FETCHER="tools/exa_search.py"
[ -f "$EXA_FETCHER" ] || { [ -n "${ARIS_REPO:-}" ] && EXA_FETCHER="$ARIS_REPO/tools/exa_search.py"; }
[ -f "$EXA_FETCHER" ] || {
  echo "ERROR: exa_search.py not resolved at .aris/tools/, tools/, \$ARIS_REPO/tools/, or via ~/.aris/repo." >&2
  echo "       Fix: rerun bash tools/install_aris.sh or smart_update.sh (refreshes ~/.aris/repo), export ARIS_REPO, or copy the helper to tools/." >&2
  echo "       Also ensure 'exa-py' is installed: pip install exa-py" >&2
  exit 1
}

Step 3: Execute Search

**Standard search:**

python3 "$EXA_FETCHER" search "QUERY" --max 10 --content highlights

**With filters:**

python3 "$EXA_FETCHER" search "QUERY" --max 10 \
  --category "research paper" \
  --start-date 2025-01-01 \
  --content text --max-chars 8000

**Find similar pages:**

python3 "$EXA_FETCHER" find-similar "URL" --max 5 --content highlights

**Get content for known URLs:**

python3 "$EXA_FETCHER" get-contents "URL1" "URL2" --content text

Step 4: Present Results

Format results as a structured table:

| # | Title | Authors | Venue/Publisher | URL | Date | Key Content |
|---|-------|---------|-----------------|-----|------|-------------|

For each result:

  • Show title and URL
  • Show published date if available
  • Show highlights, text excerpt, or summary depending on content mode
  • Flag particularly relevant results
  • **For `category: "research paper"` hits only** — also record authors

(from Exa's `author`/`authors` fields, or fallback: parse from the result snippet) and venue/publisher (from `publisher`, `source`, or the domain hosting the paper). These are needed by Step 6's wiki hook; if either is unavailable for a given hit, skip wiki ingest for that one hit and log a note.

Step 5: Offer Follow-up

After presenting results, suggest:

  • **Deepen**: "I can fetch full text for any of these results"
  • **Find similar**: "I can find pages similar to any result"
  • **Narrow**: "I can re-search with domain/date
Read more
Ships withauto-claude-code-research-in-sleep

· · · · · · -orange?style=flat) · · 💬 Join Community · 💡 Use ARIS as a skill-based workflow in Claude Code / Codex CLI / Cursor / Trae / Antigravity / GitHub Copilot CLI / OpenClaw, or get the full experience with the standalone ARIS-Code CLI — enjoy any

Get the whole plugin
Stats
14,445
Stars
1,280
Forks
Active
Maintenance
Python
Language
MIT
License
11h ago
Last commit
5mo ago
Created

Repo: wanshuiyin/Auto-claude-code-research-in-sleep