360 Secure SkillHub
360 安全技能中心

Gemini Deep Research

该 Skill 通过 scripts/deep_research.py 调用 Gemini Deep Research Agent,把复杂查询拆解为子问题并系统性地进行网络检索与综合,支持自定义输出格式、可选 File Search Store 和流式进度,最终输出带时间戳的 Markdown 报告与 JSON 交互元数据。需要 GEMINI_API_KEY,任务可能持续数分钟到数小时并产生 A…

arun-8687
arun-8687
热度 99.11
最近更新 2026-05-11 15:48:53
分类:搜索依赖:代码执行 / 读写文件 / 第三方 API / 内部调用大模型应用场景:研究 / 报告撰写 / 市场分析 / 摘要总结

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add gemini-deep-research
Metadata
name
gemini-deep-research
description
Perform complex, long-running research tasks using Gemini Deep Research Agent. Use when asked to research topics requiring multi-source synthesis, competitive analysis, market research, or comprehensive technical investigations that benefit from systematic web search and analysis.
metadata
{"clawdbot":{"emoji":"🔬","requires":{"env":["GEMINI_API_KEY"]},"primaryEnv":"GEMINI_API_KEY"}}

Gemini Deep Research

Use Gemini's Deep Research Agent to perform complex, long-running context gathering and synthesis tasks.

Prerequisites

  • GEMINI_API_KEY environment variable (from Google AI Studio)
  • Note: This does NOT work with Antigravity OAuth tokens. Requires a direct Gemini API key.

How It Works

Deep Research is an agent that:

  1. Breaks down complex queries into sub-questions
  2. Searches the web systematically
  3. Synthesizes findings into comprehensive reports
  4. Provides streaming progress updates

Usage

Basic Research

scripts/deep_research.py --query "Research the history of Google TPUs"

Custom Output Format

scripts/deep_research.py --query "Research the competitive landscape of EV batteries" \
  --format "1. Executive Summary\n2. Key Players (include data table)\n3. Supply Chain Risks"

With File Search (optional)

scripts/deep_research.py --query "Compare our 2025 fiscal year report against current public web news" \
  --file-search-store "fileSearchStores/my-store-name"

Stream Progress

scripts/deep_research.py --query "Your research topic" --stream

Output

The script saves results to timestamped files:

  • deep-research-YYYY-MM-DD-HH-MM-SS.md - Final report in markdown
  • deep-research-YYYY-MM-DD-HH-MM-SS.json - Full interaction metadata

API Details

  • Endpoint: https://generativelanguage.googleapis.com/v1beta/interactions
  • Agent: deep-research-pro-preview-12-2025
  • Auth: x-goog-api-key header (NOT OAuth Bearer token)

Limitations

  • Requires Gemini API key (get from Google AI Studio)
  • Does NOT work with Antigravity OAuth authentication
  • Long-running tasks (minutes to hours depending on complexity)
  • May incur API costs depending on your quota