Skip to content
Back to skills

Relay Gemini

ASecurity

Relay questions and tasks to a persistent local Gemini ACP session with cross-turn context.

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 29, 2026
ai-agentsgobash

Works with

  • cli

Security analysis

A100/100

Scanned May 29, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Relay Gemini?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Relay Gemini
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yeaight7-relay-gemini/badge)](https://www.skillsdirectory.com/skills/yeaight7-relay-gemini)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: relay-gemini
description: Relay questions and tasks to a persistent local Gemini ACP session with cross-turn context.
---

# relay-gemini

Relay tasks to a persistent local Gemini ACP session. Gemini relay uses ACP and keeps cross-turn context across turns — use it when you need an ongoing advisory session, not a one-shot question.

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

Requires:
- Local Gemini CLI (`gemini`)

## When to Use Relay vs Ask

| 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 (resume days later) | `relay init` + `relay ask` with context.md |

## Workflow

```bash
# Start a named session (keeps running between asks)
apx relay start <name> --provider gemini

# Ask follow-up questions in the same session
apx relay ask <name> "<prompt>"

# Check session health
apx relay status <name>

# Stop when done
apx relay stop <name>
```

## Context Seeding

Initialise a session directory with a context file before starting:

```bash
apx relay init <name>
# Edit .apx/relay/<name>/context.md with repo background, goals, constraints
apx relay start <name> --provider gemini
apx relay ask <name> "Based on the context above, review this plan: ..."
```

## Artifacts

Each `relay ask` turn writes an artifact to `.apx/relay/<name>/gemini-turn-N-<slug>-<timestamp>.md`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…