Agent skill

Gemini Deep Research

by OpenLAIR in OpenLAIR/dr-claw

Runs multi-source web research through Google's Gemini Deep Research Agent with a bundled Python script and saves a structured, cited report as files.

MITAuto-check passedResearch & Science

Install Gemini Deep Research

skills CLI
$ npx skills add OpenLAIR/dr-claw --skill gemini-deep-research -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install OpenLAIR/dr-claw gemini-deep-research --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/OpenLAIR/dr-claw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/gemini-deep-research .claude/skills/gemini-deep-research && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
gemini-deep-research
GitHub stars
1.2k
Token cost
~996 tokens
SKILL.md length
342 words
Files
2 (incl. scripts)
Skills in repo
36
Repo updated
First seen
Licence
MIT

At a glance

Runs multi-source web research through Google's Gemini Deep Research Agent with a bundled Python script and saves a structured, cited report as files.

  • Works in 2 steps: Check for GEMINI_API_KEY: Run echo… → Ensure requests is installed: python3 -c…
  • Needing a cited report synthesized from many web sources
  • SKILL.md covers Prerequisites, How to Run the Script, Output and Execution Notes, plus 1 more section
  • Runs Python scripts from its folder; calls python3 and pip3; reaches generativelanguage.googleapis.com; needs GEMINI_API_KEY

What it does

The agent calls scripts/deep_research.py, which hands a research question to Gemini's Deep Research Agent; that agent splits the question, searches the web and returns a markdown report with citations. Flags set the query, optional progress streaming, the output folder, a custom report structure, a Gemini file-search store and an API key override. Each run writes two timestamped files into the output directory.

A direct Gemini API key in GEMINI_API_KEY is required, since OAuth tokens are not supported, along with Python 3.8 or later and the requests library. If the variable is empty, the agent asks whether you want to supply a key, and if you decline it does not use the skill and falls back to other research methods. The examples cover a quantum error correction survey and an EV battery landscape with a custom section outline.

When your agent uses it

  • Needing a cited report synthesized from many web sources
  • Running a literature review or technology survey
  • Doing competitive or market research with a fixed report outline

Example prompts

  • “Do deep research on the current state of quantum error correction and save the report to ./reports.”
  • “Research the competitive landscape of EV batteries with sections for key players and supply chain risks.”

Requirements

  • A Gemini API key in GEMINI_API_KEY
  • Python 3.8 or later with the requests library
  • Network access to the Gemini API

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Check for GEMINI_API_KEY: Run echo $GEMINI_API_KEY to see if it's set. If empty, ask the user whether they'd like to provide a Gemini API…
  2. Ensure requests is installed: python3 -c "import requests". If missing, install it: pip3 install requests.

What it can do on your machine

Read from SKILL.md and the folder at commit d51b64e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • pip3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • generativelanguage.googleapis.com

    Also links to:

    • aistudio.google.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • GEMINI_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Gemini Deep Research loads about 996 tokens when it runs. Until then it costs about 138 tokens; SKILL.md has 342 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~138
When it runs · the whole SKILL.md, loaded when a task matches
~996

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from OpenLAIR/dr-claw at commit d51b64e, republished under its MIT licence (© OpenLAIR). 342 words, ~996 tokens.

Download SKILL.mdSave it as .claude/skills/gemini-deep-research/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
gemini-deep-research
description
Perform deep, multi-source research using Google Gemini's Deep Research Agent. Use this skill whenever the user asks for comprehensive research, literature reviews, competitive analysis, market research, technology surveys, or any investigation that requires synthesizing information from many web sources. Also trigger when the user says "deep research", "research this thoroughly", "do a comprehensive study on", or wants a structured report with evidence gathered from across the web — even if they don't mention Gemini by name.
license
MIT
metadata.author
clawdbot
metadata.version
1.1.0

Gemini Deep Research

Google Gemini's Deep Research Agent autonomously breaks down complex queries, searches the web systematically, and produces structured markdown reports with citations. It handles the kind of multi-source synthesis that would take a human hours of browsing.

Prerequisites

  • GEMINI_API_KEY environment variable must be set (obtain from Google AI Studio)
  • Python 3.8+ with the requests library installed
  • Requires a direct Gemini API key — OAuth tokens are not supported

How to Run the Script

The script is at scripts/deep_research.py relative to this skill's directory (i.e., the directory containing this SKILL.md). Resolve the full path from the skill's location before running.

bash
python3 <this-skill-directory>/scripts/deep_research.py \
  --query "<research query>" \
  --stream \
  --output-dir ./reports
