← 返回
内容创作 Key 中文

Exa

AI-powered web and code search, content extraction, URL crawling, and asynchronous research with customizable schema and filters using EXA_API_KEY.
AI驱动的网页与代码搜索、内容提取、URL抓取及异步研究,支持自定义模式与过滤器,需使用EXA_API_KEY。
xieshaocong33ethan
内容创作 clawhub v1.2.1 1 版本 99852.8 Key: 需要
★ 2
Stars
📥 1,317
下载
💾 38
安装
1
版本
#latest

概述

Exa - Search + Research

Use this skill for web search, code-context search, URL content extraction, and async research workflows.

What This Skill Does

  • Run Exa web search with optional category and domain filters.
  • Retrieve full page content (and optional subpage crawling).
  • Find code and docs context for programming queries.
  • Run async research tasks (one-shot or create/poll workflows).
  • Support optional structured outputs via outputSchema.

Setup

Set EXA_API_KEY using one of these methods.

export EXA_API_KEY="your-exa-api-key"
# .env next to SKILL.md
EXA_API_KEY=your-exa-api-key

Behavior:

  • If EXA_API_KEY is missing in the environment, scripts load only EXA_API_KEY from .env.
  • Other .env variables are ignored by the loader.

Safety and Data Handling

  • SCHEMA_FILE content is sent to https://api.exa.ai/research/v1 as outputSchema.
  • Never use sensitive local files for SCHEMA_FILE (for example: .env, key/cert files, secrets, internal confidential docs).
  • research_create.sh blocks obvious sensitive paths/suffixes (for example: .env, .pem, .key, .p12, .pfx, id_rsa).

Command Quick Reference

Search

bash scripts/search.sh "query"

Main env vars:

  • NUM=10 (max 100)
  • TYPE=auto (auto, neural, fast, deep, instant)
  • CATEGORY= (company, research paper, news, tweet, personal site, financial report, people)
  • DOMAINS=domain1.com,domain2.com
  • EXCLUDE=domain1.com,domain2.com
  • SINCE=YYYY-MM-DD
  • UNTIL=YYYY-MM-DD
  • LOCATION=NL

Constraints:

  • EXCLUDE is not supported when CATEGORY=company or CATEGORY=people.
  • SINCE and UNTIL are not supported when CATEGORY=company or CATEGORY=people.
  • When CATEGORY=people, DOMAINS accepts LinkedIn domains only (linkedin.com, www.linkedin.com, *.linkedin.com).

Content Extraction

bash scripts/content.sh "url1" "url2"

Main env vars:

  • MAX_CHARACTERS=2000
  • HIGHLIGHT_SENTENCES=3
  • HIGHLIGHTS_PER_URL=2
  • SUBPAGES=10
  • SUBPAGE_TARGET="docs,reference,api"
  • LIVECRAWL=preferred (preferred, always, fallback)
  • LIVECRAWL_TIMEOUT=12000

Code Context Search

bash scripts/code.sh "query" [num_results]

Research (One-shot)

bash scripts/research.sh "instructions"

Main env vars:

  • MODEL=exa-research or MODEL=exa-research-pro
  • SCHEMA_FILE=path/to/schema.json
  • POLL_INTERVAL=2
  • MAX_WAIT_SECONDS=240
  • EVENTS=true

Research (Create/Poll)

bash scripts/research_create.sh "instructions" | jq
bash scripts/research_poll.sh "researchId" | jq

Agent Decision Rules

Choose TYPE for Search

Use this decision order:

  1. User explicitly asks for realtime or autocomplete -> TYPE=instant.
  2. Task needs broad coverage or deeper synthesis -> TYPE=deep.
  3. User asks for speed/quality balance -> TYPE=fast.
  4. Otherwise -> TYPE=auto (default).

Fallback/escalation:

  • If too slow or time-sensitive: deep -> auto -> fast -> instant.
  • If too shallow: instant -> fast -> auto -> deep.
  • Explicit user requirement always wins.

Recommended pattern:

TYPE=auto bash scripts/search.sh "query"

Common Pitfalls

  • Do not pass sensitive files to SCHEMA_FILE.
  • Do not combine CATEGORY=people|company with EXCLUDE, SINCE, or UNTIL.
  • Prefer https://docs.exa.ai/ for subpage crawling seeds (more reliable than https://exa.ai/docs/reference/).

More Examples

See EXAMPLES.md for grouped command examples and edge-case workflows.

版本历史

共 1 个版本

  • v1.2.1 当前
    2026-03-29 02:21 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

YouTube

byungkyu
使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
★ 142 📥 41,075
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 860 📥 199,864
content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,204