技能 exa-cli
🔍
exa-cli
低风险 🌐
网络访问🔑
环境变量
使用 Exa 搜尋網頁和程式碼
需要為您的編碼任務找到即時資訊或程式碼範例嗎?此技能連接到 Exa 的搜尋 API,可直接從 CLI 擷取網頁內容和程式設計內容。
支持: Claude Codex Code(CC)
1
下载技能 ZIP
2
在 Claude 中上传
前往 设置 → 功能 → 技能 → 上传技能
3
开启并开始使用
测试它
正在使用“exa-cli”。 搜尋如何使用 Python async await 模式
预期结果:
- 從 Exa 搜尋找到相關結果
- 標題:Python async/await 教學
- URL:https://realpython.com/async-python/
- 摘要:Async/await 語法讓您能撰寫並行程式碼……
正在使用“exa-cli”。 尋找 React useEffect 範例
预期结果:
- 找到 React useEffect 的程式碼上下文
- 文件:https://react.dev/reference/react/useEffect
- 範例:useEffect(() => { console.log('mounted'); }, [])
安全审计
低风险v5 • 1/17/2026
Legitimate CLI tool that connects to Exa's documented MCP API for web search and code context retrieval. All static findings are false positives: network calls target documented API endpoint, environment variable access retrieves API keys for authentication, no cryptographic operations or external command execution present. The combination of network access and credential retrieval is standard for authenticated API clients.
3
已扫描文件
617
分析行数
2
发现项
5
审计总数
风险因素
审计者: claude 查看审计历史 →
质量评分
45
架构
100
可维护性
85
内容
22
社区
90
安全
83
规范符合性
你能构建什么
尋找程式碼範例
使用實際程式碼範例查詢如何使用特定函式庫或 API
網頁研究
搜尋技術和工具的即時資訊
API 參考查詢
尋找權威文件和使用模式
试试这些提示
基本網頁搜尋
使用 exa-cli web-search-exa 搜尋關於 [TOPIC] 的資訊
程式碼模式搜尋
使用 exa-cli get-code-context-exa 搭配 500 tokens 尋找 [PATTERN] 的程式碼範例
API 文件搜尋
使用 exa-cli 搜尋 [API_NAME] 文件和使用範例
深度技術研究
使用 exa-cli 搭配 type=deep 對 [TECHNOLOGY] 進行深度研究,著重於最佳實踐和常見模式
最佳实践
- Set the EXA_API_KEY environment variable before running searches
- Use JSON output (--json) for programmatic processing of results
- Enable caching (default) to reduce API calls for repeated queries
避免
- Sharing your API key in public repositories or chat messages
- Running searches without checking result relevance first
- Ignoring rate limits or terms of service for Exa API
常见问题
What platforms support this skill?
Works with Claude, Codex, and Claude Code CLI tools.
How many search results can I get?
Default is automatic. You can set --num-results to control the count.
How do I integrate with other tools?
Use --json flag to get machine-readable output for scripting.
Is my search data stored?
Results are cached locally for 1 hour. Configure with --cache-ttl or disable with --no-cache.
Why are my searches failing?
Check that EXA_API_KEY is set. Verify network connectivity to https://mcp.exa.ai/mcp.
How is this different from regular search?
Exa provides AI-enhanced search with code-specific context and content extraction beyond simple links.
开发者详情
文件结构