Agent skill

OpenAI Codex CLI Bridge

by taracodlabs in taracodlabs/aiden

Delegates code generation, editing and explanation tasks to the OpenAI Codex CLI, with commands for interactive, auto-edit, question-only and model-specific runs.

Apache-2.0Auto-check passedAgent Workflows

Install OpenAI Codex CLI Bridge

skills CLI
$ npx skills add taracodlabs/aiden --skill codex -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install taracodlabs/aiden codex --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/taracodlabs/aiden.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/codex .claude/skills/codex && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
codex
GitHub stars
851
Used in
1 other repo
Token cost
~826 tokens
SKILL.md length
270 words
Files
2
Skills in repo
63
Repo updated
First seen
Licence
Apache-2.0

At a glance

Delegates code generation, editing and explanation tasks to the OpenAI Codex CLI, with commands for interactive, auto-edit, question-only and model-specific runs.

  • Works in 7 steps: Install Codex CLI → Run a coding task interactively → Non-interactive mode → …
  • Handing a coding task to an OpenAI model instead of the current agent
  • SKILL.md covers When to Use, How to Use, Examples and Cautions
  • Calls codex and npm; needs OPENAI_API_KEY

What it does

The skill treats Codex CLI as an agentic coding loop running GPT-4o with sandboxed code execution, useful when you want an OpenAI model, sandboxed execution, an alternative to Claude Code, or a comparison between providers. Setup is a global npm install of `@openai/codex` on Node.js 18 or newer. The skill then shows how to run a task in a project folder, run non-interactively with `--approval-mode auto-edit`, pick a model with `--model`, ask a question with `--question` so nothing is edited, generate a new module, and explain existing code.

Cautions apply. The `full-auto` approval mode applies every change without confirmation, so it should run on a clean Git branch, Codex bills against your OpenAI API key, and `OPENAI_API_KEY` must be set in the environment first. The examples are written for PowerShell on Windows.

When your agent uses it

  • Handing a coding task to an OpenAI model instead of the current agent
  • Comparing code generation between providers
  • Getting an explanation of existing code without modifying files

Example prompts

  • “Use the Codex CLI to add input validation to every form field in the React components.”
  • “Ask Codex in question mode what the middleware chain in src/app.ts does.”
  • “Have Codex generate a TypeScript GitHub API client and save it to src/github-client.ts.”

Requirements

  • Node.js 18 or newer
  • The OpenAI Codex CLI installed with npm
  • An OpenAI API key in OPENAI_API_KEY

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Install Codex CLI
  2. Run a coding task interactively
  3. Non-interactive mode
  4. Use a specific model
  5. Ask a coding question without editing files
  6. Generate code from scratch
  7. Explain existing code

What it can do on your machine

Read from SKILL.md and the folder at commit 3704204. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • codex
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • OPENAI_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

OpenAI Codex CLI Bridge loads about 826 tokens when it runs. Until then it costs about 12 tokens; SKILL.md has 270 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~12
When it runs · the whole SKILL.md, loaded when a task matches
~826

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from taracodlabs/aiden at commit 3704204, republished under its Apache-2.0 licence (© taracodlabs). 270 words, ~826 tokens.

Download SKILL.mdSave it as .claude/skills/codex/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
codex
description
Delegate coding tasks to OpenAI Codex CLI
category
agent-bridge
version
1.0.0
origin
aiden
license
Apache-2.0
tags
openai, codex, cli, code-generation, agent-bridge, gpt, automation, coding, delegation

OpenAI Codex CLI Agent Bridge

Delegate code generation, editing, and explanation tasks to the OpenAI Codex CLI. Codex CLI runs GPT-4o in an agentic coding loop with sandboxed code execution.

When to Use

  • User wants to generate code using OpenAI's GPT-4o model
  • Task requires code execution in a sandboxed environment
  • User wants an alternative to Claude Code using the OpenAI API
  • User wants to benchmark or compare code generation between providers
  • Task requires OpenAI-specific features or models

How to Use

1. Install Codex CLI
powershell
# Requires Node.js 18+
npm install -g @openai/codex

# Verify
codex --version

# Set API key
$env:OPENAI_API_KEY = "sk-..."
2. Run a coding task interactively
powershell
Set-Location "C:\Users\<you>\myproject"
codex "Add input validation to all form fields in the React components"
3. Non-interactive mode
powershell
# Auto-approve all edits (use with caution)
codex --approval-mode auto-edit "Add JSDoc comments to all exported functions in src/"

