Exa Search
Use this skill when the user wants source-backed web results through Exa instead of model memory.
Requirements
- Environment variable
EXA_API_KEYmust be set. - Script path:
/Users/zhuyuhua/.cc-switch/skills/exa-search/scripts/exa_search.py
If EXA_API_KEY is missing, tell the user it needs to be configured in the local environment. Do not invent a settings deep link for another app runtime.
Workflow
- Clarify the query only if the request is genuinely ambiguous.
- Choose sensible defaults:
--type auto--k 5for normal lookup--k 10for broader research--recent <days>only when recency matters--language zhor--language enwhen language targeting matters
- Run the script.
- Return:
- a short synthesis
- cited sources with title + URL
- quotes only when the user explicitly wants them
Commands
Basic:
python3 /Users/zhuyuhua/.cc-switch/skills/exa-search/scripts/exa_search.py \
--query "OpenAI Responses API" \
--k 5 \
--type auto
Recent news:
python3 /Users/zhuyuhua/.cc-switch/skills/exa-search/scripts/exa_search.py \
--query "latest browser engine vulnerabilities" \
--k 5 \
--type auto \
--recent 30
Structured parsing:
python3 /Users/zhuyuhua/.cc-switch/skills/exa-search/scripts/exa_search.py \
--query "China EV export policy 2026" \
--k 10 \
--type auto \
--language en \
--json
Output rules
- Never reveal
EXA_API_KEY. - If Exa fails, summarize the error briefly and tell the user to verify API key and network access.
- Do not claim information is verified unless the returned sources actually support it.