← 返回
未分类 Key

Gemini Deep Research (J-claw)

Gemini Deep Research via the gemini-cli deep-research MCP extension. Use when user wants to research a topic deeply, run market/industry analysis, or generat...
通过 gemini-cli deep-research MCP 扩展进行的 Gemini 深度研究功能。适用于用户需要深入研究某个主题、进行市场/行业分析或生成研究报告等场景。
skywalker-lili
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 345
下载
💾 0
安装
1
版本
#latest

概述

Gemini Deep Research

Executes a full Deep Research workflow using the official gemini-deep-research MCP extension.

Prerequisites

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 enabled
  • Paid Google AI API key configured via gemini extensions config gemini-deep-research

If any prerequisite is missing, inform the user and link to references/setup-guide.md.

Workflow

Step 1 — Confirm Intent & Parameters

Ask the user to confirm:

  1. Research topic (exact wording goes to Gemini — make it clear and specific)
  2. Report format — present as a choice:
    • Comprehensive Research Report (default, most thorough)
    • Executive Brief (concise, ~1-2 pages)
    • Technical Deep Dive (detailed, technical audience)
  3. Save path — default: ~/ObsidianVault/Default/DeepResearch/-.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.

Step 2 — Build the Command

node <skill>/scripts/dr-client.js \
  --input "<user's research topic>" \
  --output "<full save path>" \
  --format "<chosen format>" \
  --timeout 900000
  • = the skill's scripts directory (resolved by the agent)
  • Timeout defaults to 15 minutes (900,000 ms)

Step 3 — Spawn as Background Sub-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.

Step 4 — Handle Result

Parse the JSON output from the script:

  • status: "completed" → Report the success to the user with the file path
  • status: "error" → Report the error message to the user with a suggestion to check the API key or extension setup

Step 5 — Notify

Send a Discord message (via current session reply) confirming:

  • Topic researched
  • File path
  • Format used
  • Any errors if applicable

Report Format Reference

FormatDescription
---------------------
Comprehensive Research ReportFull multi-section report with analysis, data, and citations
Executive BriefCondensed summary for decision-makers, ~1-2 pages
Technical 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.

Error Handling

ErrorLikely CauseResolution
--------------------------------
API key not foundKey not configuredGuide user to references/setup-guide.md step 4
429 Too Many RequestsFree-tier key used or quota exceededRequires paid key — inform user
Research timed outTook > 15 minutesRetry or shorten query
MCP server spawn failedExtension not installed or path wrongVerify ~/.gemini/extensions/gemini-deep-research/ exists

File Naming

Default pattern: YYYYMMDD-.md

  • YYYYMMDD = today's date
  • = sanitized version of the research topic (lowercase, spaces to hyphens, strip special chars)
  • Example: 20260325-iran-hormuz-strait-market-impact.md

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 10:24 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Polling Best Practices

skywalker-lili
通过定时轮询自动化长时间运行的异步任务的最佳实践。适用于监控后台 CLI 命令或 API 调...
★ 0 📥 403

Smart Web Monitor (智能网页监控)

skywalker-lili
基于AI匹配的智能网页监控。不同于关键字/正则监控,该技能利用代理自身的LLM推理判断网页是否匹配。
★ 0 📥 390

Deep Research via Gemini CLI Extension

skywalker-lili
使用 Gemini CLI 的 gemini-deep-research MCP 扩展执行深度研究。当用户需要对某个主题进行深入、综合性研究时使用。
★ 0 📥 353