agentleFS
LigphiDonkLigphiDonk/Oh-my--paper/skills/gemini-deep-research/SKILL.md

gemini-deep-research

Skill738 starsChanged 8 months agoMITView on GitHub

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

  • Reads credentials

5 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the user request matches its research workflow scope.

    line 42
  2. Very specific:

    Treat scripts/ as optional helpers.

    line 46
  3. Distinctive:

    Prefer inspection before mutation when invoking bundled scripts.

    line 51
  4. Distinctive:

    If a required runtime, CLI, credential, or API is unavailable, explain the blocker and continue with the best manual fallback instead of …

    line 52
  5. Distinctive:

    Do not write generated artifacts back into the skill directory.

    line 53
  6. Distinctive:

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

    line 59
  7. Distinctive:

    When you need a structured report with evidence from multiple sources

    line 73

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

gemini-deep-research

Canonical Summary

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, literature review, or comprehensive technical invest...

Trigger Rules

Use this skill when the user request matches its research workflow scope. Prefer the bundled resources instead of recreating templates or reference material. Keep outputs traceable to project files, citations, scripts, or upstream evidence.

Resource Use Rules

  • Treat scripts/ as optional helpers. Run them only when their dependencies are available, keep outputs in the project workspace, and explain a manual fallback if execution is blocked.

Execution Contract

  • Resolve every relative path from this skill directory first.
  • Prefer inspection before mutation when invoking bundled scripts.
  • If a required runtime, CLI, credential, or API is unavailable, explain the blocker and continue with the best manual fallback instead of silently skipping the step.
  • Do not write generated artifacts back into the skill directory; save them inside the active project workspace.

Upstream Instructions

Gemini Deep Research

Use Google Gemini's Deep Research Agent to perform complex, long-running context gathering and synthesis tasks. The agent autonomously breaks down your query, searches the web, and synthesizes findings into a comprehensive report.

Prerequisites

  • GEMINI_API_KEY environment variable (obtain from Google AI Studio)
  • Python 3.8+ with requests library
  • Note: Requires a direct Gemini API key — OAuth tokens are not supported.

When to Use

  • Comprehensive literature or market research
  • Competitive landscape analysis
  • Technical deep dives requiring multi-source synthesis
  • Any research task that benefits from systematic web search
  • When you need a structured report with evidence from multiple sources

How It Works

The Deep Research agent:

  1. Breaks down complex queries into sub-questions
  2. Searches the web systematically for each sub-question
  3. Synthesizes findings into a comprehensive markdown report
  4. Provides streaming progress updates during execution

Usage

Basic Research

scripts/deep_research.py --query "Research the current state of quantum error correction" --stream

Custom Output Format

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"

With File Search (optional)

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

Specify Output Directory

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

Output

Results are saved as timestamped files in the output directory:

  • 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

The report is also printed to stdout for immediate use.

API Details

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

Limitations

  • Long-running tasks (minutes to tens of minutes depending on complexity)
  • May incur API costs depending on your Google AI quota
  • Results depend on web content available at query time

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.