Agent skill

Codex Debate

by srid in srid/emanote

Run an automated codex⇄Claude debate to consensus — no round cap, no deadlock exit.

Custom licenceAuto-check passedAgent Workflows

Install Codex Debate

skills CLI
$ npx skills add srid/emanote --skill codex-debate -a claude-code

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

GitHub CLI
$ gh skill install srid/emanote codex-debate --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/srid/emanote.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/codex-debate .claude/skills/codex-debate && 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-debate
GitHub stars
963
Token cost
~8.9k tokens
SKILL.md length
4,788 words
Files
8 (incl. scripts)
Skills in repo
25
Repo updated
First seen
Licence
Custom licence

At a glance

Run an automated codex⇄Claude debate to consensus — no round cap, no deadlock exit.

  • Works in 3 steps: Resolve context → Run the debate Workflow → Present the result
  • The user types /codex-debate
  • SKILL.md covers Mode detection (do this first), Why this shape, Arguments and Steps, plus 4 more sections
  • Runs Shell and JavaScript scripts from its folder; calls codex, git and gh

What it does

Codex Debate is an agent skill from srid/emanote. Run an automated codex⇄Claude debate to consensus — no round cap, no deadlock exit. Two explicit subcommands. review (also the bare/back-compat default) — codex (reviewer) critiques the current diff and a Claude subagent (author) fixes/disputes, looping until they agree. answer — Claude and codex each answer a freeform prompt in parallel, then cross-check until they agree, and a unified answer is returned. Use when the user types /codex-debate, asks to "have codex review this", "run the codex debate", "review…

Its SKILL.md is about 8.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including scripts (for example `answer.workflow.js`, `debate.workflow.js` and `scripts/codex-answer.schema.json`).

It sits in Agent Workflows, covering Subagents. The repository describes itself as: Emanate a structured view of your plain-text notes.

When your agent uses it

  • The user types /codex-debate
  • Asks to have codex review this
  • Run the codex debate
  • Review this PR with codex

Example prompts

  • “have codex review this”
  • “run the codex debate”
  • “review this PR with codex”
  • “/codex-debate”

Requirements

  • Node.js
  • A Bash shell

Workflow steps

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

  1. Resolve context
  2. Run the debate Workflow
  3. Present the result

What it can do on your machine

Read from SKILL.md and the folder at commit 9d01037. 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

    Ships 5 files in scripts/ (Shell and JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • codex
    • git
    • gh
    • claude
    • just

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

  • Network

    No URLs in SKILL.md. Its commands use git and gh, 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 no API keys, tokens, secrets or passwords.

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

Context cost

Codex Debate loads about 8.9k tokens when it runs. Until then it costs about 169 tokens; SKILL.md has 4,788 words of instructions outside code blocks.

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

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); the scripts in this folder are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 4,788 words (~8,910 tokens).

“This skill runs an automated debate between codex and Claude that loops to consensus with no round cap and no deadlock exit. It has two modes, selected by an explicit leading subcommand — never by guessing from the argument's shape:”

— opening of SKILL.md by srid, Custom licence
name
codex-debate
argument-hint
review [<pr-number>] [--base <branch>] [--no-commit] [--no-comment] [--rationale <note>] [--context <note>] | answer "<prompt>"

Read the full SKILL.md on GitHub

Files

SKILL.md and 7 other files (scripts) in .agents/skills/codex-debate of srid/emanote.

  • SKILL.md
  • answer.workflow.js
  • debate.workflow.js
  • scripts/codex-answer.schema.json
  • scripts/codex-answer.sh
  • scripts/codex-exec-lib.sh
  • scripts/codex-review.sh
  • scripts/codex-verdict.schema.json

Open the folder on GitHubat commit 9d01037

Compare with similar skills

Codex Debate 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.

Codex Debate compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Codex Debate this skillsrid/emanote963—~8.9kAutomated safety check: PassCustom licence
Claude Code Agent Developmentanthropics/claude-plugins-official37k8 repos~2.8kAutomated safety check: PassApache-2.0
Subagent Driven DevelopmentAsvarox/allkaraoke26137 repos~1.2kAutomated safety check: PassNone
Dispatching Parallel Agentsultralisp/ultralisp25840 repos~1.5kAutomated safety check: PassNone
Paseo Advisor Second Opiniongetpaseo/paseo20k1 repos~756Automated safety check: PassCustom licence
Task Observerrebelytics/one-skill-to-rule-them-all3.2k1 repos~12kAutomated safety check: PassCC-BY-4.0

