Skip to content
Development
Skill

/relay-codex

Use when another local agent needs a one-shot Codex CLI answer and interactive behavior is acceptable or controlled.

From plugin
agent-powerups
8114 skills46 agents54 commands

Claude Code

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

SKILL.md

relay-codex.SKILL.md
name: relay-codex
description: Use when another local agent needs a one-shot Codex CLI answer and interactive behavior is acceptable or controlled.

Purpose

Send a bounded prompt to the local Codex CLI through Agent Powerups relay when Codex is useful as an external reviewer or implementation advisor.

Compatible with: `claude-code`, `gemini-cli`, `generic`

Requires:

  • Local Codex CLI (`codex`)

When to Use

  • You want Codex to review a plan, diff, or small implementation question.
  • A one-shot answer is enough and persistent context is not needed.
  • The user has explicitly accepted local Codex CLI use.

Do not use when an interactive TUI would block automation. Check local Codex behavior first.

Inputs

  • Relay session name
  • Focused prompt with repo context, files, constraints, and output format
  • Optional note about whether Codex may suggest edits or only review

Workflow

1. Verify the CLI is available and note whether it opens an interactive UI:

codex --version

2. Start a Codex relay session:

apx relay start <name> --provider codex

3. Send one focused prompt:

apx relay ask <name> "<prompt>"

4. Read the relay artifact and verify claims locally before acting. 5. Stop the session unless it is deliberately needed:

apx relay stop <name>

Output

  • A relay artifact containing Codex's response
  • A decision on whether the response is accepted, rejected, or needs another review
  • Follow-up prompts only when they add new evidence

Verification

  • [ ] `codex --version` worked or missing CLI was reported.
  • [ ] Prompt stated whether the task was review-only or implementation advice.
  • [ ] Output artifact was read and checked against source files.
  • [ ] Any suggested command or edit was independently verified.
  • [ ] Session lifecycle was handled explicitly.

Failure Modes

  • Assuming non-interactive behavior across Codex versions.
  • Using unsafe automation flags as a default.
  • Asking broad implementation questions with no file scope.
  • Treating Codex output as approval to skip local tests.
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.

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

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

react1d252k
@facebook@facebookInstall Skill

Questions about relay-codex.

Which coding agents can use relay-codex?
relay-codex 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.