Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

build-with-exa

БесплатноБез исполняемых скриптовНе проверен

Build applications and agents with Exa's API: search, contents extraction, answer, Agent API, monitors, websets, OpenAI-compatible endpoints, and…

exa-labsот exa-labs★ 77 звёзд на GitHub

Об этом скилле

Build with Exa

Scope

Included by default:

  • Core retrieval APIs: search endpoint, contents endpoint, answer endpoint
  • Long-running research workflows: Agent API (/agent)
  • Async and recurring workflows: Monitors API
  • Legacy surface: Websets API (existing integrations only; new collection-building work uses the Agent API)
  • Historical content: Exa Snapshot (snapshotAsOf on search and contents)
  • SDK guidance: Python exa-py, TypeScript exa-js

Note on data retention: /search, /contents, /answer, and /agent offer Zero Data Retention (ZDR). Websets and the Monitors API (/monitors) are not ZDR. If a use case requires ZDR, stay on the ZDR surfaces or contact Exa.

Installation

# Python
pip install exa-py

# TypeScript / JavaScript
npm install exa-js

Install the latest SDK release into the project's own environment, with the package manager the project already uses, so it resolves the latest release and all SDK surfaces will be available. Test the integration by running the project's own code.

Authentication

export EXA_API_KEY="your_api_key_here"

Exa accepts either the x-api-key header or Authorization: Bearer <key>.

The recommended Exa search request is the query plus token-efficient content extraction, and nothing else. Content extraction is a recommendation, not a server default: omit contents and results carry only metadata (title, URL, dates), no page content.

{
  "query": "latest developments in LLMs",
  "type": "auto",
  "contents": { "highlights": true }
}

Every other request field except objective is gated: add it only when the user's task explicitly requires it. Do not restate server defaults, and do not add controls because they seem plausibly useful. In particular:

  • type defaults to auto; stating type: "auto" explicitly is fine, but do not send another mode unless the task requires it (for example a latency-critical UX or deep synthesis).
  • numResults defaults to 10; omit numResults unless the task requires a different number of results. Set it only as an intentional product decision, not as boilerplate.
  • Omit category. Use it only when the user explicitly asks for category-constrained retrieval.
  • includeDomains and excludeDomains should be set only when the user explicitly requests a hard allowlist or blocklist and supplies or approves its contents. Express source preferences through query phrasing or systemPrompt instead.
  • maxAgeHours should be set only when extracted page content must be current. It caps cache age before a live crawl; it is not a publication-recency filter.
  • For "recent stories" tasks, put the recency in the query ("latest", "recent"). startPublishedDate / endPublishedDate are hard filters that drop undated and misdated pages; add them only when the task states a bounded window that must be enforced ("from the last seven days", "published in 2026"). Do not reach for maxAgeHours.
  • highlights should be set to true by default for all tasks unless otherwise specified. Do not add maxCharacters or other highlight options without an explicit budget requirement in the task.
  • objective belongs on every search that is one step of a larger task, such as a search an LLM agent calls as a tool, a query a model writes, or one step of a multi-step pipeline. Set it to the goal that search serves. Say which documents should rank first, which to exclude, and which facts or figures to pull. When an LLM calls search as a tool, the model writes objective alongside query. See Search as an LLM Tool.

Primary and official sources

For a research question that a primary or official source should settle, such as a regulator's rule, a company's filing, a clinical guideline or an agency's statistics, start the query with this sentence on auto and lite:

Prefer a specific primary or official answer page.

For example, "Prefer a specific primary or official answer page. Reporting requirements for crypto-asset service providers under MiCA".

Add it only to those questions. On lookups of a specific page, local, product or how-to questions and quick facts, it replaces the page that answers with a generic official one, so send those queries unchanged. When one search function serves both kinds of question, decide per query. Phrase the preference positively. Wording such as "avoid content farms" retrieves the pages it names.

API Decision Workflow

Before picking an endpoint, decide which workflow shape fits:

  • Raw web content for your own LLM or agent: use /search with the recommended request above
  • Web search as a tool your LLM or agent calls: use the SDK tool helpers, which ask the model for query and objective on every call. See Search as an LLM Tool.
  • A specific output shape, or fields that have to be extracted or synthesized from the pages: use /search and add outputSchema (and systemPrompt if behavior guidance is needed). The user does
Полный SKILL.md на GitHub

Установить build-with-exa в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/agent.mdreferences/answer.mdreferences/common-mistakes.mdreferences/contents.mdreferences/http-requests.mdreferences/migrate-websets-to-agent.mdreferences/models-and-modes.mdreferences/monitors.mdreferences/openai-compat.mdreferences/prompting-and-patterns.mdreferences/sdks.mdreferences/search.mdreferences/snapshot.md

FAQ

Что делает скилл build-with-exa?

Build applications and agents with Exa's API: search, contents extraction, answer, Agent API, monitors, websets, OpenAI-compatible endpoints, and exa-py/exa-js SDKs. Use when choosing Exa endpoints, writing Exa API calls, integrating semantic web search or research into products, or debugging Exa request shapes.

Как установить скилл build-with-exa?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл build-with-exa запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить build-with-exa с