Similar skills

  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    37k GitHub starsUsed in 8 repos~2.8k tokens
    Agent WorkflowsAuto-check passed
  • Subagent Driven Development

    Asvarox/allkaraoke

    A skill your agent uses when executing implementation plans with independent tasks in the current session

    261 GitHub starsUsed in 37 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • Dispatching Parallel Agents

    ultralisp/ultralisp

    A skill your agent uses when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies

    258 GitHub starsUsed in 40 repos~1.5k tokens
    Agent WorkflowsAuto-check passed
  • Launches one separate agent through Paseo to give a second opinion on the current task, with a self-contained briefing and no permission to edit files.

    20k GitHub starsUsed in 1 repo~756 tokens
    Agent WorkflowsAuto-check passed
  • Task Observer

    rebelytics/one-skill-to-rule-them-all

    Monitors task execution for skill improvement opportunities.

    3.2k GitHub starsUsed in 1 repo~12k tokens
    Agent WorkflowsAuto-check passed
  • O2 Review Loop

    openobserve/openobserve

    Splits a change into planner, coder and independent reviewer roles: you confirm a spec, a subagent implements it, and a separate reviewer checks each round's local WIP commit.

    22k GitHub stars~3.7k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from srid/emanote

All 25 skills in this repo
  • Do

    srid/emanote

    Do a task end-to-end — implement, PR, CI loop, ship. An agent skill from srid/emanote.

    963 GitHub stars~12k tokensUpdated 2 mo ago
    Auto-check passed
  • Be Review

    srid/emanote

    Run /be's review gauntlet SERIALLY — /lens-debate (lowy ⇄ hickey), then /codex-debate, then /simplify, then code-police, each editing and committing on the live branch in turn.

    963 GitHub stars~4.2k tokensUpdated 2 mo ago
    Auto-check passed
  • CI

    srid/emanote

    Reference for the odu runner — how to invoke a full pipeline, a single recipe, or a platform-pinned node, and how to attach to a live run, from a project whose CI odu runs.

    963 GitHub stars~2.4k tokensUpdated 2 mo ago
    Auto-check passed
  • Forge PR

    srid/emanote

    Write engaging PR titles and descriptions for any forge (GitHub today; Bitbucket planned).

    963 GitHub stars~2.6k tokensUpdated 2 mo ago
    Auto-check passed
  • Kolu

    srid/emanote

    Drive one AI agent from another through kolu's terminals: spawn a Claude Code / Codex / opencode session in a PTY, prompt it, watch the screen for its reply, read it, and prompt again — a…

    963 GitHub stars~2.4k tokensUpdated 2 mo ago
    Auto-check passed
  • Lens Debate

    srid/emanote

    Run a structural-review debate between two lenses — lowy (volatility-based decomposition) and hickey (structural simplicity) — on the current diff.

    963 GitHub stars~3.7k tokensUpdated 2 mo ago
    Auto-check passed

Categories

Questions about Codex Debate

What does Codex Debate do?

Run an automated codex⇄Claude debate to consensus — no round cap, no deadlock exit. Codex Debate is an agent skill from srid/emanote. Run an automated codex⇄Claude debate to consensus — no round cap, no deadlock exit.

When should I use Codex Debate?

Codex Debate fits situations like: the user types /codex-debate; asks to have codex review this; run the codex debate; review this PR with codex.

How do I install Codex Debate in Claude Code?

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

How do I install Codex Debate in Codex?

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

Can I use Codex Debate 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 srid/emanote --skill codex-debate -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-debate, .gemini/skills/codex-debate, .github/skills/codex-debate and .opencode/skills/codex-debate in your project.

What does Codex Debate need to run?

Going by SKILL.md and its folder, Codex Debate needs a shell and JavaScript for the scripts in its folder and the command-line tools its instructions call (codex, git, gh, claude and just). Our summary lists: Node.js; A Bash shell.

Does Codex Debate access the network?

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

Is Codex Debate 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Codex Debate use?

Codex Debate has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Codex Debate use?

About 8.9k tokens (SKILL.md is roughly 36k 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 Codex Debate?

Skills that share tags, products or a category with Codex Debate: Claude Code Agent Development (anthropics/claude-plugins-official, 37k stars), Subagent Driven Development (Asvarox/allkaraoke, 261 stars), Dispatching Parallel Agents (ultralisp/ultralisp, 258 stars) and Paseo Advisor Second Opinion (getpaseo/paseo, 20k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Codex Debate?

srid (a GitHub user) maintains it in srid/emanote, which has 963 GitHub stars. The repository holds 25 skills in this directory. The repository was last updated on July 26, 2026.

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