通过 gemini-cli deep-research MCP 扩展进行的 Gemini 深度研究功能。适用于用户需要深入研究某个主题、进行市场/行业分析或生成研究报告等场景。
Executes 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:
Research topic (exact wording goes to Gemini — make it clear and specific)
Report format — present as a choice:
Comprehensive Research Report (default, most thorough)Executive Brief (concise, ~1-2 pages)Technical Deep Dive (detailed, technical audience)Save path — default: ~/ObsidianVault/Default/DeepResearch/<YYYYMMDD>-<slug>.md
If user does not specify format, use Comprehensive Research Report.
If user does not specify a save path, use the default and inform them.
bash
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:
FormatDescriptionComprehensive Research ReportFull multi-section report with analysis, data, and citationsExecutive BriefCondensed summary for decision-makers, ~1-2 pagesTechnical Deep DiveDetailed 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.
ErrorLikely CauseResolutionAPI key not foundKey not configuredGuide user to references/setup-guide.md step 4429 Too Many RequestsFree-tier key used or quota exceededRequires paid key — inform userResearch timed outTook > 15 minutesRetry or shorten queryMCP server spawn failedExtension not installed or path wrongVerify ~/.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