返回顶部
e

exaExa管理

Manage Exa AI via CLI - search, contents, answer, context. Use when user mentions 'exa', 'web search', 'find similar pages', 'ai answer', or wants to interact with the Exa API.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
227
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

exa

exa-cli

设置

如果 exa-cli 未安装,请从 GitHub 安装:
bash
npx api2cli install Melvynx/exa-cli

如果找不到 exa-cli,请安装并构建:
bash
bun --version || curl -fsSL https://bun.sh/install | bash
npx api2cli bundle exa
npx api2cli link exa

api2cli link 会自动将 ~/.local/bin 添加到 PATH 中。CLI 可在下一条命令中使用。

以编程方式调用命令时,始终使用 --json 标志。

身份验证

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

资源

搜索

命令描述
exa-cli search query --query latest AI research --json使用自然语言查询搜索网页
exa-cli search query --query best React frameworks --type neural --num-results 5 --json
自定义结果数量的神经搜索 | | exa-cli search query --query SpaceX news --type keyword --json | 基于关键词的搜索 | | exa-cli search query --query AI trends --start-date 2024-01-01 --json | 带日期过滤器的搜索 | | exa-cli search query --query research --category news --json | 按类别搜索 | | exa-cli search query --query frameworks --include-domains github.com,stackoverflow.com --json | 包含特定域名 | | exa-cli search query --query news --exclude-domains twitter.com --json | 排除特定域名 | | exa-cli search query --query topic --text --json | 在结果中包含页面文本 | | exa-cli search query --query topic --summary --json | 为每个结果包含 AI 摘要 | | exa-cli search query --query topic --highlights --json | 包含文本高亮 | | exa-cli search find-similar --url https://example.com --json | 查找与 URL 相似的页面 | | exa-cli search find-similar --url https://example.com --num-results 5 --text --json | 查找相似页面并包含文本内容 |

内容

命令描述
exa-cli contents get --urls https://example.com --json获取 URL 的页面内容
exa-cli contents get --urls https://a.com,https://b.com --json
获取多个 URL 的内容 | | exa-cli contents get --urls https://example.com --text --json | 获取包含完整页面文本的内容 | | exa-cli contents get --urls https://example.com --summary --json | 获取包含 AI 摘要的内容 | | exa-cli contents get --urls https://example.com --highlights --json | 获取包含文本高亮的内容 |

回答

命令描述
exa-cli answer query --query What is the latest valuation of SpaceX? --json获取带网络引用的 AI 回答
exa-cli answer query --query Who won the 2024 election? --text --json
回答并包含来源文本 | | exa-cli answer query --query Explain quantum computing --stream --json | 流式传输回答响应 |

上下文

命令描述
exa-cli context get --query how to use React hooks --json获取查询的网络上下文
exa-cli context get --query Python async await patterns --tokens-num 8000 --json
获取带令牌限制的上下文 |

全局标志

所有命令支持:--json、--format 、--verbose、--no-color、--no-header

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 exa-cli-1776087850 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 exa-cli-1776087850 技能

通过命令行安装

skillhub install exa-cli-1776087850

下载

⬇ 下载 exa v0.1.0(免费)

文件大小: 1.73 KB | 发布时间: 2026-4-15 12:39

v0.1.0 最新 2026-4-15 12:39
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.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部