Skip to content

srid/emanote / .agents/skills/codex-debate

codex-debate

Verified

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 this PR with codex", "argue this with codex until you agree", or passes a question to "have Claude and codex debate/answer until they agree".

FileKindSize
SKILL.mdskill md35.0 KB
answer.workflow.jsscript24.5 KB
debate.workflow.jsscript43.1 KB
scripts/codex-answer.schema.jsonconfig1.9 KB
scripts/codex-answer.shexecutablescript12.6 KB
scripts/codex-exec-lib.shscript7.8 KB
scripts/codex-review.shexecutablescript12.6 KB
scripts/codex-verdict.schema.jsonconfig2.0 KB

scripts/codex-answer.schema.json

View on GitHub
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "answer": {
      "type": "string",
      "description": "Your complete, self-contained answer to the user's prompt as it stands THIS round. On a cross-check round this is your UPDATED unified answer, revised in light of the other assistant's answer."
    },
    "keyPoints": {
      "type": "array",
      "items": { "type": "string" },
      "description": "The core claims your answer rests on, one per item — the things the other side must agree with for there to be consensus."
    },
    "agreesWithOther": {
      "type": "boolean",
      "description": "true ONLY when the other assistant's latest answer is correct and complete and you have NO substantive disagreement left — your answers say the same thing. false on the first round (you haven't seen theirs yet) and whenever any objection below remains."
    },
    "objections": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "point": {
            "type": "string",
            "description": "The specific claim in the OTHER assistant's answer you disagree with, or the gap you think it leaves."
          },
          "reason": {
            "type": "string",
            "description": "Why it's wrong or incomplete — cite file:line or concrete evidence when the prompt is about this repo."
          }
        },
        "required": ["point", "reason"]
      },
      "description": "Your remaining disagreements with the other assistant's latest answer. Empty when you fully agree (agreesWithOther:true) and on round 1."
    },
    "changedMind": {
      "type": "string",
      "description": "What you revised this round because the other assistant convinced you, and why. Empty string on round 1 or when nothing changed."
    }
  },
  "required": [
    "answer",
    "keyPoints",
    "agreesWithOther",
    "objections",
    "changedMind"
  ]
}
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 468kUpdated Claude CodeCodexUnverifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 321kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 321kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 321kUpdated Claude CodeCodexVerifiedInstall