Skip to content
Back to skills

Deep Research

ASecurity

Run autonomous multi-step research via Google Gemini Deep Research Agent. Produces cited reports from web sources.

  • 4 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added June 4, 2026
researchpythongobashapibackend

Works with

  • cli
  • api
  • mcp

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 6 files and shows the line behind each finding

Scanned September 22, 2026

npx -y skills add lidge-jun/cli-jaw-skills --skill deep-research --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Deep Research?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Deep Research
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lidge-jun-deep-research/badge)](https://www.skillsdirectory.com/skills/lidge-jun-deep-research)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: deep-research
description: Run autonomous multi-step research via Google Gemini Deep Research Agent. Produces cited reports from web sources.
license: Apache-2.0
metadata:
  author: sanjay3290
  version: "1.0"
---

# Gemini Deep Research

> **Local addition (cli-jaw-skills).** Method ownership: `jaw-search/references/deep-research.md`
> owns how a deep-research task is scoped, tracked and reported. This skill is one
> execution backend for it — the report format below is that backend's output format,
> not the protocol.

Autonomous research agent that plans searches, reads sources, and synthesizes cited reports.

## When to Use

- Questions requiring synthesis across many sources (market analysis, literature reviews, competitive landscape)
- Due diligence or technical research where breadth matters more than speed
- NOT for quick factual lookups (use `search` skill instead)

Trade-off: higher cost and latency in exchange for comprehensive, cited coverage.

## Requirements

- Python 3.8+, httpx (`pip install -r requirements.txt`)
- `GEMINI_API_KEY` environment variable

## CLI Reference

```bash
python3 scripts/research.py --query "..." [options]
```

| Flag | Effect |
|------|--------|
| `--query "..."` | Research question (required for new tasks) |
| `--format "..."` | Output structure template |
| `--stream` | Stream progress in real-time |
| `--no-wait` | Start task and return immediately |
| `--status <id>` | Check status of a running task |
| `--wait <id>` | Block until task completes |
| `--continue <id>` | Follow-up on previous research |
| `--list` | List recent research tasks |
| `--json` | Output as structured JSON |
| `--raw` | Output raw API response |

## Cost and Latency

Costs and times vary by query complexity and source count. Expect minutes, not seconds. Check actual token usage in the output metadata for accurate billing.

## Exit Codes

- **0**: Success
- **1**: Error (API, config, or timeout)
- **130**: Cancelled (Ctrl+C)

---

## MCP-Based Web Research

When firecrawl or exa MCP servers are available, use them as complementary search sources alongside the Gemini agent.

### Available MCP Tools

| Server | Tools | Best For |
|--------|-------|----------|
| firecrawl | `firecrawl_search`, `firecrawl_scrape`, `firecrawl_crawl` | Broad web search, full-page scraping |
| exa | `web_search_exa`, `web_search_advanced_exa`, `crawling_exa` | Semantic search, date-filtered results |

### Multi-Source Search Strategy

For each research sub-question:
1. Use 2–3 keyword variations per sub-question.
2. Search with each available tool (firecrawl + exa for best coverage).
3. Deep-read 3–5 key sources with `firecrawl_scrape` or `crawling_exa` — search snippets alone are insufficient.
4. Aim for 15–30 unique sources across all sub-questions.

Source priority: academic papers, official docs > reputable news > blogs > forums.

### Date-Filtered Search (exa)

```
web_search_advanced_exa(query: "...", numResults: 5, startPublishedDate: "2025-01-01")
```

Use date filters for fast-moving topics (AI, policy, markets).

## Report Format

```markdown
# [Topic]: Research Report
*Generated: [date] | Sources: [N] | Confidence: [High/Medium/Low]*

## Executive Summary
[3–5 sentence overview of key findings]

## 1. [Theme]
[Findings with inline citations]
- Key point ([Source](url))
- Supporting data ([Source](url))

## 2. [Theme]
...

## Key Takeaways
- [Actionable insight 1]
- [Actionable insight 2]

## Sources
1. [Title](url) — [one-line summary]
2. ...

## Methodology
Searched [N] queries across [tools used]. Analyzed [M] sources.
Sub-questions: [list]
```

Short topics: deliver full report inline. Long reports: executive summary + key takeaways inline, full report saved to file.

## Multi-Source Triangulation

1. **Every claim needs a source.** No unsourced assertions.
2. **Cross-reference**: if only one source says it, flag as unverified.
3. **Recency**: prefer sources from the last 12 months for fast-moving topics.
4. **Acknowledge gaps**: if a sub-question has poor coverage, say so explicitly.
5. **Separate fact from inference**: label estimates, projections, and opinions clearly.

## Parallel Research with Subagents

For broad topics, launch parallel explore/research agents per sub-question cluster:
- Agent 1: sub-questions 1–2
- Agent 2: sub-questions 3–4
- Agent 3: cross-cutting themes + synthesis prep

Each agent searches, reads sources, and returns structured findings. The main session synthesizes into the final report.

Files in this skill

  • .env.example344 B
  • .gitignore304 B
  • README.md7.5 KB
  • SKILL.md4.1 KB
  • requirements.txt35 B
  • scripts/research.py23.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.