一键导入
gemini-result-handling
Internal guidance for presenting Gemini helper output back to the user
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Internal guidance for presenting Gemini helper output back to the user
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Internal helper contract for calling the gemini-companion runtime (which wraps Google's Antigravity CLI, `agy`) from Claude Code
Internal guidance for composing Gemini prompts for coding, review, diagnosis, and research tasks inside the Gemini Claude Code plugin
| name | gemini-result-handling |
| description | Internal guidance for presenting Gemini helper output back to the user |
| user-invocable | false |
Use this skill from the main Claude Code thread when surfacing output from a Gemini companion command (review, adversarial-review, task, result).
Return Gemini's stdout to the user verbatim. Do not paraphrase, summarize, re-style, or "improve" the output. The user invoked Gemini deliberately to get a second opinion in Gemini's voice — sanitizing it through Claude defeats the purpose.
Wrap Gemini's output in a short header only when:
/gemini:rescue and the user might not realize a delegation just happened. A one-line "Gemini's response:" header is fine./gemini:review and arrived inside an AskUserQuestion flow where the user picked "background". A one-line follow-up "Gemini review (job ) completed — output above" is fine./gemini:ask — the user asked a direct question, just return the answer./gemini:status — the companion already renders a Markdown table; pass it through./gemini:result — the output is already structured. Don't re-format.If the companion's stderr contains a [hint: ...] line, surface that hint to the user and suggest /gemini:setup. Do not try to recover yourself.
If /gemini:review --json was used, the companion strips Gemini's wrapper ({session_id, response, stats}), removes markdown code fences, and emits clean JSON. The shape is checked against schemas/review-output.schema.json at the top level (verdict / summary / findings / next_steps must be present and verdict must be in the enum); deeper field-level validation is the caller's responsibility. When forwarding it:
severity. Preserve file, line_start, line_end, and recommendation for each finding.schema mismatch, surface that warning along with the raw output — Gemini may have ignored the schema instruction.When /gemini:rescue is launched in background mode, the companion writes to a log file and reports the job ID. Tell the user to run /gemini:status or /gemini:result <id> later — do not poll on their behalf.