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-verdict.schema.json

View on GitHub
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "approved": {
      "type": "boolean",
      "description": "true ONLY when every finding is resolved — all your feedback addressed at any severity (minor and nit included), not just blockers."
    },
    "summary": {
      "type": "string",
      "description": "One-paragraph assessment of the change as it currently stands."
    },
    "findings": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "description": "Stable identifier reused across rounds for the same issue, e.g. F1, F2."
          },
          "severity": {
            "type": "string",
            "enum": ["blocking", "major", "minor", "nit"]
          },
          "location": {
            "type": "string",
            "description": "file:line (or file) the finding applies to."
          },
          "issue": {
            "type": "string",
            "description": "What is wrong and why it matters."
          },
          "suggestion": {
            "type": "string",
            "description": "Concrete fix or direction."
          },
          "status": {
            "type": "string",
            "enum": ["open", "resolved"],
            "description": "resolved once the authoring engineer has adequately addressed it (by a fix or a dispute you accept); otherwise open."
          }
        },
        "required": [
          "id",
          "severity",
          "location",
          "issue",
          "suggestion",
          "status"
        ]
      }
    },
    "responseToRebuttal": {
      "type": "string",
      "description": "Directly address the authoring engineer's disputes from the previous round: concede (and mark the finding resolved) or hold firm with specific reasoning. Empty string on the first round."
    }
  },
  "required": ["approved", "summary", "findings", "responseToRebuttal"]
}
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