Skip to content
Agentmart
Submit a tool

consensus

Run an evidence-aware discussion between Claude and Codex for design, planning, decisions, or code review.

Skill by code-alexander

IndexedMIT
Write a review

Chalk Labs

Need help deploying consensus?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/code-alexander-consensus

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Run an evidence-aware discussion between Claude and Codex for design, planning, decisions, or code review. Use when the user asks for another model's opinion, debate, consensus, or agreement.

Use cases: design, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Shell scripts

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/consensus

What's inside

Skill name
consensus
Description
Run an evidence-aware discussion between Claude and Codex for design, planning, decisions, or code review. Use when the user asks for another model's opinion, debate, consensus, or agreement.
License
MIT
Instructions
99 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (9)

  • README.md
  • SKILL.md
  • evals.json · evals/
  • archive.patch · evals/files/
  • database-context.md · evals/files/
  • migration-plan.md · evals/files/
  • protocol.md · references/
  • consensus.sh · scripts/
  • test.sh · tests/

SKILL.md (first lines)

# Consensus

Use the bundled script to collect independent opening positions from Claude and
Codex, then let them discuss. It writes a compact decision and a temporary
deliberation record. Agreement is not evidence; the discussion should expose
different framings, test critical claims, and identify uncertainty.

## Prerequisites

Authenticated `claude` and `codex` CLIs, `jq`, and `mktemp`. The script checks
them before starting.

## Brief

Write a neutral Markdown brief with:

- the question;
- relevant material and prior decisions;
- constraints and known assumptions;
- options considered;
- success criteria and non-goals;
- evidence the participants can inspect.

For code review, name the branch, commit range, or diff instead of pasting it.
Do not favor an answer. The first two calls are independent: neither model sees
the other's framing until both positions exist.

## Evidence

A **critical claim or assumption** is one that could change the recommendation
if false. Classify each as:

- `verified`: supported by inspection, supplied material, authoritative
  documentation, data, calculation, or experiment;
- `assumption`: unverified but accepted for this decision;
- `unknown`: important and unresolved.

Name the source or method. Appropriate evidence depends on the domain and may
include code, research, financial data, user research, measurement, or formal
reasoning. Agreement between models is never evidence.

## Run

From the project root:

```sh
bash <skill-directory>/scripts/consensus.sh [options] brief.md
```

| Option | Default | Meaning |
|---|---|---|
| `--first claude\|codex` | `claude` | First independent opener and first rebuttal |
| `--max-turns N` | `10` | Total turns, including both openings; minimum 2 |
| `--out DIR` | Temporary directory | Parent output directory |
| `--name SLUG` | Brief filename | Run name |
| `--claude-model M` | CLI default | Claude model |
| `--codex-model M` | Codex config | Codex model |
| `--judge` | Off | Fresh Claude decides an unresolved run |
| `--judge-model M` | CLI default | Judge model |

Omit `--out` unless the user requests persistent output. Do not put logs in a
repository merely because it has a decisions directory. Leave model flags unset
unless requested.

## Result

Read `DECISION.md` first. It contains the decision, evidence status, blockers,
optional improvements, consequences, and one next action:

- `proceed`
- `targeted_revision`
- `reassess_approach`

Use `log.md`, `turns/`, and `cli-logs/` only to diagnose the run. Do not carry
the debate into later project context.

- Exit 0: report the compact decision and evidence status.
- Exit 2: report both final summaries and unresolved points; ask the user to
  decide unless `--judge` was enabled.
- Exit 3: inspect `cli-logs/` and report the protocol or CLI failure.

## Hindsight

If the accepted result uses `reassess_approach` or accepts that a critical
assumption failed, stop before local remediation. Invoke `hindsight` with the
original goal, current approach, new evidence, invalidated assumptions, and
compact decision. Exclude the deliberation log. A disputed invalidation remains
a blocker or impasse.

## Reruns

Do not rerun substantially the same question without material new evidence;
state what changed in the new brief. If another review falsifies the same class
of assumption, use hindsight instead of another remediation debate.

The script writes `DECISION.md`, `brief.md`, `log.md`, `protocol.md`, `turns/`,
`sessions.json`, and `cli-logs/` under a temporary numbered run directory.

From code-alexander/skills, MIT.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Aug 23, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from code-alexander

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get consensus running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying consensus?

CallGet help
Cite this page

consensus skill. Agent Mart. https://agentmart.dev/skills/code-alexander-consensus (last updated 2026-10-24)