← 返回 Skills 市场
melvynx

Exa Cli

作者 Melvyn · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
287
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install exa-cli
功能描述
Manage Exa AI via CLI - search, contents, answer, context. Use when user mentions 'exa', 'web search', 'find similar pages', 'ai answer', or wants to interac...
使用说明 (SKILL.md)

exa-cli

Setup

If exa-cli is not installed, install it from GitHub:

npx api2cli install Melvynx/exa-cli

If exa-cli is not found, install and build it:

bun --version || curl -fsSL https://bun.sh/install | bash
npx api2cli bundle exa
npx api2cli link exa

api2cli link adds ~/.local/bin to PATH automatically. The CLI is available in the next command.

Always use --json flag when calling commands programmatically.

Authentication

exa-cli auth set "your-token"
exa-cli auth test

Resources

search

Command Description
exa-cli search query --query "latest AI research" --json Search web with natural language query
exa-cli search query --query "best React frameworks" --type neural --num-results 5 --json Neural search with custom result count
exa-cli search query --query "SpaceX news" --type keyword --json Keyword-based search
exa-cli search query --query "AI trends" --start-date 2024-01-01 --json Search with date filter
exa-cli search query --query "research" --category news --json Search by category
exa-cli search query --query "frameworks" --include-domains github.com,stackoverflow.com --json Include specific domains
exa-cli search query --query "news" --exclude-domains twitter.com --json Exclude specific domains
exa-cli search query --query "topic" --text --json Include page text in results
exa-cli search query --query "topic" --summary --json Include AI summary for each result
exa-cli search query --query "topic" --highlights --json Include text highlights
exa-cli search find-similar --url "https://example.com" --json Find similar pages to URL
exa-cli search find-similar --url "https://example.com" --num-results 5 --text --json Find similar with text content

contents

Command Description
exa-cli contents get --urls "https://example.com" --json Get page contents for URL
exa-cli contents get --urls "https://a.com,https://b.com" --json Get contents for multiple URLs
exa-cli contents get --urls "https://example.com" --text --json Get contents with full page text
exa-cli contents get --urls "https://example.com" --summary --json Get contents with AI summary
exa-cli contents get --urls "https://example.com" --highlights --json Get contents with text highlights

answer

Command Description
exa-cli answer query --query "What is the latest valuation of SpaceX?" --json Get AI answer with web citations
exa-cli answer query --query "Who won the 2024 election?" --text --json Answer with source text included
exa-cli answer query --query "Explain quantum computing" --stream --json Stream answer response

context

Command Description
exa-cli context get --query "how to use React hooks" --json Get web context for query
exa-cli context get --query "Python async await patterns" --tokens-num 8000 --json Get context with token limit

Global Flags

All commands support: --json, --format \x3Ctext|json|csv|yaml>, --verbose, --no-color, --no-header

安全使用建议
This skill appears to do what it claims (control Exa via its CLI), but the SKILL.md asks you to download and execute remote installers (via curl|bash and npx). Those commands can run arbitrary code on your machine. Before installing, verify the upstream sources (Melvynx/exa-cli, api2cli, bun.sh): inspect their repositories and installer scripts, confirm HTTPS URLs and signatures if available, and prefer installing in a sandbox/container or on a throwaway environment first. Treat the auth token as sensitive: find out where to obtain it, what scopes it grants, and avoid pasting it into a shared shell history or storing it in plain text. If you cannot review the installer code or confirm the package maintainers, do not run the curl|bash installer on production systems.
功能分析
Type: OpenClaw Skill Name: exa-cli Version: 0.1.0 The skill bundle contains setup instructions in SKILL.md that employ high-risk execution patterns, specifically a 'curl pipe bash' command (curl -fsSL https://bun.sh/install | bash) to install the Bun runtime. It also instructs the agent to install a third-party CLI tool directly from a specific GitHub user repository (Melvynx/exa-cli) via npx api2cli. While these actions are consistent with the stated goal of providing an Exa AI interface, the reliance on unverified remote script execution and third-party supply chain dependencies poses a significant security risk.
能力评估
Purpose & Capability
The name, description, and the listed commands in SKILL.md consistently describe a CLI wrapper for Exa search/answer/context functionality. No unrelated services, credentials, or binaries are requested in the metadata.
Instruction Scope
SKILL.md instructs the agent to install and run exa-cli and to set an auth token. The instructions do not ask the agent to read unrelated system files, other credentials, or user data, but they do instruct executing installers and linking ~/.local/bin into PATH and using an auth token (sensitive). The doc does not say where the token comes from or what scope it needs.
Install Mechanism
Although there is no formal install spec, the instructions tell the user/agent to run remote installers: `curl -fsSL https://bun.sh/install | bash` (piping a remote script to shell) and `npx api2cli install Melvynx/exa-cli` / `npx api2cli bundle exa`. These steps download and execute code from external sources at runtime and can run arbitrary code on the host — this increases risk and should be validated before running.
Credentials
The skill metadata requests no environment variables or credentials, which is proportionate. However, runtime instructions require calling `exa-cli auth set "your-token"`, meaning the user must provide a token. The skill doesn't declare how the token is obtained, its required scope, or secure storage recommendations — the token is sensitive and needs justification.
Persistence & Privilege
always is false (good). The `api2cli link` step will modify the user's PATH (e.g., adding ~/.local/bin) which is a persistent change to shell configuration. Other than that, the skill does not request elevated permissions or permanent background presence.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install exa-cli
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /exa-cli 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of exa-cli for managing Exa AI via the command line. - Provides search, content retrieval, AI answering, and context extraction commands. - Supports multiple search modes: neural, keyword, category, date filtering, domain inclusion/exclusion, page text, AI-generated summaries, and highlights. - Enables content extraction from single or multiple URLs, with options for full text, summaries, or highlights. - AI answers feature web citations, optional source text, and streaming responses. - Context commands fetch relevant web context with token limits. - Includes CLI authentication commands and global flags for flexible output.
元数据
Slug exa-cli
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Exa Cli 是什么?

Manage Exa AI via CLI - search, contents, answer, context. Use when user mentions 'exa', 'web search', 'find similar pages', 'ai answer', or wants to interac... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 287 次。

如何安装 Exa Cli?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install exa-cli」即可一键安装,无需额外配置。

Exa Cli 是免费的吗?

是的,Exa Cli 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Exa Cli 支持哪些平台?

Exa Cli 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Exa Cli?

由 Melvyn(@melvynx)开发并维护,当前版本 v0.1.0。

💬 留言讨论