exacli

Searches the web, code, and URLs through the Exa AI search API from the command line.

1|Updated May 4, 2026
One-click install
npx skills add https://github.com/wesbragagt/nixos-config --skill exacli-wesbragagt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: exacli
Source: https://github.com/wesbragagt/nixos-config/tree/main/home/skills/exacli
Command: npx skills add https://github.com/wesbragagt/nixos-config --skill exacli-wesbragagt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It gives AI agents and developers direct CLI access to Exa's web search, code search, content extraction, and deep research APIs without writing custom API integration code. ## Core Features & Use Cases - Web and Code Search: Run semantic, keyword, or hybrid searches, plus dedicated code example search via exacli code with configurable token budgets. - Content Extraction and Similarity: Fetch full text, highlights, or summaries from specific URLs with exacli contents, and find related pages with exacli similar. - Deep Research and Answers: Run multi-step research with synthesized structured output using --type deep-reasoning and --output-schema, or get cited answers via exacli answer. - Use Case: Ask the agent to research a topic like "latest transformer architecture papers" and receive a synthesized, cited report, or find a rate limiter implementation in Go with actual code snippets. ## Quick Start Ask the agent to search the web for a topic with content included, for example: search for recent AI startup funding news and summarize the top five results.

Frequently Asked Questions about exacli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search the web with the Exa API from the command line?

Run exacli search with your query, for example exacli search "AI startups" --num-results 5 --text. Add --highlights for snippets or --summary for AI-generated summaries, and use --toon for compact output.

How do I find code examples using Exa search?

Use exacli code instead of exacli search, for example exacli code "rate limiter implementation Go" --tokens-num 5000. The code command queries the Exa Code API and returns implementations with a configurable token budget.

What is the difference between exacli search types like deep and deep-reasoning?

Deep types run multi-step research with synthesis: deep-lite takes about 4 seconds, deep is more comprehensive, and deep-reasoning handles harder analysis in 12-40 seconds. Pair them with --output-schema to receive structured synthesized output.

Does exacli require an API key and how is it stored?

Yes, exacli requires an Exa API key. Run exacli login once to store the key in the OS keychain, or pass it per-command with the --api-key global flag. Use exacli logout to remove it.

Which output format should I use with exacli in agent contexts?

Use the default output for metadata-only results and --toon when fetching content, since both are more compact than --json. Reserve --json for scripting cases where you pipe results into jq for field extraction.