Communitygithub.com

Exa CLI 技能

提供一個原生命令列介面給 Exa API——一個為 AI 代理工作流程最佳化的神經搜尋引擎。支援多種模式的網路搜尋(快速、深度、深度推理),並能擷取網頁全文或重點內容。

Exa CLI 技能 是什麼?

此技能為 AI 代理(如 Claude Code、Coder、Cursor、Codex)提供一個原生命令列工具,可直接與 Exa API 互動。Exa API 是一個專為 AI 代理設計的神經搜尋引擎,能執行語意搜尋並擷取網頁內容。透過此工具,代理可執行快速關鍵字查詢、深度學術研究、公司情報蒐集以及新聞監控等任務。支援多種搜尋模式(auto、fast、instant、deep、deep-reasoning),並可設定結果數量、內容類型(重點摘要、全文、總結)、日期範圍、地點偏誤等篩選條件。所有指令都支援 --json 旗標輸出結構化資料,便於程式處理。此工具特別適合需要高效能、低成本的搜尋與內容擷取管線的 AI 代理工作流程,其 highlights 模式比 text 模式節省 10 倍的 token 用量。包含互動式 REPL 模式,可減少指令前綴重複輸入。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/HKUDS/CLI-Anything/tree/main/skills/cli-anything-exa

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

Exa CLI 技能 是做什麼的?

身分

  • 名稱:cli-anything-exa
  • 版本:1.0.0
  • 類別:搜尋
  • 進入點:cli-anything-exa

此 CLI 的功能

提供一個代理原生的命令列介面給 Exa API——一個專為 AI 代理工作流程最佳化的神經搜尋引擎。支援多種模式的網路搜尋(快速、深度、深度推理),並能擷取網頁全文或重點內容。

先決條件

安裝

pip install git+https://github.com/HKUDS/CLI-Anything.git#subdirectory=exa/agent-harness

指令參考

search — 網路搜尋

cli-anything-exa search "<查詢>" [選項]

選項:
  --type       auto|fast|instant|deep|deep-reasoning  (預設:auto)
  --num-results / -n   1–100  (預設:10)
  --category   company|people|research-paper|news|personal-site|financial-report
  --content    highlights|text|summary|none  (預設:highlights)
  --freshness  smart|always|never  (預設:smart)
  --include-domains 網域   (可重複)
  --exclude-domains 網域   (可重複)
  --from 日期   ISO 8601 起始發布日期
  --to   日期   ISO 8601 結束發布日期
  --location CC  兩位字母國家代碼,用於地理偏誤

contents — 擷取頁面內容

cli-anything-exa contents <網址> [網址 ...] [--content text|highlights|summary] [--freshness smart|always|never]

server status — 驗證 API 金鑰與連線狀態

cli-anything-exa server status

JSON 輸出

所有指令都支援在根層級使用 --json 以取得機器可讀的輸出:

cli-anything-exa --json search "最新的 LLM 論文" --num-results 5

常見代理模式

快速關鍵字查詢

cli-anything-exa --json search "site:arxiv.org transformer 架構" --type fast --content highlights

主題深度研究

cli-anything-exa --json search "2024 年歐盟 AI 法案合規要求" --type deep --content text

學術論文探索

cli-anything-exa --json search "檢索增強生成" --category research-paper --num-results 20

公司情報

cli-anything-exa --json search "Anthropic 融資歷史" --category company

新聞監控

cli-anything-exa --json search "AI 監管新聞" --category news --from 2024-01-01

擷取全文以進行摘要

cli-anything-exa --json contents https://example.com/article --content text

互動式 REPL

cli-anything-exa   # 沒有子指令 → 進入 REPL

輸入指令時不需加上 cli-anything-exa 前綴。輸入 exit 或 quit 離開。

備註

  • highlights 內容模式比 text 模式節省 10 倍的 token 用量——在代理管線中建議優先使用
  • --type deep 觸發多步驟推理;速度較慢但能綜合多個來源的資訊
  • --category company 和 --category people 不支援日期或排除網域過濾
  • 每次查詢的費用會顯示在 JSON 輸出的 cost_dollars 欄位中

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

cli-anything-adguardhome

>-

cli-anything-anygen

>-

cli-anything-audacity

>-

cli-anything-blender

>-

cli-anything-browser

Browser automation CLI using DOMShell MCP server. Maps Chrome

cli-anything-calibre

>-

cli-anything-ccswitch

CLI interface for CC Switch — manage AI coding tool configurations from the terminal

cli-anything-chromadb

>-

cli-anything-cloudanalyzer

Command-line interface for CloudAnalyzer — Agent-friendly harness for CloudAnalyzer, a QA platform for mapping, localization, and perception outputs. Supports 27 commands across 8 groups: point cloud evaluation, trajectory evaluation, ground segmentation QA, config-driven quality gates, baseline evolution, processing, visualization, and interactive REPL.

cli-anything-cloudcompare

Command-line interface for CloudCompare — Agent-friendly harness for CloudCompare, the open-source 3D point cloud and mesh processing software. Supports 41 commands across 9 groups: project management, session control, point cloud operations (subsample, filter, segment, analyze), mesh operations, distance computation (C2C, C2M), transformations (ICP, matrix), export (LAS/LAZ/PLY/PCD/OBJ/STL/E57), and interactive REPL.

cli-anything-comfyui

>-

cli-anything-dify-workflow

Wrapper for the Dify workflow DSL CLI. Create, inspect, validate, edit, and export Dify workflow files through a CLI-Anything harness.

cli-anything-drawio

>-

cli-anything-eez-studio

Use EEZ Studio from the command line: inspect and modify native .eez-project files, edit LVGL screens/widgets, manage SCPI commands, and invoke the real EEZ Studio backend for LVGL builds.

cli-anything-eth2-quickstart

>-

cli-anything-firefly-iii

Firefly III CLI - Personal finance management via CLI-Anything

cli-anything-freecad

Complete CLI harness for FreeCAD parametric 3D CAD modeler (258 commands). Covers ALL workbenches: Part (29 primitives + boolean + mirror + loft + sweep), Sketcher (26 cmds: geometry + constraints + editing), PartDesign (38 cmds: pad/pocket/groove/fillet/chamfer/patterns/hole/datum), Assembly (11 cmds), Mesh (16 cmds), TechDraw (15 cmds: views + dimensions + PDF/SVG), Draft (33 cmds: 2D shapes + arrays + transforms), FEM (12 cmds), CAM/CNC (10 cmds), Surface (6 cmds), Spreadsheet (7 cmds), Import (13 formats), Export (17 formats), Measure (12 cmds), Materials (21 presets). Headless FreeCAD export to STEP/IGES/STL/OBJ/DXF/PDF/glTF/3MF.

cli-anything-gimp

>-

cli-anything-godot

>-

cli-anything-inkscape

>-

相關技能