collaborating-with-ant…
Delegate tasks to Google's Antigravity CLI (agy) for prototyping, debugging, code review, and research. Supports multi-turn sessions via SESSION_ID. Successor…
Delegate tasks to Codex CLI for prototyping, debugging, code review, implementation handoff, cross-model second opinions, and multi-turn Codex sessions via SESSION_ID.
$ npx -y skills add appautomaton/agent-designer --skill collaborating-with-codex --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/collaborating-with-codexContext preview
The summary Claude sees to decide when to auto-load this skill.
Delegate tasks to Codex CLI for prototyping, debugging, code review, implementation handoff, cross-model second opinions, and multi-turn Codex sessions via SESSION_ID.
name: collaborating-with-codex description: Delegate tasks to Codex CLI for prototyping, debugging, code review, implementation handoff, cross-model second opinions, and multi-turn Codex sessions via SESSION_ID. metadata: short-description: Delegate to Codex CLI
Use Codex CLI as an independent collaborator while the primary agent remains responsible for verification, synthesis, and final user-facing decisions.
The bridge script (`scripts/codex_bridge.py`) wraps `codex exec` in JSON mode, streams progress to stderr, returns structured JSON, and manages multi-turn continuity via `SESSION_ID`.
Commands below write `<skill_dir>` for the absolute path of the directory containing this SKILL.md. Your harness usually reports that path when it loads the skill. If it does not, use this SKILL.md's own location. Substitute it before running, for example `~/.claude/skills/collaborating-with-codex`.
In Claude Code, run bridge calls in the background by default for non-trivial tasks:
Bash tool call: command: python3 <skill_dir>/scripts/codex_bridge.py --cd "/project" --PROMPT "Analyze auth flow in src/auth/" run_in_background: true
`run_in_background` is a host tool parameter, not a shell argument. Use the host's task-output view to monitor timestamped stderr progress, commands Codex ran, response previews, stalls, and completion.
Default to read-only delegation:
Do not hand secrets, private keys, production data, or irreversible operations to Codex.
On a new host, probe sandbox support once with `codex sandbox -- true` (exit 0 means healthy). If sandboxed commands all fail with exit 182, the host kernel cannot enforce Codex's sandbox (common under containers, PRoot, and older WSL); the bridge warns when it sees this signature. On such hosts, delegate only from an externally sandboxed environment using `--sandbox danger-full-access` with explicit user consent.
`codex exec` is non-interactive: nothing can be approved mid-run. Actions that would prompt simply fail and the failure is returned to the model. Every authority decision is made up front by the primary agent through `--sandbox`, `--add-dir`, `--search`, and `--network` — get user consent before granting anything beyond read-only. `-a on-request` and `-a untrusted` therefore add nothing in bridge calls; use `-a never` or omit the flag.
Codex has two separate network paths:
Everything above governs the child Codex. The **host** agent's own permission layer gates the `python3 … codex_bridge.py` Bash call first — and under classifier-gated auto-approval (Claude Code `auto`/`dontAsk`, Codex non-interactive runs), a long-running script that spawns another agent over the codebase pattern-matches "high-risk" and can be **denied silently**: the delegation never starts. A host permission error instead of bridge JSON means the host blocked the bridge, not that Codex failed.
Backticks in prompts trigger shell command substitution. Use a single-quoted heredoc; see `references/shell-quoting.md`.
PROMPT="$(cat <<'EOF' Review src/auth.py around login() and propose fixes. OUTPUT: Unified Diff Patch ONLY. EOF )" python3 <skill_dir>/scripts/codex_bridge.py \ --cd "." \ --PROMPT "$PROMPT"
For large or generated handoffs, write the prompt under `/tmp` and avoid argv and shell-quoting limits:
python3 <skill_dir>/scripts/codex_bridge.py \ --cd "." \ --prompt-file /tmp/codex-prompt.md
Typical response:
{
"success": true,
"SESSION_ID": "019...",
"agent_messages": "Findings...",
"commands_ran": 2
}For long-running calls, run the command in the host's background-command mode when available, then monitor stderr progress and the final JSON result.
Capture `SESSION_ID` from the first response and
A catalog of installable skills for AI coding agents: Claude Code, Codex, Antigravity, and Grok. Structured, reusable skills that give your agents clear workflows, safe defaults, and multi-turn collaboration capabilities.
Delegate tasks to Google's Antigravity CLI (agy) for prototyping, debugging, code review, and research. Supports multi-turn sessions via SESSION_ID. Successor…
Delegate tasks to Claude Code CLI for prototyping, debugging, and code review. Supports multi-turn sessions via SESSION_ID.
Delegate tasks to Grok CLI (xAI) for prototyping, debugging, code review, research, and cross-model second opinions. Supports multi-turn sessions via…
Turn a large task into a persistent plan file and a trackable Issue CSV (local files, not an external issue tracker), then execute the issues autonomously with…