Use the bundled wrapper to run Exa reliably:
{baseDir}/scripts/exa-with-key.sh --help
Preferred OpenClaw-native setup:
skills.entries.exa-research.apiKeyskills.entries.exa-research.env.EXA_API_KEYOther supported auth sources:
EXA_API_KEYEXA_API_KEY_FILE~/.openclaw/credentials/exa/api-key.txtThe wrapper prefers credentials in this order:
EXA_API_KEYEXA_API_KEY_FILEsearch for live web discovery and filtered result lists.answer for one grounded answer with citations.contents when URLs or result IDs are already known and text/highlights/summary are needed.similar when one seed URL is known and related pages are needed.context for coding patterns, library usage, and implementation examples.research for asynchronous or longer-running research workflows.raw only when a higher-level command cannot express the request.answer over manual search-plus-synthesis when the user wants a concise cited answer.highlights before full text when excerpts are enough.--text-max, --highlights-max, and context --tokens.{baseDir}/scripts/exa-with-key.sh "latest developments in llms"
{baseDir}/scripts/exa-with-key.sh search --category news --include-domain reuters.com --highlights "AI regulation"
{baseDir}/scripts/exa-with-key.sh search --type deep --additional-query "llm releases" "latest frontier models"
{baseDir}/scripts/exa-with-key.sh answer "What is the latest valuation of SpaceX?"
{baseDir}/scripts/exa-with-key.sh answer --text "What changed in the latest OpenAI release?"
{baseDir}/scripts/exa-with-key.sh contents --text https://exa.ai
{baseDir}/scripts/exa-with-key.sh contents --id doc-1 --id doc-2 --highlights
{baseDir}/scripts/exa-with-key.sh contents --highlights --summary https://exa.ai https://example.com
{baseDir}/scripts/exa-with-key.sh similar --highlights https://arxiv.org/abs/2307.06435
{baseDir}/scripts/exa-with-key.sh similar --text --text-max 3000 https://exa.ai/blog
{baseDir}/scripts/exa-with-key.sh context "React hooks for state management"
{baseDir}/scripts/exa-with-key.sh context --tokens 5000 "pandas dataframe filtering and groupby operations"
{baseDir}/scripts/exa-with-key.sh research create "Summarize the latest developments in AI safety research"
{baseDir}/scripts/exa-with-key.sh research list --limit 10
{baseDir}/scripts/exa-with-key.sh research get 01jszdfs0052sg4jc552sg4jc5
{baseDir}/scripts/exa-with-key.sh raw /search @payload.json
{baseDir}/scripts/exa-with-key.sh raw -X GET '/research/v1?limit=10'
printf '{"query":"latest llm news"}' | {baseDir}/scripts/exa-with-key.sh raw /search -
{baseDir}/scripts/exa-with-key.sh --help before guessing flags.search, then escalate to contents only for selected URLs.context over broad search.research over ad hoc polling with raw.exa skill.共 1 个版本