exa-cli
使用 Exa 搜索与代码上下文命令行进行信息检索与编程资料检索。适用于需要从实时网页获取资料、定位权威来源、或查询具体代码示例/库用法的任务(如技术调研、API 使用方式确认、示例代码查找)。
Best use case
exa-cli is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
使用 Exa 搜索与代码上下文命令行进行信息检索与编程资料检索。适用于需要从实时网页获取资料、定位权威来源、或查询具体代码示例/库用法的任务(如技术调研、API 使用方式确认、示例代码查找)。
Teams using exa-cli should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/exa-cli/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How exa-cli Compares
| Feature / Agent | exa-cli | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
使用 Exa 搜索与代码上下文命令行进行信息检索与编程资料检索。适用于需要从实时网页获取资料、定位权威来源、或查询具体代码示例/库用法的任务(如技术调研、API 使用方式确认、示例代码查找)。
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
## 使用方式 说明:以下调用方式均以当前 `SKILL.md` 文件所在文件夹为 workdir。必须直接当作可执行文件执行。 - 运行脚本:`scripts/exa-cli.py` - 网页搜索:`scripts/exa-cli.py web-search-exa <query>` - 编程检索:`scripts/exa-cli.py get-code-context-exa <query>` ### web-search-exa 说明:实时网页搜索并返回结果与正文片段。 必填参数:`query`(搜索查询语句)。 可选参数: `--type`:搜索类型(auto/fast/deep)。 `--livecrawl`:抓取模式(fallback/preferred)。 `--num-results`:返回结果数量。 `--context-max-characters`:返回上下文的最大字符数。 `--endpoint`:服务地址(默认 `https://mcp.exa.ai/mcp`)。 `--token`:认证令牌,默认读取环境变量。 `--timeout`:请求超时秒数(默认 30.0)。 `--cache-ttl`:缓存有效期(秒,默认 3600)。 `--no-cache`:禁用本地缓存。 `--json`:以 JSON 输出完整响应。 `--verbose`:输出调试日志。 ### get-code-context-exa 说明:面向编程问题的检索,返回高质量上下文信息。 必填参数:`query`(上下文检索查询)。 可选参数: `--tokens-num`:返回的 token 数量。 `--endpoint`:服务地址(默认 `https://mcp.exa.ai/mcp`)。 `--token`:认证令牌,默认读取环境变量。 `--timeout`:请求超时秒数(默认 30.0)。 `--cache-ttl`:缓存有效期(秒,默认 3600)。 `--no-cache`:禁用本地缓存。 `--json`:以 JSON 输出完整响应。 `--verbose`:输出调试日志。 ## 参考信息 - [exa-cli.py](scripts/exa-cli.py)
Related Skills
fixture-generator
Fixture Generator - Auto-activating skill for Test Automation. Triggers on: fixture generator, fixture generator Part of the Test Automation skill category.
firewall-rule-generator
Firewall Rule Generator - Auto-activating skill for GCP Skills. Triggers on: firewall rule generator, firewall rule generator Part of the GCP Skills skill category.
firestore-operations-manager
Manage Firebase/Firestore operations including CRUD, queries, batch processing, and index/rule guidance. Use when you need to create/update/query Firestore documents, run batch writes, troubleshoot missing indexes, or plan migrations. Trigger with phrases like "firestore operations", "create firestore document", "batch write", "missing index", or "fix firestore query".
firestore-index-creator
Firestore Index Creator - Auto-activating skill for GCP Skills. Triggers on: firestore index creator, firestore index creator Part of the GCP Skills skill category.
firebase-vertex-ai
Execute firebase platform expert with Vertex AI Gemini integration for Authentication, Firestore, Storage, Functions, Hosting, and AI-powered features. Use when asked to "setup firebase", "deploy to firebase", or "integrate vertex ai with firebase". Trigger with relevant phrases based on skill purpose.
firebase-rules-generator
Firebase Rules Generator - Auto-activating skill for GCP Skills. Triggers on: firebase rules generator, firebase rules generator Part of the GCP Skills skill category.
finding-arbitrage-opportunities
Detect profitable arbitrage opportunities across CEX, DEX, and cross-chain markets in real-time. Use when scanning for price spreads, finding arbitrage paths, comparing exchange prices, or analyzing triangular arbitrage opportunities. Trigger with phrases like "find arbitrage", "scan for arb", "price spread", "exchange arbitrage", "triangular arb", "DEX price difference", or "cross-exchange opportunity".
filtering-query-builder
Filtering Query Builder - Auto-activating skill for API Development. Triggers on: filtering query builder, filtering query builder Part of the API Development skill category.
file-format-converter
File Format Converter - Auto-activating skill for Data Pipelines. Triggers on: file format converter, file format converter Part of the Data Pipelines skill category.
feature-store-connector
Feature Store Connector - Auto-activating skill for ML Deployment. Triggers on: feature store connector, feature store connector Part of the ML Deployment skill category.
feature-importance-analyzer
Feature Importance Analyzer - Auto-activating skill for ML Training. Triggers on: feature importance analyzer, feature importance analyzer Part of the ML Training skill category.
engineering-features-for-machine-learning
This skill empowers Claude to perform feature engineering tasks for machine learning. It creates, selects, and transforms features to improve model performance. Use this skill when the user requests feature creation, feature selection, feature transformation, or any request that involves improving the features used in a machine learning model. Trigger terms include "feature engineering", "feature selection", "feature transformation", "create features", "select features", "transform features", "improve model performance", and similar phrases related to feature manipulation.