jury
Put a question or decision to a jury of 3 or 5 subagents: blind independent votes, one anonymized review round, and a verdict with the vote, dissent, and first action when at least one blind vote succeeds.
svyatov · Static checks on file
Installation
Read the source and dependencies before running a command. Copying does not install or execute anything.
npx skills add svyatov/supermatt --skill juryAbout this skill
name: jury description: "Put a question or decision to a jury of 3 or 5 subagents: blind independent votes, one anonymized review round, and a verdict with the vote, dissent, and first action when at least one blind vote succeeds." argument-hint: " [5 for a five-seat panel]" disable-model-invocation: true compatibility: Requires independent subagents. Uses the repository peer policy to keep every seat on the host or select a capability-aware Claude, Codex, Cursor Agent, or OMP adapter. license: MIT
Jury
One model asked once gives one line of reasoning, and asking it to debate itself mostly makes it agree with itself. A jury gets independence from separate subagents that vote blind, and it gets correction from one review round where every vote change must name its reason. You are the foreman: you frame, dispatch, check facts, and deliver one verdict when at least one blind vote succeeds.
Step 1: Gate
The question is the arguments. A trailing 5 sets the panel size and is not part of the question. If the question is empty, take the decision under discussion in this conversation, and if there is none, ask for it.
Stop before any dispatch when:
- The question has one checkable answer (what a function returns, what a doc says). Answer it and say that no jury was needed.
- This host cannot dispatch subagents. Say so and stop. Never play the jurors yourself in one context: a juror that has read the other answers is not independent.
Step 2: Brief
Read what the question needs once: the code, docs, links, and conversation it points at. Then write the brief, the only thing every juror sees:
- Question: one sentence.
- Options: two to four, with neutral labels (A, B, C, or short plain names). A juror may also answer "none", with a better framing.
- Criteria: two to four things a good answer must do well.
- Facts: each with its source (
path:line, URL, or "user said"). - Constraints: budget, deadline, what cannot change.
Leave your own leaning out of the brief, and leave out any option label that judges ("the safe option"). Ask the user one question only if you cannot name the options. Show the brief, then continue without waiting.
Step 3: Seat the panel
Seat three jurors, or five when the arguments end in 5. Each seat gets one lens, in table order. A lens tells the juror where to look. It does not pick the juror's side, so every vote is free.
| # | Lens | Question the lens asks |
|---|---|---|
| 1 | Pre-mortem | It is a year later and this choice failed. What caused it? |
| 2 | First principles | Set aside how it is usually done. What does the problem itself require? |
| 3 | Cost | What does each option cost to build, to run, and to undo? |
| 4 | Outsider | What does someone with no history in this choice see? |
| 5 | Evidence | Which facts in the brief carry the decision, and how solid is each? |
Resolve docs/agents/cross-model.json exactly once through the harness contract. Record the selected CLI, model (default when null), effort (default when null, unsupported for Cursor), family status, isolation level, and fallback reason. Host-only mode puts every seat on host subagents and records external peer disabled by docs/agents/cross-model.json, or the exact invalid-settings or adapter failure.
Step 4: Blind vote
Before each round, check the host's worker limit and occupied slots. Dispatch only seats that fit, queue the rest, and start them as workers finish. If capacity is unknown, use one worker at a time. A capacity rejection leaves the seat queued; it consumes no retry and is never a reason to drop it. Every seat gets the original blind inputs, without earlier seats' answers from that round.
A host seat is a fresh subagent, never a fork of this conversation, that gets only the juror prompt. When the resolver selected an external adapter, use it for one seat as a background process with a 600000 ms timeout. Make its directory with mktemp -d, save the juror prompt to <temp dir>/juror.prompt.md, and run the adapter from the repository root. Add configured values as individual literal arguments:
codex exec --ignore-user-config --disable apps --disable plugins -s read-only -c 'approval_policy="never"' [--model "$MODEL"] [-c "model_reasoning_effort=\"$EFFORT\""] --ephemeral --skip-git-repo-check -C "$REPO_ROOT" -o "<temp dir>/vote.md" - < "<temp dir>/juror.prompt.md" > "<temp dir>/peer.stdout.log" 2> "<temp dir>/peer.log"
claude -p --safe-mode --strict-mcp-config --tools Read Grep Glob --permission-mode dontAsk [--model "$MODEL"] [--effort "$EFFORT"] --no-session-persistence < "<temp dir>/juror.prompt.md" > "<temp dir>/vote.md" 2> "<temp dir>/peer.log"
agent -p --mode=ask --workspace "$REPO_ROOT" --output-format text [--model "$MODEL"] < "<temp dir>/juror.prompt.md" > "<temp dir>/vote.md" 2> "<temp dir>/peer.log"
omp -p --mode text --cwd "$REPO_ROOT" --no-session --no-title --no-tools --approval-mode always-ask --no-skills --no-rules --no-extensions [--model "$MODEL"] [--thinking "$EFFORT"] < "<temp dir>/juror.prompt.md" > "<temp dir>/vote.md" 2> "<temp dir>/peer.log"
Square-bracketed pairs are conditional notation. Omit them for null values, and never build or re-evaluate a command string. Cursor never receives --force, --yolo, --approve-mcps, --worktree, --resume, --continue, or --trust.
Immediately before each Cursor or OMP vote and review process, obtain the harness contract's interactive confirmation. Declined or unavailable confirmation replaces that seat with a host subagent. Cursor Ask mode prevents agent edits but still inherits user and repository rules, MCP, plugins, executable hooks, and persistent sessions. OMP receives no repository tools. For OMP, append every cited text source needed to assess the brief to the prompt exactly once between matching nonce-delimited BEGIN and END lines. If require