mcpField
S
skill-deepresearch

skill-deepresearch

github.com/hasnaxyz生产力41 次安装
代码仓库

关于 skill-deepresearch

使用 Exa.ai 搜索并通过 Claude 或 OpenAI 综合信息的 Agent 研究技能。支持调整研究深度和报告路径、导出 JSON 来源,以及选择是否使用 Firecrawl 抓取。

主要功能

  1. 01基于 Exa.ai 的搜索
  2. 02Claude 或 OpenAI 综合
  3. 03可配置研究深度
  4. 04自定义报告输出路径
  5. 05可选导出 JSON 来源
  6. 06可选 Firecrawl 抓取

适用场景

  1. 01快速概览某个主题
  2. 02开展深入技术研究
  3. 03基于来源比较产品或方案

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/hasnaxyz/skill-deepresearch --skill skill-deepresearch

安装后在 Claude Code 中输入/skill-deepresearch确认已加载。

包含的文件

除 SKILL.md 外,安装时一起下载的参考资料和脚本。

.env.example
.gitignore
CLAUDE.md
README.md
bun.lock
package.json
tsconfig.json
src/
index.ts
research.ts
types.ts
src/agents/
query-generator.ts
synthesizer.ts
src/services/
anthropic.ts
exa.ts
firecrawl.ts
openai.ts
src/utils/
file.ts
logger.ts

详细介绍

深度研究

使用 Exa.ai 进行搜索,并使用 Claude/OpenAI 进行综合分析的 Agentic 深度研究技能。

调用方式

/deepresearch <topic>

选项

选项描述默认值
--depth <level>研究深度:quick(6 次查询)、normal(15 次)、deep(30 次)normal
--model <provider>大模型:claude 或 openaiclaude
--output <path>自定义输出路径~/.skills/skill-deepresearch/exports/
--json同时将来源保存为 JSONfalse
--no-firecrawl跳过深度抓取false

示例

# Quick overview of a topic
/deepresearch "What is RAG?" --depth quick

# Standard research with Claude
/deepresearch "Best practices for building production ML systems"

# Deep research with OpenAI, custom output
/deepresearch "Compare Next.js vs Remix" --depth deep --model openai --output ./research.md

要求

  • EXA_API_KEY - 搜索必需
  • ANTHROPIC_API_KEY - Claude 综合分析必需
  • OPENAI_API_KEY - OpenAI 综合分析必需
  • FIRECRAWL_API_KEY - 深度抓取可选

输出

报告将以以下格式保存到 ~/.skills/skill-deepresearch/exports/:

  • report-{topic-slug}-{timestamp}.md - 完整研究报告
  • sources-{topic-slug}-{timestamp}.json - 原始来源(如果使用 --json)

评论

支持 Markdown