deep-research
БесплатноБез исполняемых скриптовНе проверенRun Gemini Deep Research from Claude Code. Optimizes prompts for depth and structure, then executes multi-step research via the Interactions API. Use when you…
от cdeistopened★ 32 звезды на GitHubОб этом скилле
Gemini Deep Research
Delegate deep, multi-source research to Gemini's Deep Research agent. This skill optimizes the user's research question into a structured prompt, fires it off via the Interactions API, and returns the full report.
When to Use
- Market research, competitive analysis, due diligence
- Literature reviews, state-of-the-art surveys
- Historical deep dives on people, movements, or ideas
- "What does the current landscape look like for X?"
- Any question that benefits from searching 50-100+ web sources
- When the user explicitly asks for "deep research" or wants comprehensive analysis
When NOT to Use
- Quick factual lookups (use WebSearch instead)
- Code questions or debugging
- Tasks requiring real-time interaction or low latency
- Questions about the user's local codebase
Workflow
Phase 1: Optimize the Research Prompt
Before sending to Gemini, transform the user's raw request into a well-structured research prompt. This is critical — Deep Research quality scales with prompt quality.
Prompt optimization checklist:
- Scope the question clearly — What specifically should be researched? Add boundaries (time period, geography, industry, etc.)
- Define the output structure — Tell Gemini exactly what sections/format you want
- Specify depth expectations — "Include specific examples," "cite primary sources," "compare at least 5 competitors"
- Add anti-hallucination guardrails — "Only include claims with verifiable sources," "distinguish between confirmed facts and speculation"
- Request citations — "Include source URLs for all major claims"
Template for optimized prompts:
Research [TOPIC] with the following scope and structure:
## Scope
[Boundaries: time period, geography, domain, exclusions]
## Required Sections
1. [Section with specific instructions]
2. [Section with specific instructions]
3. [Section with specific instructions]
## Output Requirements
- Include source URLs for all major claims
- Distinguish between confirmed facts and projections/speculation
- Include a summary table comparing [key dimensions]
- Target depth: [comprehensive / focused overview / executive summary]
Show the user the optimized prompt before executing. Ask for approval or modifications.
Phase 2: Execute the Research
Use the bundled script to run the research. The script handles the async polling loop.
For research that should run while the user continues working:
# Start async — returns interaction ID immediately
bash "/Users/charliedeist/Desktop/New Root Docs/.claude/skills/deep-research/scripts/deep-research.sh" --start "OPTIMIZED_PROMPT"
Then later:
# Poll for results
bash "/Users/charliedeist/Desktop/New Root Docs/.claude/skills/deep-research/scripts/deep-research.sh" --poll INTERACTION_ID
For research where we wait for results (typical):
Run the script in the background using Bash tool's run_in_background parameter, since research takes 2-15 minutes:
bash "/Users/charliedeist/Desktop/New Root Docs/.claude/skills/deep-research/scripts/deep-research.sh" "OPTIMIZED_PROMPT"
Important execution notes:
- Deep Research takes 2-15 minutes. ALWAYS use
run_in_background: trueor--startmode - Tell the user the estimated wait time and that they can keep working
- The script polls every 10 seconds and prints status to stderr
- Results (the report text) go to stdout
Phase 3: Present Results
When results arrive:
- Save the raw report to a markdown file in the relevant project directory (e.g.,
references/deep-research-TOPIC-YYYY-MM-DD.md) - Summarize key findings for the user in chat — don't just dump the whole report
- Flag any gaps where Gemini couldn't find information or noted uncertainty
- Suggest next steps if the research opens up new questions
API Details
- Agent:
deep-research-pro-preview-12-2025 - API: Gemini Interactions API (REST)
- Auth:
GEMINI_API_KEYenv var (set in~/.zshrc) - Cost: ~$2-5 per research task depending on depth
- Max time: 60 minutes (most complete in 5-15 minutes)
- Script location:
.claude/skills/deep-research/scripts/deep-research.sh
Example Prompt Optimizations
User says: "Research competency-based education trends"
Optimized to:
Research the current state and emerging trends in Competency-Based Education (CBE) in K-12 and higher education in the United States, focusing on 2024-2026.
## Required Sections
1. Executive Summary (3-5 key takeaways)
2. Current Adoption — Which states, districts, and institutions have adopted CBE? Include specific programs and scale.
3. Policy Landscape — Federal and state policy developments affecting CBE (ESSA flexibility, accreditation changes, transcript reform)
4. Technology & Assessment — Tools, platforms, and assessment approaches enabling CBE at scale
5. Criticism & Challenges — Major objections, implementation barriers, equity concern
Установить deep-research в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл deep-research?
Run Gemini Deep Research from Claude Code. Optimizes prompts for depth and structure, then executes multi-step research via the Interactions API. Use when you need in-depth analysis, competitive landscaping, literature reviews, market research, or any question requiring real-time web research across many sources.
Как установить скилл deep-research?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл deep-research запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic