Skip to content
Development
Skill

/relay-gemini

Use when a persistent local Gemini ACP session should keep context across multiple advisory turns.

From plugin
agent-powerups
6113 skills46 agents54 commands
Install
$ npx -y skills add yeaight7/agent-powerups --skill relay-gemini --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/relay-gemini

Context preview

The summary Claude sees to decide when to auto-load this skill.

Use when a persistent local Gemini ACP session should keep context across multiple advisory turns.

SKILL.md

relay-gemini.SKILL.md
name: relay-gemini
description: Use when a persistent local Gemini ACP session should keep context across multiple advisory turns.

Purpose

Use Gemini through Agent Powerups relay for multi-turn advisory work where context continuity matters more than one-shot speed.

Compatible with: `claude-code`, `codex`, `generic`

Requires:

  • Local Gemini CLI (`gemini`)

When to Use

| Situation | Use | | --- | --- | | Multi-turn review or advisory dialogue | `relay` - context persists across turns | | Long-running code review with follow-ups | `relay` - same session, same context | | Single focused question, no follow-up needed | `ask-gemini` - simpler, no daemon | | Quick brainstorm, one answer expected | `ask-gemini` - lighter weight | | Cross-session context | `relay init` + `relay ask` with context file |

Do not use relay when a single `ask-gemini` turn would be enough.

Inputs

  • Relay session name
  • Optional seeded context file
  • Focused question or review prompt
  • Stop condition for the advisory loop

Workflow

1. Verify Gemini is available:

gemini --version

2. Create a context file when the session needs durable background:

apx relay init <name>

3. Start the session:

apx relay start <name> --provider gemini

4. Ask follow-up questions in the same session:

apx relay ask <name> "<prompt>"

5. Check session health when a turn fails or times out:

apx relay status <name>

6. Stop the session when the advisory loop is complete:

apx relay stop <name>

Output

  • Per-turn artifacts under the relay session directory
  • A short decision log of accepted/rejected advice
  • Explicit follow-up prompts when additional context is needed

Verification

  • [ ] Gemini CLI was available or missing CLI was reported.
  • [ ] Persistent context was needed; otherwise `ask-gemini` was preferred.
  • [ ] Context file was reviewed before relying on it.
  • [ ] Each artifact was read before acting on the advice.
  • [ ] Session was stopped or intentionally left running.

Failure Modes

  • Using relay for cheap one-off questions.
  • Letting stale context steer later answers.
  • Forgetting to stop long-running relay sessions.
  • Treating Gemini advice as validated code review without checking source and tests.
Read more
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

Get the whole plugin

Other skills on agent-powerups.