# Full auto mode (applies changes without confirmation)
codex --approval-mode full-auto "Fix all ESLint errors in the project"
4. Use a specific model
powershell
# Use GPT-4o (default)
codex --model gpt-4o "Optimize the database query in src/db.js"

# Use GPT-4o-mini for faster, cheaper tasks
codex --model gpt-4o-mini "Add error handling to the fetch calls"
5. Ask a coding question without editing files
powershell
# Question mode — returns explanation only
codex --question "What does the middleware chain in src/app.ts do?"
6. Generate code from scratch
powershell
# Create a new file/module
codex "Create a TypeScript utility module with functions for:
- Formatting currency (Indian Rupee)
- Parsing date strings to Date objects
- Debouncing function calls
Save to src/utils/format.ts"
7. Explain existing code
powershell
codex "Explain what the agentLoop.ts file does, focusing on the tool execution flow"

Examples

"Generate a REST API client for the GitHub API in TypeScript" → Use step 6: codex "Create a TypeScript GitHub API client with methods for: list repos, create issue, get PR. Save to src/github-client.ts".

"Fix all TypeScript compilation errors in the project" → Use step 3 with --approval-mode auto-edit after reviewing what changes will be made.

"Explain how the authentication middleware works" → Use step 5 or 7 in question mode — returns an explanation without modifying files.

Cautions

  • --approval-mode full-auto applies all changes without confirmation — always run on a clean git branch
  • Codex CLI bills against your OpenAI API key — monitor usage at platform.openai.com/usage
  • OPENAI_API_KEY must be set in the environment before running any commands
  • Codex executes code in a sandbox but may read any files in the current directory — scope to the right project folder
  • For very large codebases, provide a focused scope (specific file or module) rather than asking it to scan the entire project

© taracodlabs, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/codex of taracodlabs/aiden.

  • SKILL.md
  • skill.json

Open the folder on GitHubat commit 3704204

Used in 1 other repository

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in taracodlabs/aiden, which our catalogue first saw on October 7, 2026.

Compare with similar skills

OpenAI Codex CLI Bridge next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

OpenAI Codex CLI Bridge compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
OpenAI Codex CLI Bridge this skilltaracodlabs/aiden8511 repos~826Automated safety check: PassApache-2.0
Codex CLIkortix-ai/suna20k—~1.6kAutomated safety check: PassCustom licence
WebGPTNhahan/WebGPT117—~1.4kAutomated safety check: PassMIT
Skill Base CLIginuim/skill-base1201 repos~1.9kAutomated safety check: PassNone
Codex Workflowsscasella/claude-dynamic-workflows-codex324—~13kAutomated safety check: PassMIT
Fusion Setupmihneaptu/opencode-fusion217—~7.5kAutomated safety check: PassMIT

Similar skills

  • Codex CLI

    kortix-ai/suna

    Drive OpenAI's Codex CLI (codex exec) as a non-interactive coding sub-agent from inside Claude Code.

    20k GitHub stars~1.6k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • WebGPT

    Nhahan/WebGPT

    Hands bounded tasks from Codex to a signed-in ChatGPT web session at a chosen reasoning level, or opens a terminal chat in your project that you control.

    117 GitHub stars~1.4k tokensUpdated 15 days ago
    Agent WorkflowsAuto-check passed
  • Skill Base CLI

    ginuim/skill-base

    Uses the skb command to search, install, update, delete, publish and import skills on a Skill Base site, including curated collections and GitHub imports.

    120 GitHub starsUsed in 1 repo~1.9k tokens
    Agent WorkflowsAuto-check passed
  • Codex Workflows

    scasella/claude-dynamic-workflows-codex

    Run a dynamic-workflow script on a local Codex App Server — orchestrate many Codex / GPT agents (the agent / parallel / pipeline / phase / budget DSL) instead of Claude subagents, for codebase…

    324 GitHub stars~13k tokensUpdated 2 mo ago
    Agent WorkflowsAuto-check passed
  • Fusion Setup

    mihneaptu/opencode-fusion

    A skill your agent uses when a user wants to set up, configure, install, or reconfigure the opencode Fusion agent team - a strong main/build agent that plans and reviews but cannot edit files…

    217 GitHub stars~7.5k tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • Vinkius Deploy

    vinkius-labs/mcpfusion

    How to deploy MCP servers to Vinkius Edge using mcpfusion deploy.

    256 GitHub stars~1.7k tokensUpdated 17 days ago
    Agent WorkflowsAuto-check: notes

