agentleFS
jackmazacjackmazac/exa-cli/skills/exa-search/SKILL.md

exa-search

Skill1 starsChanged 4 months agoMITView on GitHub

Use when an agent needs semantic web discovery, ranked sources, Search filters, result content, or structured Search output through the native stateless exa CLI.

  • Reads credentials

64 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use deepxiv, figure-description and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • raja21068Skill

    deepxiv

    Search and progressively read open-access academic papers through DeepXiv. Use when the user wants layered paper access, section-level reading, trending papers, or DeepXiv-backed literature retrieval.

    Also in 4 projects that use this

  • raja21068Skill

    figure-description

    Process user-provided patent figures and generate formal drawing descriptions. Use when user says \"附图处理\", \"figure description\", \"附图说明\", \"drawings description\", or wants to describe patent figures with reference numerals.

    Also in 5 projects that use this

  • tpavanipradeepSkill

    bun-runtime

    Bun as runtime, package manager, bundler, and test runner. When to choose Bun vs Node, migration notes, and Vercel support.

    Also in 22 projects that use this

  • niloykumarbarmanSkill

    agent-sort

    Build an evidence-backed ECC install plan for a specific repo by sorting skills, commands, rules, hooks, and extras into DAILY vs LIBRARY buckets using parallel repo-aware review passes. Use when ECC should be trimmed to what a project actually needs instead of loading the full bundle.

    Also in 10 projects that use this

  • junimnjwSkill

    ralphinho-rfc-pipeline

    RFC-driven multi-agent DAG execution pattern with quality gates, merge queues, and work unit orchestration.

    Also in 9 projects that use this

  • mryeastcodeSkill

    everything-claude-code-conventions

    Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

    Also in 8 projects that use this

  • +2 more from raja21068

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. 0 are common, 6 are distinctive, and 9 are very specific to this project.

  • 0

    Common

    Most of the 63 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 9

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use exa search to discover and rank web sources.

    line 10
  2. Distinctive:

    Never put the credential in an argument, request object, source file, or log.

    line 18
  3. Very specific:

    Use --pretty only for inspection.

    line 40
  4. Very specific:

    Use --input <file|-> when the request needs fields beyond the convenience options.

    line 60
  5. Very specific:

    Do not mix --input with a positional query, --type, --num-results, or --category.

    line 82
  6. Very specific:

    Search streaming is not exposed by this CLI.

    line 86
  7. Distinctive:

    Read Search input when using result content, freshness, structured output, domain/date filters, subpages, or extras.

    line 90
  8. Distinctive:

    Read Search output before implementing envelope parsing, retry handling, costs, or grounding.

    line 92
  9. Very specific:

    Do not place text, highlights, or summary at the request root.

    line 96
  10. Very specific:

    Do not read results at the envelope root.

    line 97
  11. Very specific:

    Do not use --input for a partial patch.

    line 98
  12. Very specific:

    Do not mix --input with convenience fields.

    line 99
  13. Distinctive:

    Do not add Search streaming.

    line 100
  14. Distinctive:

    Do not request multiple content modes without a concrete need.

    line 101
  15. Distinctive:

    Do not assume every category supports every filter.

    line 102

“Common” is measured: kept by at least 6 in 10 of the 63 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Exa Search CLI

Overview

Use exa search to discover and rank web sources. The command emits one JSON envelope to stdout and exits; successful API response fields are under data.

Set the credential in the environment:

export EXA_API_KEY="your_api_key_here"

Never put the credential in an argument, request object, source file, or log.

Quick Start

Default search:

exa search "latest developments in LLM evaluation"

The convenience form defaults to type: "auto", numResults: 10, and contents.highlights: true.

Bounded low-latency search:

exa search "recent AI infrastructure funding" \
  --type fast \
  --num-results 5 \
  --category news \
  --timeout-ms 30000

Use --pretty only for inspection. Automation should accept compact or pretty JSON rather than depend on whitespace.

Convenience Options

OptionAccepted valuesDefault
--typeauto, fast, instant, deep, deep-reasoningauto
--num-resultsinteger from 1 to 10010
--categorycompany, publication, news, pdf, github, personal-site, people, financial-reportnone

Choose:

  • auto for general retrieval.
  • fast for low-latency agent and product loops.
  • instant for the lowest-latency interactive path.
  • deep for multi-step discovery and synthesis.
  • deep-reasoning for the most ambiguous research tasks.

Advanced Search Input

Use --input <file|-> when the request needs fields beyond the convenience options. - reads one complete Search request object from stdin:

exa search --input - <<'JSON'
{
  "query": "AI regulation policy updates",
  "type": "auto",
  "category": "news",
  "numResults": 10,
  "includeDomains": ["reuters.com", "bbc.com"],
  "startPublishedDate": "2026-01-01",
  "contents": {
    "text": {
      "maxCharacters": 2000
    },
    "maxAgeHours": 24,
    "livecrawlTimeout": 12000
  }
}
JSON

Do not mix --input with a positional query, --type, --num-results, or --category. Global flags such as --timeout-ms, --verbose, and --pretty remain valid.

Unknown request fields are forwarded, which lets new API fields work without a CLI release. The CLI validates the input as a JSON object; the upstream service remains authoritative for field combinations.

Search streaming is not exposed by this CLI. Omit stream; the Search command expects one JSON response.

Advanced Fields and Results

Read Search input when using result content, freshness, structured output, domain/date filters, subpages, or extras.

Read Search output before implementing envelope parsing, retry handling, costs, or grounding.

Critical Mistakes

  • Do not place text, highlights, or summary at the request root; nest them in contents.
  • Do not read results at the envelope root; read data.results.
  • Do not use --input for a partial patch; it is the complete request object.
  • Do not mix --input with convenience fields.
  • Do not add Search streaming.
  • Do not request multiple content modes without a concrete need.
  • Do not assume every category supports every filter; let a rejected combination fail visibly and adjust the request.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.