Execute autonomous multi-step research using Google Gemini Deep Research Agent. Use for: market analysis, competitive landscaping, literature reviews, technical research, due diligence. Takes 2-10 minutes but produces detailed, cited reports. Costs $2-5 per task.
Add this skill
npx mdskills install sanjay3290/deep-researchWell-documented wrapper for Gemini API research with clear cost/time expectations and async workflows
1---2name: deep-research3description: "Execute autonomous multi-step research using Google Gemini Deep Research Agent. Use for: market analysis, competitive landscaping, literature reviews, technical research, due diligence. Takes 2-10 minutes but produces detailed, cited reports. Costs $2-5 per task."4license: Apache-2.05metadata:6 author: sanjay32907 version: "1.0"8---910# Gemini Deep Research Skill1112Run autonomous research tasks that plan, search, read, and synthesize information into comprehensive reports.1314## Requirements1516- Python 3.8+17- httpx: `pip install -r requirements.txt`18- GEMINI_API_KEY environment variable1920## Setup21221. Get a Gemini API key from [Google AI Studio](https://aistudio.google.com/)232. Set the environment variable:24 ```bash25 export GEMINI_API_KEY=your-api-key-here26 ```27 Or create a `.env` file in the skill directory.2829## Usage3031### Start a research task32```bash33python3 scripts/research.py --query "Research the history of Kubernetes"34```3536### With structured output format37```bash38python3 scripts/research.py --query "Compare Python web frameworks" \39 --format "1. Executive Summary\n2. Comparison Table\n3. Recommendations"40```4142### Stream progress in real-time43```bash44python3 scripts/research.py --query "Analyze EV battery market" --stream45```4647### Start without waiting48```bash49python3 scripts/research.py --query "Research topic" --no-wait50```5152### Check status of running research53```bash54python3 scripts/research.py --status <interaction_id>55```5657### Wait for completion58```bash59python3 scripts/research.py --wait <interaction_id>60```6162### Continue from previous research63```bash64python3 scripts/research.py --query "Elaborate on point 2" --continue <interaction_id>65```6667### List recent research68```bash69python3 scripts/research.py --list70```7172## Output Formats7374- **Default**: Human-readable markdown report75- **JSON** (`--json`): Structured data for programmatic use76- **Raw** (`--raw`): Unprocessed API response7778## Cost & Time7980| Metric | Value |81|--------|-------|82| Time | 2-10 minutes per task |83| Cost | $2-5 per task (varies by complexity) |84| Token usage | ~250k-900k input, ~60k-80k output |8586## Best Use Cases8788- Market analysis and competitive landscaping89- Technical literature reviews90- Due diligence research91- Historical research and timelines92- Comparative analysis (frameworks, products, technologies)9394## Workflow95961. User requests research → Run `--query "..."`972. Inform user of estimated time (2-10 minutes)983. Monitor with `--stream` or poll with `--status`994. Return formatted results1005. Use `--continue` for follow-up questions101102## Exit Codes103104- **0**: Success105- **1**: Error (API error, config issue, timeout)106- **130**: Cancelled by user (Ctrl+C)107
Full transparency — inspect the skill content before installing.