Install
openclaw skills install gemini-deep-research-jclawGemini Deep Research via the gemini-cli deep-research MCP extension. Use when user wants to research a topic deeply, run market/industry analysis, or generate a comprehensive report. Triggers on: deep research X, 帮我研究 X, gemini deep research X, 研究一下 X, do a deep search on X. Requires the gemini-cli and gemini-deep-research extension to be installed and a paid Google AI API key to be configured.
openclaw skills install gemini-deep-research-jclawExecutes a full Deep Research workflow using the official gemini-deep-research MCP extension.
See references/setup-guide.md for full setup instructions. The skill assumes:
gemini CLI installed (npm install -g @google/gemini-cli)gemini-deep-research extension installed and enabledgemini extensions config gemini-deep-researchIf any prerequisite is missing, inform the user and link to references/setup-guide.md.
Ask the user to confirm:
Comprehensive Research Report (default, most thorough)Executive Brief (concise, ~1-2 pages)Technical Deep Dive (detailed, technical audience)~/ObsidianVault/Default/DeepResearch/<YYYYMMDD>-<slug>.mdIf user does not specify format, use Comprehensive Research Report.
If user does not specify a save path, use the default and inform them.
node <skill>/scripts/dr-client.js \
--input "<user's research topic>" \
--output "<full save path>" \
--format "<chosen format>" \
--timeout 900000
<skill> = the skill's scripts directory (resolved by the agent)Use sessions_spawn with runtime: "subagent" to run the script in the background so the main session remains responsive.
Pass all parameters (input, output, format, timeout) via the task string.
Monitor completion via the sub-agent's completion event.
Parse the JSON output from the script:
status: "completed" → Report the success to the user with the file pathstatus: "error" → Report the error message to the user with a suggestion to check the API key or extension setupSend a Discord message (via current session reply) confirming:
| Format | Description |
|---|---|
Comprehensive Research Report | Full multi-section report with analysis, data, and citations |
Executive Brief | Condensed summary for decision-makers, ~1-2 pages |
Technical Deep Dive | Detailed technical analysis, suited for specialists |
The format is passed as-is to the Gemini API — it serves as a style hint, not a strict guarantee.
| Error | Likely Cause | Resolution |
|---|---|---|
API key not found | Key not configured | Guide user to references/setup-guide.md step 4 |
429 Too Many Requests | Free-tier key used or quota exceeded | Requires paid key — inform user |
Research timed out | Took > 15 minutes | Retry or shorten query |
| MCP server spawn failed | Extension not installed or path wrong | Verify ~/.gemini/extensions/gemini-deep-research/ exists |
Default pattern: YYYYMMDD-<slug>.md
YYYYMMDD = today's date<slug> = sanitized version of the research topic (lowercase, spaces to hyphens, strip special chars)20260325-iran-hormuz-strait-market-impact.md