跳到正文
Skillpedia
网页抓取58k · #3204

cli-anything-exa

它能做什么

这个技能让你的智能体通过 Exa 进行网络搜索,并读取搜索结果的内容。适合想通过命令行工具获取最新网络资料的人。

适用场景

  • ✓当你想搜索某个主题,并按类型、日期或域名筛选结果的时候。
  • ✓当你想获取通过搜索找到的网页全文或要点的时候。
  • ✓当你想在网上查找公司、人物或研究论文结果的时候。

技能链接

https://github.com/HKUDS/CLI-Anything/blob/main/exa/agent-harness/cli_anything/exa/skills/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/HKUDS/CLI-Anything/blob/main/exa/agent-harness/cli_anything/exa/skills/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我搜索关于电池回收的最新研究论文,并给我看要点。”

每周 5 个新技能,1 分钟读完。

工作原理

这个技能会把你的查询以及所选选项(例如结果类型和日期范围)发送到 Exa API。随后它可以获取结果的页面内容。

技术内容(原始 SKILL.md)

作者在 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

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

  • highlights content mode is 10× more token-efficient than text — prefer it for agent pipelines
  • --type deep triggers multi-step reasoning; slower but synthesises across many sources
  • --category company and --category people do not support date or domain-exclude filters
  • Cost per query is included in JSON output under cost_dollars
常见问题

我需要 API 密钥吗?

需要,使用这个技能前,你必须在环境变量中设置 Exa API 密钥。

可以按什么类型筛选结果?

可以按类别筛选,例如公司、人物、新闻、研究论文或财务报告。

内容选项是什么?

它可以让你为每个结果选择要点、全文、摘要,或不显示内容。

详情

作者的原始描述

Agent-native CLI for Exa web search and content retrieval workflows.

repo: HKUDS/CLI-Anything

热度

GitHub 星标
58k
排名
#3204
许可证
Apache-2.0
更新时间
2026/9/21

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能