Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计提醒

gemini-deep-researchGemini deep 研究

Agent Skill

gemini-deep-research 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

612

周安装

25

GitHub Stars

38

下载量

196
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:gemini-deep-research(Gemini deep 研究)
来源仓库:https://github.com/terrylica/cc-skills
仓库路径:skills/gemini-deep-research
安装命令:
npx skills add https://github.com/terrylica/cc-skills --skill gemini-deep-research
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/terrylica/cc-skills --skill gemini-deep-research

简介

gemini-deep-research 用于查找、检索和筛选相关信息,支持深度研究任务。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 中的关键词驱动信息定位。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用。
  • 安装前需确认权限范围、维护状态及是否触发联网或命令执行。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Gemini Deep Research

Run long-form research queries through Google's Gemini Deep Research via browser automation (Playwright CDP). Produces 40k+ char markdown reports with source citations.

Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.

Prerequisites

  1. Chrome with debug port: Must be running with --remote-debugging-port=9222
  2. Gemini Advanced subscription: Logged into gemini.google.com in the debug Chrome
  3. playwright-core: bun add -g playwright-core (or project-local)
  4. Runtime: Use npx tsx (not bun run) — Bun's CDP connectOverCDP times out; Node.js connects in <1s

Launch Chrome (if not running)

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
  --remote-debugging-port=9222 \
  --user-data-dir="/tmp/gemini-research-profile" \
  "https://gemini.google.com/app" &

Then log in manually with a Gemini Advanced account.

Usage

CLI (direct)

# Health check — verify Chrome CDP + Gemini login
npx tsx {{skill_dir}}/scripts/research.ts --health

# Basic research (runs preflight automatically)
npx tsx {{skill_dir}}/scripts/research.ts "your research query"

# Save to specific file
npx tsx {{skill_dir}}/scripts/research.ts \
  --output /tmp/report.md \
  --timeout 45 \
  "comprehensive analysis of quantum computing error correction 2025-2026"

# Auto-save to directory (creates {date}-{slug}.md)
npx tsx {{skill_dir}}/scripts/research.ts \
  --output-dir ~/.claude/automation/gemini-deep-research/output \
  "your query"

# Without auto-confirming plan (lets you review first)
npx tsx {{skill_dir}}/scripts/research.ts --no-confirm "query"

Programmatic (import)

import { GeminiDeepResearchClient } from "{{skill_dir}}/scripts/client.js";

const client = new GeminiDeepResearchClient({
  cdpUrl: "http://127.0.0.1:9222",
  maxResearchTimeMs: 30 * 60 * 1000,
  autoConfirm: true,
  onProgress: (msg) => console.log(msg),
});

await client.init();
const result = await client.research("your query");
// result.report — full markdown report (40k+ chars)
// result.plan — research plan text
// result.completed — boolean
// result.durationMs — execution time
// result.shareLink — Gemini share URL (if Firecrawl enabled)
await client.close();

Preflight

Every research run starts with an automatic preflight health check that verifies:

  1. Chrome CDP reachable on configured port
  2. Browser connection via WebSocket succeeds
  3. Gemini page open at gemini.google.com
  4. Login state OK (not showing sign-in wall)

If any check fails, research aborts with a clear error message. Use --no-preflight to skip.

Automation Flow

Preflight (CDP + login check) → abort if unhealthy
    ↓
Chrome CDP:9222 → Navigate gemini.google.com/app
    ↓
Tools button → Deep Research drawer item → Active chip verification
    ↓
Type query (30ms/char) → Send button (or Enter fallback)
    ↓
Wait for research plan (~18-120s) → Extract plan text
    ↓
Auto-confirm "Start research" (or manual)
    ↓
Poll completion: mic button + text stability (5s intervals, 30min max)
    ↓
Extract report (longest .markdown element) → Optional share link + Firecrawl

Debug Probes

When selectors break (Google updates Gemini UI), use the probe scripts:

# Check Chrome connectivity
bun run {{skill_dir}}/scripts/probes/dom-inspector.ts status

# Test all selectors against live DOM
bun run {{skill_dir}}/scripts/probes/dom-inspector.ts selectors

# Full DOM inspection
bun run {{skill_dir}}/scripts/probes/dom-inspector.ts probe

# Monitor active research execution
bun run {{skill_dir}}/scripts/probes/research-monitor.ts confirm-and-monitor

# Check research completion + extract share link
bun run {{skill_dir}}/scripts/probes/share-link.ts status
bun run {{skill_dir}}/scripts/probes/share-link.ts extract

Selector Registry

All CSS selectors live in scripts/selectors.ts. When Google updates the Gemini UI:

  1. Run dom-inspector.ts selectors to identify broken selectors
  2. Run dom-inspector.ts probe to inspect current DOM
  3. Update selectors.ts with new selectors
  4. Re-test with dom-inspector.ts selectors

Selectors last verified: 2026-03-13 (Tools button: now button.toolbox-drawer-button, aria-label removed)

Key Files

FilePurpose
scripts/research.tsUnified CLI entrypoint
scripts/client.tsGeminiDeepResearchClient class
scripts/selectors.tsCSS selector registry (13 groups with fallbacks)
scripts/probes/dom-inspector.tsDOM probing (5 commands)
scripts/probes/research-monitor.tsResearch execution monitor
scripts/probes/share-link.tsShare link extraction

Options Reference

OptionDefaultDescription
cdpUrlhttp://127.0.0.1:9222Chrome CDP endpoint
maxResearchTimeMs1800000 (30 min)Max wait for research completion
pollIntervalMs5000 (5s)How often to check for completion
autoConfirmtrueAuto-click "Start research" on plan
enableFirecrawlfalseExtract share link + scrape via Firecrawl
firecrawlUrlhttp://localhost:3002Self-hosted Firecrawl endpoint
--no-preflight(preflight runs)Skip automatic health check before research

Completion Detection

Research completion is detected via three signals:

  1. Mic button visiblebutton[data-node-type="speech_dictation_mic_button"] reappears
  2. Report text > 500 chars — longest .markdown.markdown-main-panel element
  3. Text stability — 3 consecutive identical text lengths (15s total)

The spinner may remain visible as a stale artifact after completion — the mic button is the primary signal.

Post-Execution Reflection

After this skill completes, check before closing:

  1. Did the command succeed? — If not, fix the instruction or error table that caused the failure.
  2. Did parameters or output change? — If the underlying tool's interface drifted, update Usage examples and Parameters table to match.
  3. Was a workaround needed? — If you had to improvise (different flags, extra steps), update this SKILL.md so the next invocation doesn't need the same workaround.

Only update if the issue is real and reproducible — not speculative.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.92%
按下载量换算70

Claude

27.93%
按下载量换算55

Cursor

19.43%
按下载量换算38

Gemini CLI

8.52%
按下载量换算17

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills