/marketing-cli:build-with-exafrom marketing-cli
Build applications and agents with Exa's API Platform: search, contents, answer, context, Agent API, monitors, websets, and SDKs. Helps choose endpoints, write API calls, and debug request shapes.
Ships in marketing-cli. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
EXA_API_KEY is available for any live API call. SDK examples assume the key is set.POST /search with type: "auto" and contents.highlights: true. Escalate to Agent API only for multi-step research / list-building.references/*.md file needed for the current endpoint - do not dump the whole tree into context.exa-search, company-research, or lead-generation over inventing a custom integration.Included by default:
/agent)exa-py, TypeScript exa-jsNote on data retention:
/search,/answer, and deep research are Zero Data Retention (ZDR). The Agent API (/agent), Websets, and Monitors are not ZDR. If a use case requires ZDR, stay on the ZDR surfaces or contact Exa.
# Python
pip install exa-py
# TypeScript / JavaScript
npm install exa-js
export EXA_API_KEY="your_api_key_here"
Exa accepts either the x-api-key header or Authorization: Bearer <key>.
Before picking an endpoint, decide which workflow shape fits:
/search using type: "auto" and contents: { highlights: true }/search using the search type that fits your latency and reasoning needs, then add outputSchema and systemPrompt/agent)Default to the search endpoint. Use the search endpoint (/search) for most new integrations, then move to a more specialized Exa surface only when the task shape clearly calls for it.
/search)/contents)/search) with a query derived from the page (for example title, topic, or text from /contents)/answer)/context)/chat/completions, /responses)/agent)/monitors)/websets/v0)For more complete examples, see the relevant reference file in the table below.
Python (/search):
from exa_py import Exa
exa = Exa(api_key="YOUR_EXA_API_KEY")
result = exa.search(
"latest developments in LLMs",
type="auto",
contents={"highlights": True}
)
for item in result.results:
print(item.title, item.url)
TypeScript (/search):
import Exa from "exa-js";
const exa = new Exa();
const result = await exa.search("latest developments in LLMs", {
type: "auto",
contents: { highlights: true }
});
for (const item of result.results) {
console.log(item.title, item.url);
}
Raw HTTP (/search):
curl -X POST "https://api.exa.ai/search" \
-H "Content-Type: application/json" \
-H "x-api-key: $EXA_API_KEY" \
-d '{
"query": "latest developments in LLMs",
"type": "auto",
"contents": {
"highlights": true
}
}'
text, highlights, and summary belong inside contents, not at the top level.text, highlights, and summary are top-level fields, not nested inside contents.highlights, text, or summary by default. Do not stack them unless the use case truly needs multiple views of the same page.numSentences and highlightsPerUrl are deprecated highlight knobs. Prefer highlights: true, or set maxCharacters only when you have a fixed budget.maxAgeHours for freshness guidance. Older livecrawl examples still exist, but maxAgeHours is the normative control for new integrations.category set and do not invent categories like github, documentation, qa, or pdf. Specialized categories such as people and company also restrict which filters are valid; check the search reference before combining categories with domain or date filters./agent as a drop-in replacement for /search. It is higher-latency and async, so use the dedicated Agent reference when that workflow shape is the real fit. Consider using it over websets or deep where appropriate./research/v1 as legacy. Do not present it as the default for new work./findSimilar as deprecated. Prefer /search (optionally after /contents on the seed URL) for related-page discovery.| File | Topics |
|---|---|
| references/search.md | Search endpoint request/response shape, search types, filters, nested contents, structured output |
| references/contents.md | Contents endpoint extraction, freshness, statuses, top-level content fields |
| references/answer.md | Grounded answer generation with citations and structured output |
| references/context.md | Code-focused retrieval with tokensNum |
| references/agent.md | Agent API for async multi-step research, enrichment, structured output, polling, and events |
| references/openai-compat.md | OpenAI-compatible endpoints, model routing, extra_body usage |
| references/monitors.md | Standalone Monitors API for scheduled recurring search |
| references/websets.md | Websets API for async verified and enriched collection building |
| references/sdks.md | Python and TypeScript SDK naming, methods, and shape differences |
| references/http-requests.md | Minimal raw HTTP examples across major Exa surfaces |
| references/models-and-modes.md | Search type selection, answer/research model routing, latency tradeoffs |
| references/prompting-and-patterns.md | Durable query, prompting, freshness, and output-schema patterns |
| references/common-mistakes.md | Parameter-shape corrections |
https://exa.ai/docshttps://exa.ai/docs/llms.txthttps://exa.ai/docs/reference/searchhttps://exa.ai/docs/reference/agent-api-guidehttps://exa.ai/docs/reference/agent-api/connect/overviewhttps://exa.ai/docs/sdks/python-sdk-specificationhttps://exa.ai/docs/sdks/typescript-sdk-specificationPorted from exa-labs/agent-skills - adapted for mktg's drop-in contract on 2026-07-18.
Upstream commit: 390ffee2d7e1d0dce2ed8efe4994c2b3c1c0173b
Drift detection: if the upstream skill changes, re-run mktg-steal https://github.com/exa-labs/agent-skills to evaluate the diff.
references/agent.md (opens in a new tab)references/answer.md (opens in a new tab)references/common-mistakes.md (opens in a new tab)references/contents.md (opens in a new tab)references/context.md (opens in a new tab)references/http-requests.md (opens in a new tab)references/models-and-modes.md (opens in a new tab)references/monitors.md (opens in a new tab)references/openai-compat.md (opens in a new tab)references/prompting-and-patterns.md (opens in a new tab)references/sdks.md (opens in a new tab)references/search.md (opens in a new tab)references/websets.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub moizibnyousaf/marketing-cli --plugin marketing-cli76 skills in this plugin
/agent-email-inboxUse when setting up a secure email inbox for any AI agent — configuring inbound email via Resend, webhooks, tunneling for local development, and implementing security measures to prevent prompt injection attacks. Also use when someone mentions 'agent email', 'bot inbox', 'receive emails for agent', 'agent webhook', 'email security for AI', 'prompt injection via email', 'inbound email for bot', or wants their AI agent to receive and respond to emails securely.
/ai-seoBuilds, measures, and improves an Answer Engine Optimization program across ChatGPT, Perplexity, Claude, Gemini, Google AI Overviews, and Copilot. Use for AEO, GEO, LLMO, AI search visibility, AI citations, brand mentions, answer-engine monitoring, llms.txt, AI crawler audits, or questions like 'what does AI say about us?' and 'why are competitors cited instead of us?'. Produces a durable evidence report and prioritized gameplan, not a one-shot content checklist./app-store-screenshotsOther plugins' skills for the same job