Skip to content
Development
Skill

/ask-gemini

Use when a Codex or generic local agent needs a focused second opinion from Gemini CLI without MCP routing.

From plugin
agent-powerups
8114 skills46 agents54 commands

Claude Code

$ npx -y skills add yeaight7/agent-powerups --skill ask-gemini --agent claude-code

SKILL.md

ask-gemini.SKILL.md
name: ask-gemini
description: Use when a Codex or generic local agent needs a focused second opinion from Gemini CLI without MCP routing.

Ask Gemini

Purpose

Use local Gemini CLI as an external advisor for brainstorming, design feedback, or focused reviews. The workflow is local-first and always leaves a Markdown artifact.

When to Use

  • Need a Gemini second opinion from Codex App or another shell-capable agent.
  • Want reviewable output from `gemini -p` saved for later.
  • Do not use when Gemini CLI is missing or unauthenticated.
  • Do not use as an MCP fallback.

**For multi-turn advisory sessions** (persistent context across follow-ups), use `relay-gemini` instead — `apx relay start <name> --provider gemini` keeps context across turns.

Inputs

  • A specific prompt or task.
  • Local `gemini` command available in PATH.
  • Optional artifact directory.

Workflow

Run through APX:

apx ask-gemini "Brainstorm edge cases for this CLI"

Equivalent nested APX and direct CLI calls:

apx ask gemini "Brainstorm edge cases for this CLI"
gemini -p "Brainstorm edge cases for this CLI"

If `gemini` is missing, stop and ask the user to install/configure Gemini CLI. Verify with:

gemini --version

Output

APX writes:

.apx/artifacts/gemini-<slug>-<timestamp>.md

Artifact sections:

  • Original user task
  • Final prompt sent to Gemini CLI
  • Gemini output (raw)
  • Concise summary
  • Action items / next steps

Verification

apx check ask-gemini
apx ask-gemini "Return OK only" --json

Confirm JSON includes `provider`, `artifactPath`, `promptLength`, and raw output in `stdout`. Open the artifact before applying advice.

Failure Modes

  • **Missing CLI**: do not use MCP; ask user to install/configure `gemini`.
  • **Auth failure**: keep artifact if APX created one, report CLI stderr.
  • **Broad prompt**: narrow the question before running to avoid noisy advice.
Read more
@yeaight7
Ships withagent-powerups

Curated power-ups for coding agents: skills, slash commands, MCP configs, hooks, AGENTS.md templates, and workflows for serious software engineering. Claude Code, Codex, Antigravity CLI, Cursor and more

8114 skills46 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
8
Star history of yeaight7/agent-powerups on GitHub, a chart by star-history.com

Other skills on agent-powerups.

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.

skills13d309k
@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,…

ecc2w293k
@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…

react4d252k
@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.