Index of every page on this site: llms.txt
All skills
cnemri avatar

/deep-research

@7277476
Run it yourself

Perform autonomous, multi-step research using the Gemini Deep Research Agent (Interactions API). Supports web search, file/directory context, and resilient streaming.

Use this Skill: https://skilld.dev/gh/cnemri/google-genai-skills/deep-research

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈45 tokens for metadata: the name and description. ≈560 when used: this file. ≈65 more on demand in 1 file.

Description uses 2.3% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈182 characters, or 2.3%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Deep Research

Use this skill to conduct deep, autonomous research tasks that require planning, searching, reading, and synthesizing information.

This skill uses the Gemini Deep Research Agent (deep-research-pro-preview-12-2025) via the Interactions API.

Prerequisites

  • GOOGLE_API_KEY: Required for accessing the Interactions API (currently in Preview via AI Studio).
  • google-genai SDK v0.3.0+

Usage

Basic Research

Start a research task and stream the results to the console.

uv run skills/deep-research/scripts/research.py "Research the history of RISC-V architecture."

Research with Context (Files or Directories)

Provide local files (PDFs, text) or entire directories for the agent to read and incorporate into its research.

Direct Upload (Best for specific docs):

# Single file
uv run skills/deep-research/scripts/research.py "Analyze this report" --file report.pdf

# Entire directory
uv run skills/deep-research/scripts/research.py "Summarize these meeting notes" --file ./notes/

File Search Store (Best for large corpora): Use --use-file-store to index files into a searchable store (RAG) instead of uploading them into the context window.

uv run skills/deep-research/scripts/research.py "Find trends in these 1000 PDFs" --file ./large_corpus/ --use-file-store

Saving the Report

Save the final Markdown report to a file.

uv run skills/deep-research/scripts/research.py "Competitive landscape of EV batteries" --output report.md

Continuing Research (Follow-up)

Ask follow-up questions to an existing research session using the Interaction ID (displayed at the start of the previous run).

uv run skills/deep-research/scripts/research.py "Elaborate on the second point about lithium supply." --follow-up "INTERACTION_ID_HERE"

References

How it Works

  1. Planning: The agent breaks down your prompt into steps.
  2. Execution: It autonomously searches the web and reads your provided files.
  3. Resilience: The script automatically reconnects if the long-running stream drops.
  4. Synthesis: It produces a comprehensive, cited report.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

2 warnings2mo4 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill provides a research tool using the Gemini Deep Research API. It handles file uploads and API keys securely, with no malicious patterns detected.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: MEDIUM · 1 issue

  • Runlayer9mo

    3/3 files flagged

Signed by skilld at 7277476. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Dormantupdated 10 months ago

README badge

README badge for cnemri/google-genai-skills/deep-research