agentleFS
Audatic07Audatic07/duo/skills/codex/SKILL.md

duo

Skill22 starsChanged 41 days agoMITView on GitHub

Run a traceable multi-model session between Claude (the user's Claude plan) and OpenAI Codex (the user's ChatGPT plan) with the duo harness - debates that converge on a checked claim ledger, cross-validated code reviews, anonymized councils, or parallel asks, with every model and effort chosen by the user. Use only when the user explicitly asks to involve Claude, Anthropic or another model, or invokes $duo.

4 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions4 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 4

    1. heygen-com/hyperframes-community-skills★ 155same name
    2. yamancan/skills★ 2same name
    3. agentik-os/claude-code-skills★ 1same name
    4. juanexpensive/Skills★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository2 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the command still asks for approval, the ChatGPT app has not loaded the rule yet (it needs a restart).

    line 13
  2. Very specific:

    Read the report.md whose path is printed at the end, then give the user:

    line 37

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

duo: Claude x Codex sessions

duo-safe runs every participant as a separate seat with exactly the model and effort given, and records everything in a run folder: exact prompts, replies, raw event streams, tool calls, tokens, credits, and quota before and after. It is the restricted entry point of the duo harness: read-only seats only (no pair mode), no raw Codex config passthrough and no WebFetch.

How to run it (important)

  • duo-safe needs network access, so it runs outside your sandbox. ~/.codex/rules/duo.rules pre-approves it, but only when it is ONE plain command: no pipes, redirections, heredocs, $(...), &&, or VAR=value prefixes.
  • So write any brief longer than one line to a file in the temp folder first, then pass it with -f <that file>.
  • If the command still asks for approval, the ChatGPT app has not loaded the rule yet (it needs a restart). Ask the user to approve it.
  • Runs take from 30 seconds to many minutes, depending on effort and rounds. Wait for them to finish.

The user's arguments are the spec

The user is an expert who chooses models deliberately. Pass their choices through unchanged: never swap a model, lower an effort, or pick a preset they did not ask for.

  • Seat: engine[:model][@effort][+option...], e.g. claude:opus@max, codex:gpt-6-astra@xhigh+verbosity=high, claude:sonnet@high+web.
    • Codex options: verbosity=, summary=, web[=mode], tier=fast.
    • Claude options: web, dir=PATH.
    • Both: name=, persona=@file, timeout=SEC.
  • Presets: -p quick|std|deep|max. With no seats and no preset, duo uses the configured default; say which in one line.
  • Protocol: the first word. If missing, a decision or design is a debate, a diff is a review, an open question for three or more seats is a council, and quick parallel answers are an ask.
duo-safe debate  -s SPEC -s SPEC [--rounds N] [--chair SPEC] [--anon] (-C DIR | --no-project) -f /tmp/brief.md
duo-safe review  -s SPEC [-s SPEC] --uncommitted -C DIR "focus"
duo-safe council -s SPEC -s SPEC -s SPEC [--chair SPEC] -C DIR -f /tmp/question.md
duo-safe ask     -s SPEC [-s SPEC] -C DIR -f /tmp/question.md
duo-safe continue RUN --rounds 1 "moderator note"
duo-safe trace RUN
duo-safe quota

Report back

Read the report.md whose path is printed at the end, then give the user:

  1. The outcome: converged, NOT converged or stalled, how many rounds, which seats.
  2. The agreed answer. If the seats did not converge, show the competing final positions side by side. Never present non-convergence as agreement.
  3. Disputed claims with each side's reason, and any failed citations.
  4. The cost and the run id.

You operate the harness; you are not a participant. Label any commentary you add as yours. Seats are read-only; you make any changes, and only after the user agrees.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.