Key flags
FlagPurposeDefault
--query(required) The research question—
--streamPrint progress updates while waitingoff
--output-dirWhere to save the report filescurrent dir
--formatCustom output structure (see example below)free-form
--file-search-storeGemini file-search store namenone
--api-keyOverride GEMINI_API_KEY env varenv var
Before running
  1. Check for GEMINI_API_KEY: Run echo $GEMINI_API_KEY to see if it's set. If empty, ask the user whether they'd like to provide a Gemini API key (they can get one from https://aistudio.google.com/apikey). If the user provides one, pass it via --api-key. If the user declines, do not use this skill — fall back to other research approaches and let the user know why.
  2. Ensure requests is installed: python3 -c "import requests". If missing, install it: pip3 install requests.
Example commands

Basic research:

bash
python3 <this-skill-directory>/scripts/deep_research.py \
  --query "Current state of quantum error correction techniques" \
  --stream --output-dir ./reports

Custom output format:

bash
python3 <this-skill-directory>/scripts/deep_research.py \
  --query "Competitive landscape of EV batteries" \
  --format "1. Executive Summary\n2. Key Players (data table)\n3. Technology Comparison\n4. Supply Chain Risks" \
  --stream --output-dir ./reports

Output

The script produces two timestamped files in the output directory:

  • deep-research-YYYY-MM-DD-HH-MM-SS.md — the final markdown report
  • deep-research-YYYY-MM-DD-HH-MM-SS.json — full interaction metadata

The report is also printed to stdout so you can capture it directly.

Execution Notes

  • This is a long-running task — it typically takes 2–10 minutes depending on query complexity. Use --stream so the user can see progress.
  • Always run with a reasonable timeout (at least 600000ms / 10 minutes) when using the Bash tool.
  • After the script finishes, read and present the generated .md report to the user. Summarize key findings and point them to the full report file.

API Details

  • Endpoint: https://generativelanguage.googleapis.com/v1beta/interactions
  • Agent model: deep-research-pro-preview-12-2025
  • Auth: x-goog-api-key header

© OpenLAIR, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in skills/gemini-deep-research of OpenLAIR/dr-claw.

  • SKILL.md
  • scripts/deep_research.py

Open the folder on GitHubat commit d51b64e

Compare with similar skills

Gemini Deep Research next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Gemini Deep Research compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Gemini Deep Research this skillOpenLAIR/dr-claw1.2k—~996Automated safety check: PassMIT
Deep Researchsanjay3290/ai-skills4329 repos~683Automated safety check: NotesApache-2.0
Gemini Deep Researchsickn33/agentic-awesome-skills47k1 repos~1kAutomated safety check: NotesApache-2.0
Bmad Deep Recondelorenj/mcp-server-trello445—~2.3kAutomated safety check: PassMIT
Deep Research MCP Guidepminervini/deep-research-mcp114—~5.8kAutomated safety check: PassMIT
ResearchClaw Research Pipelineaiming-lab/AutoResearchClaw15k—~1kAutomated safety check: PassMIT

Similar skills

  • Deep Research

    sanjay3290/ai-skills

    Execute autonomous multi-step research using Google Gemini Deep Research Agent.

    432 GitHub starsUsed in 9 repos~683 tokens
    Research & ScienceAuto-check: notes
  • Gemini Deep Research

    sickn33/agentic-awesome-skills

    Run autonomous multi-step research with Google's Gemini Deep Research Agent: kick off a query, poll progress, and collect a cited report for market analysis or literature reviews.

    47k GitHub starsUsed in 1 repo~1k tokens
    Research & ScienceAuto-check: notes
  • Bmad Deep Recon

    delorenj/mcp-server-trello

    Decision-grade research, three ways: draft a deep-research prompt for the user to run in their own tool (ChatGPT, Gemini, Grok, Perplexity, …), process a finished research report — file it, distill…

    445 GitHub stars~2.3k tokensUpdated 17 days ago
    Research & ScienceAuto-check passed
  • Deep Research MCP Guide

    pminervini/deep-research-mcp

    Explains how to run, integrate and debug the deep-research-mcp project through its CLI, Python API or MCP server, with OpenAI, Gemini and DR-Tulu backends.

    114 GitHub stars~5.8k tokensUpdated 12 days ago
    Research & ScienceAuto-check passed
  • ResearchClaw Research Pipeline

    aiming-lab/AutoResearchClaw

    Runs the ResearchClaw 23-stage autonomous pipeline from a topic, config file and output directory, from literature review through experiments to a written and reviewed paper.

    15k GitHub stars~1k tokensUpdated 1 mo ago
    Research & ScienceAuto-check passed
  • Gemini Deep Research

    sundial-org/awesome-openclaw-skills

    Perform complex, long-running research tasks using Gemini Deep Research Agent.

    663 GitHub stars~572 tokensUpdated 7 mo ago
    Research & ScienceAuto-check passed

More from OpenLAIR/dr-claw

All 36 skills in this repo
  • Analyzes reviewer comments and drafts venue-specific rebuttals for AI and computer science conferences, with an issue board, task list and paper edit plan.

    1.2k GitHub stars~4.9k tokensUpdated 23 days ago
    Auto-check: notes
  • Turns a research paper into a slide deck and, optionally, a narrated demo video, through script, slide generation, text-to-speech and video assembly stages you control.

    1.2k GitHub stars~1.5k tokensUpdated 23 days ago
    Auto-check passed
  • Clusters the latest news-feed results by topic and writes a briefing of research idea seeds with citations, plus a structured seeds file, without crawling new sources.

    1.2k GitHub stars~1.3k tokensUpdated 23 days ago
    Auto-check: notes
  • ML Dataset Discovery

    OpenLAIR/dr-claw

    Searches Hugging Face Hub, OpenML, GitHub and paper references for datasets that fit a research task and returns a ranked, de-duplicated table.

    1.2k GitHub stars~741 tokensUpdated 23 days ago
    Auto-check passed
  • Six-phase workflow for writing, revising and adapting grant proposals for NSF, NIH, DOE, DARPA, NASA and China's NSFC, from profiling through simulated peer review.

    1.2k GitHub stars~9.2k tokensUpdated 23 days ago
    Auto-check passed
  • Inno Rclone To Overleaf

    OpenLAIR/dr-claw

    Access Overleaf projects via CLI. An agent skill from OpenLAIR/dr-claw.

    1.2k GitHub stars~1.2k tokensUpdated 23 days ago
    Auto-check passed

Questions about Gemini Deep Research

What does Gemini Deep Research do?

Runs multi-source web research through Google's Gemini Deep Research Agent with a bundled Python script and saves a structured, cited report as files. py, which hands a research question to Gemini's Deep Research Agent; that agent splits the question, searches the web and returns a markdown report with citations. Flags set the query, optional progress streaming, the output folder, a custom report structure, a Gemini file-search store and an API key override.

When should I use Gemini Deep Research?

Gemini Deep Research fits situations like: needing a cited report synthesized from many web sources; running a literature review or technology survey; doing competitive or market research with a fixed report outline.

How do I install Gemini Deep Research in Claude Code?

Run `npx skills add OpenLAIR/dr-claw --skill gemini-deep-research -a claude-code`. Or copy the skill folder (skills/gemini-deep-research in OpenLAIR/dr-claw) into .claude/skills/gemini-deep-research in your project. Claude Code loads it when a task matches its description.

How do I install Gemini Deep Research in Codex?

Run `npx skills add OpenLAIR/dr-claw --skill gemini-deep-research -a codex`. Or copy the skill folder (skills/gemini-deep-research in OpenLAIR/dr-claw) into .agents/skills/gemini-deep-research in your project. Codex loads it when a task matches its description.

Can I use Gemini Deep Research in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add OpenLAIR/dr-claw --skill gemini-deep-research -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gemini-deep-research, .gemini/skills/gemini-deep-research, .github/skills/gemini-deep-research and .opencode/skills/gemini-deep-research in your project.

What does Gemini Deep Research need to run?

Going by SKILL.md and its folder, Gemini Deep Research needs Python for the scripts in its folder, the command-line tools its instructions call (python3 and pip3) and credentials named GEMINI_API_KEY. Our summary lists: A Gemini API key in GEMINI_API_KEY; Python 3.8 or later with the requests library; Network access to the Gemini API.

Does Gemini Deep Research access the network?

SKILL.md names 2 domains. In commands or code: generativelanguage.googleapis.com; the agent is likely to contact it when it follows the instructions. As links in the text: aistudio.google.com. This is read from the text; nothing was executed.

Is Gemini Deep Research safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Gemini Deep Research use?

Gemini Deep Research is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Gemini Deep Research use?

About 996 tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Gemini Deep Research?

Skills that share tags, products or a category with Gemini Deep Research: Deep Research (sanjay3290/ai-skills, 432 stars), Gemini Deep Research (sickn33/agentic-awesome-skills, 47k stars), Bmad Deep Recon (delorenj/mcp-server-trello, 445 stars) and Deep Research MCP Guide (pminervini/deep-research-mcp, 114 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Gemini Deep Research?

OpenLAIR (a GitHub organization) maintains it in OpenLAIR/dr-claw, which has 1,155 GitHub stars. The repository holds 36 skills in this directory. The repository was last updated on September 17, 2026.

Source: OpenLAIR/dr-claw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.