collaborating-with-codex

collaborating-with-codex is a skill for Codex from haoyu-haoyu/Multi-AI-Workflow. It costs 48 tokens per session (649 once invoked), scanned B, a copy of collaborating-with-codex, MIT.

A bridge that sends coding tasks to the Codex command-line tool, an AI coding assistant that works from a terminal.

In plain words
What is it for?
Use it to prototype algorithms, analyze bugs, review code, choose a project directory and sandbox level, and resume an earlier Codex session.
Why use it?
It lets Codex help with implementation, debugging, and review while preserving a session for continued work.

Skill for Codex

Written for Codex: reads ~/.codex or $CODEX_HOME. Also seen: mentions Codex.

Good fit Use it to prototype algorithms, analyze bugs, review code, choose a project directory and sandbox level, and resume an earlier Codex session.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/haoyu-haoyu/multi-ai-workflow/collaborating-with-codex
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add haoyu-haoyu/Multi-AI-Workflow --skill collaborating-with-codex
Clone the repo
git clone --depth 1 https://github.com/haoyu-haoyu/Multi-AI-Workflow

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for collaborating-with-codex

README.md
[![agentmods](https://agentmods.dev/badge/skills/haoyu-haoyu/multi-ai-workflow/collaborating-with-codex/github.svg)](https://agentmods.dev/skills/haoyu-haoyu/multi-ai-workflow/collaborating-with-codex)
Your own site
<a href="https://agentmods.dev/skills/haoyu-haoyu/multi-ai-workflow/collaborating-with-codex"><img src="https://agentmods.dev/badge/skills/haoyu-haoyu/multi-ai-workflow/collaborating-with-codex/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for collaborating-with-codex

Your own site · 80×15
<a href="https://agentmods.dev/skills/haoyu-haoyu/multi-ai-workflow/collaborating-with-codex"><img src="https://agentmods.dev/badge/skills/haoyu-haoyu/multi-ai-workflow/collaborating-with-codex.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 649 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.00649
Opus 5 $0.00024 $0.00324
Sonnet 5 $0.00010 $0.00130
Haiku 4.5 $0.00005 $0.00065

Measured 10d ago against content hash af7914f744cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade B, and why

collaborating-with-codex scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/codex_bridge.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

--profile PROFILE Configuration profile name to load from `~/.codex/config.toml`. This parameter is strictly prohibited unless explicitly specified by the user.
Origin

This is a copy

100% identical to collaborating-with-codex — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.maw/skills/collaborating-with-codex/SKILL.md · 64 lines

How it starts

The opening of the file, as written. The whole thing — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Quick Start

python scripts/codex_bridge.py --cd "/path/to/project" --PROMPT "Your task"

Output: JSON with success, SESSION_ID, agent_messages, and optional error.

Parameters

usage: codex_bridge.py [-h] --PROMPT PROMPT --cd CD [--sandbox {read-only,workspace-write,danger-full-access}] [--SESSION_ID SESSION_ID] [--skip-git-repo-check]
                       [--return-all-messages] [--image IMAGE] [--model MODEL] [--yolo] [--profile PROFILE]

Codex Bridge

options:
  -h, --help            show this help message and exit
  --PROMPT PROMPT       Instruction for the task to send to codex.
  --cd CD               Set the workspace root for codex before executing the task.
  --sandbox {read-only,workspace-write,danger-full-access}
                        Sandbox policy for model-generated commands. Defaults to `read-only`.
  --SESSION_ID SESSION_ID
                        Resume the specified session of the codex. Defaults to `None`, start a new session.
  --skip-git-repo-check
                        Allow codex running outside a Git repository (useful for one-off directories).
  --return-all-messages
                        Return all messages (e.g. reasoning, tool calls, etc.) from the codex session. Set to `False` by default, only the agent's final reply message is
                        returned.
  --image IMAGE         Attach one or more image files to the initial prompt. Separate multiple paths with commas or repeat the flag.
  --model MODEL         The model to use for the codex session. This parameter is strictly prohibited unless explicitly specified by the user.
  --yolo                Run every command without approvals or sandboxing. Only use when `sandbox` couldn't be applied.
  --profile PROFILE     Configuration profile name to load from `~/.codex/config.toml`. This parameter is strictly prohibited unless explicitly specified by the user.

Multi-turn Sessions

Always capture SESSION_ID from the first response for follow-up:

Read the full file on GitHub · 64 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 64 lines · 48 tokens per session scan B af7914f744cb

Subscribe to this mod's changes

collaborating-with-codex is a skill published in the GitHub repository haoyu-haoyu/Multi-AI-Workflow (109 stars, last pushed 4mo ago), licensed MIT. It adds 48 tokens to every session and 649 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). It is 100% identical to collaborating-with-codex, differing in 0 lines, and is treated as a copy.