技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
research【数据与研究】Runs a deep-research query on Google Gemini's deep-research managed agent and returns a cited report. This skill should be used when the user asks to "deep research with Gemini", "run Gemini deep research", "have Antigravity research X", or wants a thorough, multi-source web research report produced by a remote Gemini agent. Invoked via "/antigravity…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Run $ARGUMENTS as a deep-research query on Gemini's deep-research managed agent,
wait for it to finish, and report the cited result. Two models are available:
deep-research-preview-04-2026 (default) and deep-research-max-preview-04-2026
(max mode — slower, higher effort), selected with --max.
The script is at ${CLAUDE_PLUGIN_ROOT}/scripts/antigravity.py. It is self-daemonizing:
research returns immediately with a run_id, a detached worker runs the research,
and a status file flips to completed / failed when done. Requires credentials and uv on PATH. Two credential paths are supported: Vertex
AI via ADC plus ANTIGRAVITY_PROJECT / ANTIGRAVITY_LOCATION, or an API key
(GEMINI_API_KEY / GOOGLE_API_KEY); see the Authentication section of
../delegate/references/usage.md. Deep research can take several minutes.
Goal: Turn $ARGUMENTS into a clear research question.
Actions:
$ARGUMENTS text (minus a --max flag) as the research question.
Pass --max through to the script when the user wants max mode (deeper, slower).Goal: Start the detached research worker.
Actions:
uv run "${CLAUDE_PLUGIN_ROOT}/scripts/antigravity.py" research --query "<question>" [--max]
run_id, output_file, and wait_command from stdout.ANTIGRAVITY_AUTH path that is incomplete), surface it and stop.
Note: deep research has no token cap (DeepResearchAgentConfig accepts no
max_total_tokens), so --max-tokens is deliberately absent here — never imply to
the user that a research run is bounded.Goal: Block until the research finishes without busy-looping the model.
Actions:
wait_command. It emits one line —
antigravity run <id>: completed / failed / timeout — then exits:
uv run "${CLAUDE_PLUGIN_ROOT}/scripts/antigravity.py" wait --run <run_id> --timeout 1800
Deep research is slow: set the Monitor timeout_ms to 3600000 (60 min, 2x the wait
timeout) and pass --timeout 1800 to the wait command. Use a clear description like
"antigravity research <run_id>".: completed, : failed,
or : timeout:
: completed or : failed → proceed to Phase 4.: timeout → the research is still running (the worker keeps polling up to ~2h).
Start the Monitor on the same wait_command again to keep waiting. After four
consecutive timeouts (4 hours total), tell the user it is still running and give them
the full command to fetch it later:
uv run "${CLAUDE_PLUGIN_ROOT}/scripts/antigravity.py" status --run <run_id> --full
then stop.
Never present a timeout / still-running state as the report.Goal: Present the research report.
Actions:
uv run "${CLAUDE_PLUGIN_ROOT}/scripts/antigravity.py" status --run <run_id> --full
Or read the rendered output_file directly.failed, report the recorded error and likely cause.../delegate/references/usage.md for the shared API surface and limits.