Skip to content

/ask-gemini

Consult Gemini as an independent expert with deep web research. Sends a question or task to Gemini CLI and returns a research-backed response.

From plugin
humanize
1.6k6 skills4 agents5 commands4 hooks

Claude Code

$ npx -y skills add PolyArch/humanize --skill ask-gemini --agent claude-code

SKILL.md

ask-gemini.SKILL.md
name: ask-gemini
description: Consult Gemini as an independent expert with deep web research. Sends a question or task to Gemini CLI and returns a research-backed response.
argument-hint: "[--gemini-model MODEL] [--gemini-timeout SECONDS] [question or task]"
allowed-tools: "Bash(${CLAUDE_PLUGIN_ROOT}/scripts/ask-gemini.sh:*)"

Ask Gemini

Send a question or task to Gemini and return a research-backed response. Gemini is always instructed to perform web research via Google Search, making this ideal for deep-research tasks that benefit from up-to-date internet information.

How to Use

Do not pass free-form user text to the shell unquoted. The question or task may contain spaces or shell metacharacters such as `(`, `)`, `;`, `#`, `*`, or `[`.

If the user only supplied a question or task, execute:

"${CLAUDE_PLUGIN_ROOT}/scripts/ask-gemini.sh" "$ARGUMENTS"

If the user supplied flags such as `--gemini-model` or `--gemini-timeout`, reconstruct the command so those flags remain separate shell arguments and the remaining free-form question is passed as one quoted final argument.

Example:

"${CLAUDE_PLUGIN_ROOT}/scripts/ask-gemini.sh" --gemini-model gemini-2.5-pro "What are the latest Rust async runtime benchmarks?"

Never run this unsafe form:

"${CLAUDE_PLUGIN_ROOT}/scripts/ask-gemini.sh" $ARGUMENTS

because the shell will re-parse the question text and can fail before `ask-gemini.sh` starts.

Interpreting Output

  • The script outputs Gemini's response to **stdout** and status info to **stderr**
  • Read the stdout output carefully and incorporate Gemini's response into your answer
  • Gemini's responses are research-backed with web sources; relay source citations when available
  • If the script exits with a non-zero code, report the error to the user

Error Handling

| Exit Code | Meaning | |-----------|---------| | 0 | Success - Gemini response is in stdout | | 1 | Validation error (missing gemini, empty question, invalid flags) | | 124 | Timeout - suggest using `--gemini-timeout` with a larger value | | Other | Gemini process error - report the exit code and any stderr output |

Notes

  • The response is saved to `.humanize/skill/<timestamp>/output.md` for reference
  • Default model is `gemini-3.1-pro-preview` with a 3600-second timeout
  • Gemini is always instructed to perform Google Search for up-to-date information
Read more
@polyarch
Ships withhumanize

Derived from the GAAC (GitHub-as-a-Context) project. A Claude Code plugin that provides iterative development with independent AI review. Build with confidence through continuous feedback loops.

Stars on GitHub

Momentum

stars in total
1.6k
Star history of PolyArch/humanize on GitHub, a chart by star-history.com

Other skills on humanize.

ask-codex
Auto-invoked

ask-codex

Consult Codex as an independent expert. Sends a question or task to codex exec and returns the response.

@polyarch@polyarchInstall Skill
humanize-gen-plan
Auto-invoked

humanize-gen-plan

Generate a structured implementation plan from a draft document. Validates input, checks relevance, analyzes for issues, and…

@polyarch@polyarchInstall Skill
humanize-refine-plan
Auto-invoked

humanize-refine-plan

Refine an annotated implementation plan into a comment-free plan and a QA ledger while preserving the gen-plan schema.

@polyarch@polyarchInstall Skill
humanize
Auto-invoked

humanize

Iterative development with AI review. Provides RLCR (Ralph-Loop with Codex Review) for implementation planning and code review…

@polyarch@polyarchInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills12d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about ask-gemini.

Which coding agents can use ask-gemini?
ask-gemini installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.