More from taracodlabs/aiden

All 63 skills in this repo
  • Google Flights Search

    taracodlabs/aiden

    Searches Google Flights for prices, schedules and availability through browser automation with URL-based queries, and stops short of booking.

    851 GitHub stars~1.5k tokensUpdated 24 days ago
    Auto-check passed
  • Google Hotels Search

    taracodlabs/aiden

    Searches Google Hotels through the agent-browser tool for prices, ratings, amenities and availability, building a search URL from the location and dates and reporting a results table.

    851 GitHub stars~1.5k tokensUpdated 24 days ago
    Auto-check passed
  • Generates dark-themed architecture, component, data-flow and network diagrams as self-contained HTML and SVG files that open in any browser.

    851 GitHub stars~1.3k tokensUpdated 24 days ago
    Auto-check passed
  • Aggregates holdings across Zerodha, Upstox and Angel One and normalizes order parameters into one format, with confirmation required before any routing.

    851 GitHub stars~1.1k tokensUpdated 24 days ago
    Auto-check passed
  • arXiv Paper Search

    taracodlabs/aiden

    Searches arXiv by keyword, category, author or paper ID through its public API and downloads PDFs, with no API key needed.

    851 GitHub stars~1k tokensUpdated 24 days ago
    Auto-check passed
  • ASCII Art Banners

    taracodlabs/aiden

    Produces ASCII text banners, cowsay-style speech bubbles and bordered boxes for terminal scripts, READMEs and CLI splash screens with pyfiglet, cowsay and boxes.

    851 GitHub stars~985 tokensUpdated 24 days ago
    Auto-check passed

Questions about OpenAI Codex CLI Bridge

What does OpenAI Codex CLI Bridge do?

Delegates code generation, editing and explanation tasks to the OpenAI Codex CLI, with commands for interactive, auto-edit, question-only and model-specific runs. The skill treats Codex CLI as an agentic coding loop running GPT-4o with sandboxed code execution, useful when you want an OpenAI model, sandboxed execution, an alternative to Claude Code, or a comparison between providers.js 18 or newer.

When should I use OpenAI Codex CLI Bridge?

OpenAI Codex CLI Bridge fits situations like: handing a coding task to an OpenAI model instead of the current agent; comparing code generation between providers; getting an explanation of existing code without modifying files.

How do I install OpenAI Codex CLI Bridge in Claude Code?

Run `npx skills add taracodlabs/aiden --skill codex -a claude-code`. Or copy the skill folder (skills/codex in taracodlabs/aiden) into .claude/skills/codex in your project. Claude Code loads it when a task matches its description.

How do I install OpenAI Codex CLI Bridge in Codex?

Run `npx skills add taracodlabs/aiden --skill codex -a codex`. Or copy the skill folder (skills/codex in taracodlabs/aiden) into .agents/skills/codex in your project. Codex loads it when a task matches its description.

Can I use OpenAI Codex CLI Bridge in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add taracodlabs/aiden --skill codex -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codex, .gemini/skills/codex, .github/skills/codex and .opencode/skills/codex in your project.

What does OpenAI Codex CLI Bridge need to run?

Going by SKILL.md and its folder, OpenAI Codex CLI Bridge needs the command-line tools its instructions call (codex and npm) and credentials named OPENAI_API_KEY. Our summary lists: Node.js 18 or newer; The OpenAI Codex CLI installed with npm; An OpenAI API key in OPENAI_API_KEY.

Does OpenAI Codex CLI Bridge access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is OpenAI Codex CLI Bridge safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does OpenAI Codex CLI Bridge use?

OpenAI Codex CLI Bridge is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does OpenAI Codex CLI Bridge use?

About 826 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to OpenAI Codex CLI Bridge?

Skills that share tags, products or a category with OpenAI Codex CLI Bridge: Codex CLI (kortix-ai/suna, 20k stars), WebGPT (Nhahan/WebGPT, 117 stars), Skill Base CLI (ginuim/skill-base, 120 stars) and Codex Workflows (scasella/claude-dynamic-workflows-codex, 324 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains OpenAI Codex CLI Bridge?

taracodlabs (a GitHub organization) maintains it in taracodlabs/aiden, which has 851 GitHub stars. The repository holds 63 skills in this directory. The repository was last updated on September 13, 2026.

Source: taracodlabs/aiden on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.