RestartFU

Codex Opussy — AI skill for Claude Code

AI community

Claude Code skill: run subagents on OpenAI Codex (GPT-6.1-Sol by default) instead of Claude, with light sanity-checking.

How to install Codex Opussy

This entry records only its repository, not the path inside it, so there is no exact command to give. Open RestartFU/codex-opussy and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Codex Opussy does

Claude Code skill: run subagents on OpenAI Codex (GPT-6.1-Sol by default) instead of Claude, with light sanity-checking.

Alternatives in AI

  • CLI 代理 API — English 中文 一个为 CLI 提供 OpenAI/Gemini/Claude/Codex 兼容 API 接口的代理服务器 19k ★
  • WindsurfAPI — Turn Windsurf / Devin Desktop's 100+ AI models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, SWE) into OpenAI-, A 3k ★
  • Azure OpenAI .net — GPT-4, embeddings, DALL-E, and Whisper client 1.8k ★

README

codex-opussy

A [Claude Code](https://claude.com/claude-code) skill that makes Claude run its subagents on **OpenAI Codex** instead of Claude. By default the agents use **GPT-6.1-Sol**, and the model is configurable.

Claude still decides *when* to delegate, exactly as it would have. This skill only changes *who* does the work. Codex agents can be less reliable than Claude Opus subagents, so Claude does a short sanity check on each report before acting on it. It reads the report for coherence and spot-checks the one to three claims that matter. It does not redo the agent's work.

How it works

  • SKILL.md: tells Claude to send every would-be Agent call to Codex, how to write a zero-context brief, how to map Agent types to sandbox and effort flags, how much checking to do, and when to fall back to Claude.
  • bin/codex-agent: a wrapper around codex exec. It runs one headless Codex agent and prints only its final report, followed by a one-line footer with status, time and log path. The full transcript goes to ~/.local/state/codex-opussy/runs/, so it stays out of Claude's context. It works with background and parallel Bash calls.
  • hooks/guard-agent.py (optional): a PreToolUse hook on Agent that denies Claude-subagent calls and points Claude to codex-agent, so the rule is enforced and not just suggested. Claude can bypass it on purpose with a [claude-subagent] marker when Codex fails or the task needs Claude-only tools (MCP, browser and so on).

Install

Requires the `codex` CLI (logged in), `git` and `python3`.

curl -fsSL https://raw.githubusercontent.com/RestartFU/codex-opussy/master/install.sh | bash
# or, skill only without the enforcement hook:
curl -fsSL https://raw.githubusercontent.com/RestartFU/codex-opussy/master/install.sh | bash -s -- --no-hook

This clones the repo to `~/.claude/skills/codex-opussy` and, unless you pass `--no-hook`, adds the hook to `~/.claude/settings.json`. Start a new Claude Code session