cli-anything-exa
What it does
This skill lets your agent run web searches through Exa and read the contents of the results. It is for people who want current web research from a command-line tool.
When to use it
- ✓When you want a web search on a topic, with results filtered by type, date, or domain.
- ✓When you want the full text or highlights of a web page found by search.
- ✓When you want to find company, people, or research-paper results on the web.
Skill link
https://github.com/HKUDS/CLI-Anything/blob/main/exa/agent-harness/cli_anything/exa/skills/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Search for recent research papers on battery recycling and show me the highlights.”
5 new skills a week. 1 minute to read.
How it works
The skill sends your query to the Exa API with the options you choose, such as result type and date range. It can then fetch the page contents for the results.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Exa CLI Skill
Identity
- Name: cli-anything-exa
- Version: 1.0.0
- Category: search
- Entry Point:
cli-anything-exa
What This CLI Does
Provides an agent-native command-line interface to the Exa API — a neural search engine optimised for AI agent workflows. Supports web search across multiple modes (fast, deep, deep-reasoning) and fetching full-text or highlighted page contents.
Prerequisites
- Python >= 3.10
pip install cli-anything-exaexport EXA_API_KEY="your-api-key"(get one at https://dashboard.exa.ai/api-keys)
Installation
pip install git+https://github.com/HKUDS/CLI-Anything.git#subdirectory=exa/agent-harness
Command Reference
search — Web search
cli-anything-exa search "<query>" [OPTIONS]
Options:
--type auto|fast|instant|deep|deep-reasoning (default: auto)
--num-results / -n 1–100 (default: 10)
--category company|people|research-paper|news|personal-site|financial-report
--content highlights|text|summary|none (default: highlights)
--freshness smart|always|never (default: smart)
--include-domains DOMAIN (repeatable)
--exclude-domains DOMAIN (repeatable)
--from DATE ISO 8601 start published date
--to DATE ISO 8601 end published date
--location CC Two-letter country code for geo-bias
contents — Fetch page contents
cli-anything-exa contents <url> [url ...] [--content text|highlights|summary] [--freshness smart|always|never]
server status — Verify API key and connectivity
cli-anything-exa server status
JSON Output
All commands support --json at the root level for machine-readable output:
cli-anything-exa --json search "latest LLM papers" --num-results 5
Common Agent Patterns
Fast keyword lookup
cli-anything-exa --json search "site:arxiv.org transformer architectures" --type fast --content highlights
Deep research on a topic
cli-anything-exa --json search "EU AI Act compliance requirements 2024" --type deep --content text
Academic paper discovery
cli-anything-exa --json search "retrieval augmented generation" --category research-paper --num-results 20
Company intelligence
cli-anything-exa --json search "Anthropic funding history" --category company
News monitoring
cli-anything-exa --json search "AI regulation news" --category news --from 2024-01-01
Fetch full content for summarisation
cli-anything-exa --json contents https://example.com/article --content text
Interactive REPL
cli-anything-exa # No subcommand → enters REPL
Type commands without the cli-anything-exa prefix. Type exit or quit to leave.
Notes
highlightscontent mode is 10× more token-efficient thantext— prefer it for agent pipelines--type deeptriggers multi-step reasoning; slower but synthesises across many sources--category companyand--category peopledo not support date or domain-exclude filters- Cost per query is included in JSON output under
cost_dollars
FAQ
Do I need an API key?
Yes, you need an Exa API key set in your environment before using the skill.
What kinds of results can it filter?
It can filter by category, such as company, people, news, research paper, or financial report.
What is the content option?
It lets you choose highlights, full text, a summary, or no content for each result.
Details
Original description by the author
Agent-native CLI for Exa web search and content retrieval workflows.
repo: HKUDS/CLI-Anything
Popularity
- GitHub stars
- 58k
- Ranking position
- #3204
- License
- Apache-2.0
- Updated
- 9/21/2026
Comments
- …
More skills from this repository
cli-anything-3mf
58kLets your agent inspect and fix 3D printing files, including finding round holes, resizing them, repairing meshes, and comparing two files.
cli-anything-qgis
58kLets your agent open, edit, and export QGIS map projects from the terminal, including layers, features, print layouts, and processing tools.
cli-anything-adguardhome
58kLets your agent manage AdGuard Home, a network-wide ad blocker, including filters, DNS rewrites, clients, and query logs.
cli-anything-anygen
58kLets your agent generate slides, documents, websites, and diagrams from a written prompt using the AnyGen service.
Similar skills
tavily
394kHelps your agent search the web with Tavily and pull the text from specific web pages, with options for depth, domains, and dates.
blogwatcher
394kLets your agent follow blogs and RSS or Atom feeds, check them for new articles, and mark the ones you have read.
data-scraper-agent
280kHelps your agent automatically collect data from any public source. It can be scheduled, enrich information, and save results. Useful for monitoring or tracking online data.