opencode-skills-collection 4.0.0 → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled-skills/.antigravity-install-manifest.json +28 -1
- package/bundled-skills/007/SKILL.md +2 -2
- package/bundled-skills/10-andruia-skill-smith/SKILL.md +1 -1
- package/bundled-skills/agent-squad/SKILL.md +5 -0
- package/bundled-skills/agent-squad/alex/SKILL.md +3 -0
- package/bundled-skills/agent-squad/aria/SKILL.md +3 -0
- package/bundled-skills/agent-squad/dep/SKILL.md +3 -0
- package/bundled-skills/agent-squad/luna/SKILL.md +4 -1
- package/bundled-skills/agent-squad/mason/SKILL.md +3 -0
- package/bundled-skills/agent-squad/max/SKILL.md +3 -0
- package/bundled-skills/agent-squad/quinn/SKILL.md +3 -0
- package/bundled-skills/agent-squad/rex/SKILL.md +3 -0
- package/bundled-skills/angular/metadata.json +1 -1
- package/bundled-skills/angular-best-practices/metadata.json +1 -1
- package/bundled-skills/angular-state-management/metadata.json +1 -1
- package/bundled-skills/angular-ui-patterns/metadata.json +1 -1
- package/bundled-skills/antigravity-skill-orchestrator/SKILL.md +2 -2
- package/bundled-skills/anywrite/SKILL.md +106 -0
- package/bundled-skills/apify-actor-development/SKILL.md +2 -2
- package/bundled-skills/apple-container/SKILL.md +165 -0
- package/bundled-skills/apple-container/references/commands.md +1593 -0
- package/bundled-skills/apple-container/references/concepts.md +294 -0
- package/bundled-skills/apple-container/references/configuration.md +499 -0
- package/bundled-skills/apple-container/references/workflows.md +498 -0
- package/bundled-skills/ask-copilot/SKILL.md +112 -0
- package/bundled-skills/auto-research/SKILL.md +126 -0
- package/bundled-skills/brooks-lint/SKILL.md +1 -1
- package/bundled-skills/browser-harness/references/install.md +3 -1
- package/bundled-skills/chrome-extension-developer/SKILL.md +1 -1
- package/bundled-skills/clean-code-guard/SKILL.md +184 -0
- package/bundled-skills/clean-code-guard/references/ai-failure-modes.md +345 -0
- package/bundled-skills/clean-code-guard/references/comments-and-formatting.md +115 -0
- package/bundled-skills/clean-code-guard/references/dry-kiss-yagni.md +133 -0
- package/bundled-skills/clean-code-guard/references/naming-and-functions.md +187 -0
- package/bundled-skills/clean-code-guard/references/review-checklist.md +150 -0
- package/bundled-skills/clean-code-guard/references/solid.md +280 -0
- package/bundled-skills/clean-code-guard/references/sources.md +47 -0
- package/bundled-skills/cloudflare-security-audit/SKILL.md +137 -0
- package/bundled-skills/cloudflare-security-audit/references/AI-AND-LLM.md +67 -0
- package/bundled-skills/cloudflare-security-audit/references/ATTACK-CLASSES.md +116 -0
- package/bundled-skills/cloudflare-security-audit/references/CLIENT-SIDE.md +67 -0
- package/bundled-skills/cloudflare-security-audit/references/HUNTING.md +110 -0
- package/bundled-skills/cloudflare-security-audit/references/MEMORY-SAFETY-AND-BINARY.md +58 -0
- package/bundled-skills/cloudflare-security-audit/references/RECONNAISSANCE.md +46 -0
- package/bundled-skills/cloudflare-security-audit/references/VALIDATION-AND-REPORTING.md +109 -0
- package/bundled-skills/cloudflare-security-audit/references/WEB-PROTOCOL-AND-AUTH.md +85 -0
- package/bundled-skills/cloudflare-security-audit/resources/report-schema.json +210 -0
- package/bundled-skills/comfyui-gateway/references/troubleshooting.md +1 -1
- package/bundled-skills/commit/SKILL.md +2 -1
- package/bundled-skills/deepapi/SKILL.md +6 -6
- package/bundled-skills/ditto/SKILL.md +173 -0
- package/bundled-skills/docs/README.md +1 -1
- package/bundled-skills/docs/contributors/quality-bar.md +1 -1
- package/bundled-skills/docs/contributors/security-guardrails.md +1 -1
- package/bundled-skills/docs/integrations/jetski-cortex.md +5 -5
- package/bundled-skills/docs/integrations/jetski-gemini-loader/README.md +3 -3
- package/bundled-skills/docs/maintainers/ci-drift-fix.md +7 -5
- package/bundled-skills/docs/maintainers/merge-batch.md +24 -7
- package/bundled-skills/docs/maintainers/pr-autonomy.md +89 -0
- package/bundled-skills/docs/maintainers/release-notes-7.2.0.md +1 -1
- package/bundled-skills/docs/maintainers/release-process.md +9 -9
- package/bundled-skills/docs/maintainers/repo-growth-seo.md +5 -5
- package/bundled-skills/docs/maintainers/skills-date-tracking.md +1 -1
- package/bundled-skills/docs/maintainers/skills-update-guide.md +2 -2
- package/bundled-skills/docs/users/{antigravity-awesome-skills-vs-awesome-claude-skills.md → agentic-awesome-skills-vs-awesome-claude-skills.md} +5 -5
- package/bundled-skills/docs/users/ai-agent-skills.md +4 -4
- package/bundled-skills/docs/users/best-claude-code-skills-github.md +3 -3
- package/bundled-skills/docs/users/best-cursor-skills-github.md +3 -3
- package/bundled-skills/docs/users/bundles.md +56 -57
- package/bundled-skills/docs/users/claude-code-skills.md +6 -6
- package/bundled-skills/docs/users/codex-cli-skills.md +5 -5
- package/bundled-skills/docs/users/cursor-skills.md +3 -3
- package/bundled-skills/docs/users/faq.md +27 -15
- package/bundled-skills/docs/users/gemini-cli-skills.md +4 -4
- package/bundled-skills/docs/users/getting-started.md +22 -12
- package/bundled-skills/docs/users/kiro-integration.md +7 -7
- package/bundled-skills/docs/users/plugins.md +8 -9
- package/bundled-skills/docs/users/security-skills.md +1 -1
- package/bundled-skills/docs/users/skills-vs-mcp-tools.md +1 -1
- package/bundled-skills/docs/users/specialized-plugin-roadmap.md +3 -4
- package/bundled-skills/docs/users/usage.md +9 -9
- package/bundled-skills/docs/users/visual-guide.md +7 -7
- package/bundled-skills/docs/users/windows-truncation-recovery.md +1 -1
- package/bundled-skills/docs/users/workflows.md +1 -1
- package/bundled-skills/docs/vietnamese/BUNDLES.vi.md +1 -1
- package/bundled-skills/docs/vietnamese/FAQ.vi.md +15 -8
- package/bundled-skills/docs/vietnamese/GETTING_STARTED.vi.md +12 -5
- package/bundled-skills/docs/vietnamese/QUALITY_BAR.vi.md +1 -1
- package/bundled-skills/docs/vietnamese/README.vi.md +21 -17
- package/bundled-skills/docs/vietnamese/SECURITY_GUARDRAILS.vi.md +1 -1
- package/bundled-skills/docs/vietnamese/SKILLS_README.vi.md +2 -2
- package/bundled-skills/docs/vietnamese/TRANSLATION_PLAN.vi.md +1 -1
- package/bundled-skills/docs/vietnamese/VISUAL_GUIDE.vi.md +8 -8
- package/bundled-skills/docs-guard/SKILL.md +109 -0
- package/bundled-skills/docs-guard/references/code-samples.md +46 -0
- package/bundled-skills/docs-guard/references/docstrings.md +60 -0
- package/bundled-skills/docs-guard/references/review-checklist.md +45 -0
- package/bundled-skills/docs-guard/references/sources.md +22 -0
- package/bundled-skills/docs-guard/references/verification.md +51 -0
- package/bundled-skills/efficient-web-research/SKILL.md +4 -0
- package/bundled-skills/electron-development/SKILL.md +1 -1
- package/bundled-skills/event-staffing-compliance/SKILL.md +3 -0
- package/bundled-skills/event-staffing-ordering/SKILL.md +3 -0
- package/bundled-skills/feature-tracking/SKILL.md +222 -0
- package/bundled-skills/flutter-expert/SKILL.md +6 -1
- package/bundled-skills/flutter-expert/resources/implementation-playbook.md +214 -0
- package/bundled-skills/gemini-deep-research/README.md +246 -0
- package/bundled-skills/gemini-deep-research/SKILL.md +136 -0
- package/bundled-skills/gemini-deep-research/requirements.txt +2 -0
- package/bundled-skills/gemini-deep-research/scripts/research.py +692 -0
- package/bundled-skills/git-pushing/SKILL.md +21 -4
- package/bundled-skills/git-pushing/scripts/smart_commit.sh +206 -11
- package/bundled-skills/go-in-depth/scripts/workflow-script.js +4 -1
- package/bundled-skills/grok-build/SKILL.md +167 -0
- package/bundled-skills/grok-build/references/cli.md +99 -0
- package/bundled-skills/huggingface-tool-builder/references/find_models_by_paper.sh +1 -1
- package/bundled-skills/idea-autopsy/SKILL.md +147 -0
- package/bundled-skills/it-manager-hospital/README.md +1 -1
- package/bundled-skills/it-manager-pro/README.md +1 -1
- package/bundled-skills/itil-expert/README.md +1 -1
- package/bundled-skills/langgraph/SKILL.md +1 -1
- package/bundled-skills/linkedin-content-generator/SKILL.md +1 -1
- package/bundled-skills/lint-and-validate/scripts/lint_runner.py +23 -23
- package/bundled-skills/lint-and-validate/scripts/type_coverage.py +30 -30
- package/bundled-skills/logic-lens/SKILL.md +1 -1
- package/bundled-skills/lore/LICENSE +21 -0
- package/bundled-skills/lore/README.md +386 -0
- package/bundled-skills/lore/README.zh-CN.md +386 -0
- package/bundled-skills/lore/SKILL.md +453 -0
- package/bundled-skills/lore/WORKFLOWS.md +216 -0
- package/bundled-skills/lore/WORKFLOWS.zh-CN.md +216 -0
- package/bundled-skills/lore/references/audit-template.md +60 -0
- package/bundled-skills/lore/references/compatibility.md +228 -0
- package/bundled-skills/lore/references/config.md +125 -0
- package/bundled-skills/lore/references/entry-format.md +70 -0
- package/bundled-skills/lore/references/history-command.md +106 -0
- package/bundled-skills/lore/references/monorepo-detection.md +78 -0
- package/bundled-skills/lore/references/platform-mirrors.md +377 -0
- package/bundled-skills/lore/references/stale-new-markers.md +62 -0
- package/bundled-skills/lore/references/summary-template.md +98 -0
- package/bundled-skills/lore/scripts/README.md +54 -0
- package/bundled-skills/lore/scripts/README.zh-CN.md +54 -0
- package/bundled-skills/lore/scripts/find_duplicates.py +211 -0
- package/bundled-skills/lore/scripts/find_stale.py +116 -0
- package/bundled-skills/lore/scripts/history.py +527 -0
- package/bundled-skills/lore/scripts/id_hash.py +32 -0
- package/bundled-skills/lore/scripts/list_entries.py +183 -0
- package/bundled-skills/lovable-cleanup/SKILL.md +3 -3
- package/bundled-skills/makepad-splash/SKILL.md +1 -1
- package/bundled-skills/mmx-cli/SKILL.md +14 -1
- package/bundled-skills/monopoly/SKILL.md +5 -0
- package/bundled-skills/monopoly/patterns/SKILL.md +4 -0
- package/bundled-skills/monopoly/scale-benchmarks/SKILL.md +4 -0
- package/bundled-skills/monopoly/security-checklist/SKILL.md +4 -0
- package/bundled-skills/monopoly/tech-matrix/SKILL.md +4 -0
- package/bundled-skills/mtls-configuration/SKILL.md +1 -1
- package/bundled-skills/network-101/SKILL.md +4 -5
- package/bundled-skills/nika/SKILL.md +270 -0
- package/bundled-skills/not-a-vibe-coder/SKILL.md +4 -0
- package/bundled-skills/ontoly-software-graph/SKILL.md +160 -0
- package/bundled-skills/openclaw-github-repo-commander/SKILL.md +1 -1
- package/bundled-skills/optim-agent/SKILL.md +78 -0
- package/bundled-skills/pilot-protocol/SKILL.md +6 -3
- package/bundled-skills/postgres-readonly-queries/README.md +77 -0
- package/bundled-skills/postgres-readonly-queries/SKILL.md +152 -0
- package/bundled-skills/postgres-readonly-queries/connections.example.json +34 -0
- package/bundled-skills/postgres-readonly-queries/requirements.txt +1 -0
- package/bundled-skills/postgres-readonly-queries/scripts/query.py +262 -0
- package/bundled-skills/pptx-deck-creation/SKILL.md +275 -0
- package/bundled-skills/pptx-deck-creation/references/audit-checklist.md +156 -0
- package/bundled-skills/pptx-deck-creation/references/design-profiles.md +96 -0
- package/bundled-skills/pptx-deck-creation/references/python-snippets.md +150 -0
- package/bundled-skills/pptx-deck-creation/references/reference-deck-analysis.md +91 -0
- package/bundled-skills/pptx-deck-creation/references/visual-asset-adapters.md +158 -0
- package/bundled-skills/privilege-escalation-methods/SKILL.md +1 -1
- package/bundled-skills/product-decision-agent/SKILL.md +94 -0
- package/bundled-skills/product-decision-agent/agents/openai.yaml +7 -0
- package/bundled-skills/product-decision-agent/references/methodology-basis.md +232 -0
- package/bundled-skills/product-decision-agent/references/product-playbooks.md +813 -0
- package/bundled-skills/product-decision-agent/references/reasoning-engine.md +289 -0
- package/bundled-skills/product-decision-agent/references/response-examples.md +279 -0
- package/bundled-skills/product-decision-agent/scripts/quality_gate.py +221 -0
- package/bundled-skills/product-decision-agent/scripts/test_quality_gate.py +94 -0
- package/bundled-skills/pytest-skill/reference/playbook.md +358 -0
- package/bundled-skills/quit-sponsor/SKILL.md +96 -0
- package/bundled-skills/rclone-cli/references/providers/s3.md +1 -1
- package/bundled-skills/security-and-hardening/SKILL.md +1 -1
- package/bundled-skills/semgrep-rule-creator/SKILL.md +6 -6
- package/bundled-skills/skill-creator/README.md +3 -3
- package/bundled-skills/skill-creator/SKILL.md +8 -4
- package/bundled-skills/skill-creator/scripts/quick_validate.py +1 -1
- package/bundled-skills/sql-injection-testing/SKILL.md +4 -4
- package/bundled-skills/sshepherd/SKILL.md +107 -0
- package/bundled-skills/subagent-orchestrator/README.md +1 -1
- package/bundled-skills/super-code/bash/SKILL.md +3 -0
- package/bundled-skills/super-code/c/SKILL.md +3 -0
- package/bundled-skills/super-code/cpp/SKILL.md +3 -0
- package/bundled-skills/super-code/csharp/SKILL.md +3 -0
- package/bundled-skills/super-code/dart/SKILL.md +3 -0
- package/bundled-skills/super-code/elixir/SKILL.md +3 -0
- package/bundled-skills/super-code/go/SKILL.md +3 -0
- package/bundled-skills/super-code/java/SKILL.md +3 -0
- package/bundled-skills/super-code/kotlin/SKILL.md +3 -0
- package/bundled-skills/super-code/php/SKILL.md +3 -0
- package/bundled-skills/super-code/python/SKILL.md +3 -0
- package/bundled-skills/super-code/ruby/SKILL.md +3 -0
- package/bundled-skills/super-code/rust/SKILL.md +3 -0
- package/bundled-skills/super-code/scala/SKILL.md +3 -0
- package/bundled-skills/super-code/swift/SKILL.md +3 -0
- package/bundled-skills/super-code/typescript/SKILL.md +3 -0
- package/bundled-skills/telegram-bot-messaging/README.md +185 -0
- package/bundled-skills/telegram-bot-messaging/SKILL.md +101 -0
- package/bundled-skills/telegram-bot-messaging/scripts/telegram.sh +420 -0
- package/bundled-skills/test-guard/SKILL.md +132 -0
- package/bundled-skills/test-guard/references/jest.md +50 -0
- package/bundled-skills/test-guard/references/llm-app-testing.md +40 -0
- package/bundled-skills/test-guard/references/phpunit.md +56 -0
- package/bundled-skills/test-guard/references/pytest.md +65 -0
- package/bundled-skills/trading-ledger/SKILL.md +11 -3
- package/bundled-skills/uizze-ui-research/SKILL.md +93 -0
- package/bundled-skills/vibe-code-auditor/SKILL.md +1 -1
- package/bundled-skills/vibecode-production-qa-validator/SKILL.md +1 -1
- package/bundled-skills/videodb/scripts/ws_listener.py +29 -15
- package/bundled-skills/voice-ai-engine-development/README.md +1 -1
- package/bundled-skills/vulnerability-scanner/SKILL.md +1 -1
- package/bundled-skills/warehouse/SKILL.md +154 -0
- package/bundled-skills/woo-guard/SKILL.md +113 -0
- package/bundled-skills/woo-guard/references/checkout-and-money.md +64 -0
- package/bundled-skills/woo-guard/references/hpos-and-crud.md +87 -0
- package/bundled-skills/woo-guard/references/review-checklist.md +44 -0
- package/bundled-skills/woo-guard/references/sources.md +17 -0
- package/bundled-skills/wp-guard/SKILL.md +119 -0
- package/bundled-skills/wp-guard/references/i18n.md +88 -0
- package/bundled-skills/wp-guard/references/performance.md +70 -0
- package/bundled-skills/wp-guard/references/review-checklist.md +57 -0
- package/bundled-skills/wp-guard/references/security.md +100 -0
- package/bundled-skills/wp-guard/references/sources.md +27 -0
- package/bundled-skills/writing-skills/gotchas.md +1 -1
- package/bundled-skills/writing-skills/references/standards/metadata-standard.md +1 -1
- package/bundled-skills/x-twitter-scraper/SKILL.md +14 -32
- package/bundled-skills/xss-html-injection/SKILL.md +3 -3
- package/bundled-skills/youtube-seo-optimizer/SKILL.md +1 -1
- package/bundled-skills/youtube-summarizer/CHANGELOG.md +2 -2
- package/package.json +2 -2
- package/skills_index.json +407 -0
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
# Gemini Deep Research Skill
|
|
2
|
+
|
|
3
|
+
Execute autonomous multi-step research tasks using Google's Gemini Deep Research Agent. Unlike standard LLM queries that respond in seconds, Deep Research is an "analyst-in-a-box" that plans, searches, reads, and synthesizes information into comprehensive, cited reports.
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
The Deep Research Agent (`deep-research-pro-preview-12-2025`) powered by Gemini 3 Pro:
|
|
8
|
+
|
|
9
|
+
- **Plans** research strategy based on your query
|
|
10
|
+
- **Searches** the web and analyzes sources
|
|
11
|
+
- **Reads** and extracts relevant information
|
|
12
|
+
- **Iterates** through multiple search/read cycles
|
|
13
|
+
- **Outputs** detailed, cited reports
|
|
14
|
+
|
|
15
|
+
This process takes 2-10 minutes but produces thorough analysis that would take a human researcher hours.
|
|
16
|
+
|
|
17
|
+
## Installation
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
# Navigate to skill directory
|
|
21
|
+
cd skills/deep-research
|
|
22
|
+
|
|
23
|
+
# Install dependencies
|
|
24
|
+
pip install -r requirements.txt
|
|
25
|
+
|
|
26
|
+
# Set up API key
|
|
27
|
+
cp .env.example .env
|
|
28
|
+
# Edit .env and add your GEMINI_API_KEY
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### Getting a Gemini API Key
|
|
32
|
+
|
|
33
|
+
1. Go to [Google AI Studio](https://aistudio.google.com/)
|
|
34
|
+
2. Click "Get API key"
|
|
35
|
+
3. Create a new key or use an existing one
|
|
36
|
+
4. Copy the key to your `.env` file
|
|
37
|
+
|
|
38
|
+
## Quick Start
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
# Basic research query
|
|
42
|
+
python3 scripts/research.py --query "Research the competitive landscape of cloud providers in 2024"
|
|
43
|
+
|
|
44
|
+
# Stream progress in real-time
|
|
45
|
+
python3 scripts/research.py --query "Compare React, Vue, and Angular frameworks" --stream
|
|
46
|
+
|
|
47
|
+
# Get structured JSON output
|
|
48
|
+
python3 scripts/research.py --query "Analyze the EV market" --json
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Commands
|
|
52
|
+
|
|
53
|
+
### `--query` / `-q`
|
|
54
|
+
|
|
55
|
+
Start a new research task.
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
# Basic query
|
|
59
|
+
python3 scripts/research.py -q "Research the history of containerization"
|
|
60
|
+
|
|
61
|
+
# With output format specification
|
|
62
|
+
python3 scripts/research.py -q "Compare database solutions" \
|
|
63
|
+
--format "1. Executive Summary\n2. Comparison Table\n3. Pros/Cons\n4. Recommendations"
|
|
64
|
+
|
|
65
|
+
# Start without waiting for results
|
|
66
|
+
python3 scripts/research.py -q "Research topic" --no-wait
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### `--stream`
|
|
70
|
+
|
|
71
|
+
Stream research progress in real-time. Shows thinking steps and builds the report as it's generated.
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
python3 scripts/research.py -q "Analyze market trends" --stream
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### `--status` / `-s`
|
|
78
|
+
|
|
79
|
+
Check the status of a running research task.
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
python3 scripts/research.py --status abc123xyz
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### `--wait` / `-w`
|
|
86
|
+
|
|
87
|
+
Wait for a specific research task to complete.
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
python3 scripts/research.py --wait abc123xyz
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### `--continue`
|
|
94
|
+
|
|
95
|
+
Continue a conversation from previous research. Useful for follow-up questions.
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
# First, run initial research
|
|
99
|
+
python3 scripts/research.py -q "Research Kubernetes architecture"
|
|
100
|
+
# Output: Interaction ID: abc123xyz
|
|
101
|
+
|
|
102
|
+
# Then ask follow-up
|
|
103
|
+
python3 scripts/research.py -q "Elaborate on the networking section" --continue abc123xyz
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
### `--list` / `-l`
|
|
107
|
+
|
|
108
|
+
List recent research tasks from local history.
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
python3 scripts/research.py --list
|
|
112
|
+
python3 scripts/research.py --list --limit 20
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
## Output Options
|
|
116
|
+
|
|
117
|
+
| Flag | Description |
|
|
118
|
+
|------|-------------|
|
|
119
|
+
| (default) | Human-readable markdown report |
|
|
120
|
+
| `--json` / `-j` | Structured JSON output |
|
|
121
|
+
| `--raw` / `-r` | Raw API response |
|
|
122
|
+
|
|
123
|
+
## Configuration
|
|
124
|
+
|
|
125
|
+
### Environment Variables
|
|
126
|
+
|
|
127
|
+
| Variable | Default | Description |
|
|
128
|
+
|----------|---------|-------------|
|
|
129
|
+
| `GEMINI_API_KEY` | (required) | Your Google Gemini API key |
|
|
130
|
+
| `DEEP_RESEARCH_TIMEOUT` | `600` | Max wait time in seconds |
|
|
131
|
+
| `DEEP_RESEARCH_POLL_INTERVAL` | `10` | Seconds between status polls |
|
|
132
|
+
| `DEEP_RESEARCH_CACHE_DIR` | `~/.cache/deep-research` | Local history cache directory |
|
|
133
|
+
|
|
134
|
+
### .env File
|
|
135
|
+
|
|
136
|
+
```bash
|
|
137
|
+
GEMINI_API_KEY=your-api-key-here
|
|
138
|
+
DEEP_RESEARCH_TIMEOUT=600
|
|
139
|
+
DEEP_RESEARCH_POLL_INTERVAL=10
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
## Cost & Performance
|
|
143
|
+
|
|
144
|
+
### Estimated Costs
|
|
145
|
+
|
|
146
|
+
Deep Research uses a pay-as-you-go model based on token usage:
|
|
147
|
+
|
|
148
|
+
| Task Type | Search Queries | Input Tokens | Output Tokens | Estimated Cost |
|
|
149
|
+
|-----------|---------------|--------------|---------------|----------------|
|
|
150
|
+
| Standard | ~80 | ~250k (50-70% cached) | ~60k | $2-3 |
|
|
151
|
+
| Complex | ~160 | ~900k (50-70% cached) | ~80k | $3-5 |
|
|
152
|
+
|
|
153
|
+
### Time Expectations
|
|
154
|
+
|
|
155
|
+
- **Simple queries**: 2-5 minutes
|
|
156
|
+
- **Complex analysis**: 5-10 minutes
|
|
157
|
+
- **Maximum**: 60 minutes (API limit)
|
|
158
|
+
|
|
159
|
+
## Use Cases
|
|
160
|
+
|
|
161
|
+
### Market Analysis
|
|
162
|
+
```bash
|
|
163
|
+
python3 scripts/research.py -q "Analyze the competitive landscape of \
|
|
164
|
+
EV battery manufacturers, including market share, technology, and supply chain"
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
### Technical Research
|
|
168
|
+
```bash
|
|
169
|
+
python3 scripts/research.py -q "Compare Rust vs Go for building \
|
|
170
|
+
high-performance backend services" \
|
|
171
|
+
--format "1. Performance Benchmarks\n2. Memory Safety\n3. Ecosystem\n4. Learning Curve"
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
### Due Diligence
|
|
175
|
+
```bash
|
|
176
|
+
python3 scripts/research.py -q "Research Company XYZ: recent news, \
|
|
177
|
+
financial performance, leadership changes, and market position"
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
### Literature Review
|
|
181
|
+
```bash
|
|
182
|
+
python3 scripts/research.py -q "Review recent developments in \
|
|
183
|
+
large language model efficiency and optimization techniques"
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
## Error Handling
|
|
187
|
+
|
|
188
|
+
| Error | Cause | Solution |
|
|
189
|
+
|-------|-------|----------|
|
|
190
|
+
| `GEMINI_API_KEY not set` | Missing API key | Set in `.env` or environment |
|
|
191
|
+
| `API error 429` | Rate limited | Wait and retry |
|
|
192
|
+
| `Research timed out` | Task took too long | Simplify query or increase timeout |
|
|
193
|
+
| `Failed to parse result` | Unexpected response | Use `--raw` to see actual output |
|
|
194
|
+
|
|
195
|
+
## Exit Codes
|
|
196
|
+
|
|
197
|
+
| Code | Meaning |
|
|
198
|
+
|------|---------|
|
|
199
|
+
| 0 | Success |
|
|
200
|
+
| 1 | Error (API, config, timeout) |
|
|
201
|
+
| 130 | Cancelled by user (Ctrl+C) |
|
|
202
|
+
|
|
203
|
+
## Architecture
|
|
204
|
+
|
|
205
|
+
```
|
|
206
|
+
┌─────────────────┐ ┌──────────────────────┐
|
|
207
|
+
│ CLI Script │──────│ DeepResearchClient │
|
|
208
|
+
│ (research.py) │ │ │
|
|
209
|
+
└─────────────────┘ └──────────┬───────────┘
|
|
210
|
+
│
|
|
211
|
+
▼
|
|
212
|
+
┌──────────────────────┐
|
|
213
|
+
│ Gemini Deep │
|
|
214
|
+
│ Research API │
|
|
215
|
+
│ │
|
|
216
|
+
│ POST /interactions │
|
|
217
|
+
│ GET /interactions │
|
|
218
|
+
└──────────────────────┘
|
|
219
|
+
│
|
|
220
|
+
▼
|
|
221
|
+
┌──────────────────────┐
|
|
222
|
+
│ HistoryManager │
|
|
223
|
+
│ (~/.cache/deep- │
|
|
224
|
+
│ research/) │
|
|
225
|
+
└──────────────────────┘
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
## Safety & Privacy
|
|
229
|
+
|
|
230
|
+
- **Read-only**: This skill only reads/researches; no file modifications
|
|
231
|
+
- **No secrets in queries**: Avoid including sensitive data in research queries
|
|
232
|
+
- **Source verification**: Always verify citations in the output
|
|
233
|
+
- **Cost awareness**: Each task costs $2-5; be mindful of usage
|
|
234
|
+
|
|
235
|
+
## Limitations
|
|
236
|
+
|
|
237
|
+
- **No custom tools**: Cannot use MCP or function calling
|
|
238
|
+
- **No structured output enforcement**: JSON formatting relies on prompt engineering
|
|
239
|
+
- **Web-only research**: Cannot access private/authenticated sources
|
|
240
|
+
- **60-minute max**: Very complex tasks may time out
|
|
241
|
+
|
|
242
|
+
## References
|
|
243
|
+
|
|
244
|
+
- [Gemini Deep Research Documentation](https://ai.google.dev/gemini-api/docs/deep-research)
|
|
245
|
+
- [Google AI Studio](https://aistudio.google.com/)
|
|
246
|
+
- [Gemini API Pricing](https://ai.google.dev/gemini-api/docs/pricing)
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gemini-deep-research
|
|
3
|
+
description: "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."
|
|
4
|
+
category: research
|
|
5
|
+
risk: critical
|
|
6
|
+
source: https://github.com/sanjay3290/ai-skills/tree/main/skills/deep-research
|
|
7
|
+
source_repo: sanjay3290/ai-skills
|
|
8
|
+
source_type: community
|
|
9
|
+
date_added: "2026-07-09"
|
|
10
|
+
author: sanjay3290
|
|
11
|
+
tags: [research, gemini, google, reports]
|
|
12
|
+
tools: [claude, cursor, gemini]
|
|
13
|
+
license: "Apache-2.0"
|
|
14
|
+
license_source: "https://github.com/sanjay3290/ai-skills/blob/main/LICENSE"
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
# Gemini Deep Research Skill
|
|
18
|
+
|
|
19
|
+
## When to Use
|
|
20
|
+
|
|
21
|
+
- Use when a question needs autonomous multi-step research with cited sources (market analysis, literature reviews, competitive scans)
|
|
22
|
+
- Use when you want to start a Gemini Deep Research run, poll its progress, and collect the final report
|
|
23
|
+
- Use when a quick web search is not enough and a structured, source-grounded report is required
|
|
24
|
+
|
|
25
|
+
Run autonomous research tasks that plan, search, read, and synthesize information into comprehensive reports.
|
|
26
|
+
|
|
27
|
+
## Requirements
|
|
28
|
+
|
|
29
|
+
- Python 3.8+
|
|
30
|
+
- httpx: `pip install -r requirements.txt`
|
|
31
|
+
- GEMINI_API_KEY environment variable
|
|
32
|
+
|
|
33
|
+
## Setup
|
|
34
|
+
|
|
35
|
+
1. Get a Gemini API key from [Google AI Studio](https://aistudio.google.com/)
|
|
36
|
+
2. Set the environment variable:
|
|
37
|
+
```bash
|
|
38
|
+
export GEMINI_API_KEY=your-api-key-here
|
|
39
|
+
```
|
|
40
|
+
Or create a `.env` file in the skill directory.
|
|
41
|
+
|
|
42
|
+
## Safety Gate
|
|
43
|
+
|
|
44
|
+
Before starting a research job, show the user the exact query, the fact that it will be sent
|
|
45
|
+
to Google's Gemini service, the expected cost range, and the output destination. Start a job
|
|
46
|
+
only after explicit approval. Do not include private workspace material, credentials, personal
|
|
47
|
+
data, or confidential customer information in a query.
|
|
48
|
+
|
|
49
|
+
## Usage
|
|
50
|
+
|
|
51
|
+
### Start a research task
|
|
52
|
+
```bash
|
|
53
|
+
python3 scripts/research.py --query "Research the history of Kubernetes"
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### With structured output format
|
|
57
|
+
```bash
|
|
58
|
+
python3 scripts/research.py --query "Compare Python web frameworks" \
|
|
59
|
+
--format "1. Executive Summary\n2. Comparison Table\n3. Recommendations"
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### Stream progress in real-time
|
|
63
|
+
```bash
|
|
64
|
+
python3 scripts/research.py --query "Analyze EV battery market" --stream
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### Start without waiting
|
|
68
|
+
```bash
|
|
69
|
+
python3 scripts/research.py --query "Research topic" --no-wait
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### Check status of running research
|
|
73
|
+
```bash
|
|
74
|
+
python3 scripts/research.py --status <interaction_id>
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### Wait for completion
|
|
78
|
+
```bash
|
|
79
|
+
python3 scripts/research.py --wait <interaction_id>
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### Continue from previous research
|
|
83
|
+
```bash
|
|
84
|
+
python3 scripts/research.py --query "Elaborate on point 2" --continue <interaction_id>
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### List recent research
|
|
88
|
+
```bash
|
|
89
|
+
python3 scripts/research.py --list
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
## Output Formats
|
|
93
|
+
|
|
94
|
+
- **Default**: Human-readable markdown report
|
|
95
|
+
- **JSON** (`--json`): Structured data for programmatic use
|
|
96
|
+
- **Raw** (`--raw`): Unprocessed API response
|
|
97
|
+
|
|
98
|
+
## Cost & Time
|
|
99
|
+
|
|
100
|
+
| Metric | Value |
|
|
101
|
+
|--------|-------|
|
|
102
|
+
| Time | 2-10 minutes per task |
|
|
103
|
+
| Cost | $2-5 per task (varies by complexity) |
|
|
104
|
+
| Token usage | ~250k-900k input, ~60k-80k output |
|
|
105
|
+
|
|
106
|
+
## Best Use Cases
|
|
107
|
+
|
|
108
|
+
- Market analysis and competitive landscaping
|
|
109
|
+
- Technical literature reviews
|
|
110
|
+
- Due diligence research
|
|
111
|
+
- Historical research and timelines
|
|
112
|
+
- Comparative analysis (frameworks, products, technologies)
|
|
113
|
+
|
|
114
|
+
## Workflow
|
|
115
|
+
|
|
116
|
+
1. User requests research → Run `--query "..."`
|
|
117
|
+
2. Inform user of estimated time (2-10 minutes)
|
|
118
|
+
3. Monitor with `--stream` or poll with `--status`
|
|
119
|
+
4. Return formatted results
|
|
120
|
+
5. Use `--continue` for follow-up questions
|
|
121
|
+
|
|
122
|
+
## Exit Codes
|
|
123
|
+
|
|
124
|
+
- **0**: Success
|
|
125
|
+
- **1**: Error (API error, config issue, timeout)
|
|
126
|
+
- **130**: Cancelled by user (Ctrl+C)
|
|
127
|
+
|
|
128
|
+
## Limitations
|
|
129
|
+
|
|
130
|
+
- Each research job is a paid, third-party API request; costs and availability can change, and
|
|
131
|
+
the listed estimate is not a spending authorization.
|
|
132
|
+
- Reports may contain incomplete, stale, or incorrect citations. Verify consequential claims
|
|
133
|
+
against primary sources.
|
|
134
|
+
- This skill cannot guarantee that a prompt is safe to disclose; redact proprietary or personal
|
|
135
|
+
material before requesting user approval.
|
|
136
|
+
- An API key must remain local and must never be committed, printed, or sent in a query.
|