Skip to content
Development
Agent

openai-compat

The agent Markdown format in this repository is compatible with OpenAI/Codex-style agents with minimal changes. The primary difference is the `model` value in the YAML frontmatter.

From plugin
aiwg
176199 skills199 agents23 commands
Install
$ npx -y skills add jmagly/aiwg --agent claude-code

How it fires

How this agent 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.

Context preview

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

The agent Markdown format in this repository is compatible with OpenAI/Codex-style agents with minimal changes. The primary difference is the `model` value in the YAML frontmatter.

Agent definition

openai-compat.md

OpenAI/Codex Agent Compatibility

Overview

The agent Markdown format in this repository is compatible with OpenAI/Codex-style agents with minimal changes. The primary difference is the `model` value in the YAML frontmatter.

Models

  • Defaults (Claude):
  • reasoning: `opus`
  • coding: `sonnet`
  • efficiency: `sonnet`
  • Defaults (OpenAI/Codex):
  • reasoning: `gpt-5.4`
  • coding: `gpt-5.5`
  • efficiency: `gpt-5.4-mini`

Use the CLI to deploy agents for your target provider while overriding model names if needed:

# Claude
aiwg -deploy-agents --provider claude

# OpenAI/Codex (writes to .codex/agents)
aiwg -deploy-agents --provider openai

# Aggregate into a single AGENTS.md for Codex
aiwg -deploy-agents --provider openai --as-agents-md

# Custom model mapping (example)
aiwg -deploy-agents --provider openai \
  --reasoning-model gpt-5.4 \
  --coding-model gpt-5.5 \
  --efficiency-model gpt-5.4-mini

Paths

  • Claude: `.claude/agents/*.md`
  • OpenAI/Codex: `.codex/agents/*.md`

For more details on Codex sub-agents and mechanics, see: <https://codexlog.io/mechanics/agents/sub-agents.html>

Ships withaiwg

Multi-agent AI framework for Claude Code, Copilot, Cursor, Warp, and 6 more platforms 200+ agents, 109+ CLI commands, 400+ deployable agent/skill/command/rule artifacts, 8 core frameworks, 32 addons, and a 40-plugin Claude Code marketplace.

Get the whole plugin