Agentops council
Multi-perspective review for Codex using the current sub-agent runtime. Triggers: "council", "get consensus", "multi-model review", "multi-perspective review", "council validate", "council brainstorm", "council research".
install
source · Clone the upstream repo
git clone https://github.com/boshu2/agentops
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/boshu2/agentops "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills-codex-overrides/council" ~/.claude/skills/boshu2-agentops-council && rm -rf "$T"
manifest:
skills-codex-overrides/council/SKILL.mdsource content
$council — Consensus Review (Codex Tailoring)
This override captures the Codex-native execution model for council-style judging.
Modes
: inline review, no sub-agents--quick- default: 2 judges via
spawn_agent(...)
: 3 judges via--deepspawn_agent(...)
: 3 runtime-native judges via--mixed
plus 3 Codex CLI judges viaspawn_agent(...)codex exec
--mixed is a strict cross-vendor contract. If codex is missing, codex --version fails, or a requested COUNCIL_CODEX_MODEL cannot run, stop before spawning any judges and tell the operator to install/fix Codex CLI or drop --mixed. Never silently convert --mixed into runtime-native-only judging.
Codex-Native Flow
Step 1: Build the review packet
Collect the target files, diff, plan, or report the judges need to review. Keep the packet concise and give each judge one perspective such as correctness, completeness, or edge cases.
Step 2: Spawn judges
Use one
spawn_agent(...) call per judge. Use agent_type="default" unless the task is purely exploratory, in which case agent_type="explorer" is acceptable.
Each judge prompt should include:
- the review target
- the assigned perspective
- the expected verdict vocabulary
- where to write a detailed report if the task is large
For
--mixed, also start 3 Codex CLI judge processes after the strict pre-flight succeeds:
mkdir -p .agents/council codex exec -s read-only -C "$(pwd)" --output-schema skills/council/schemas/verdict.json -o .agents/council/codex-1.json "$PACKET" codex exec -s read-only -C "$(pwd)" --output-schema skills/council/schemas/verdict.json -o .agents/council/codex-2.json "$PACKET" codex exec -s read-only -C "$(pwd)" --output-schema skills/council/schemas/verdict.json -o .agents/council/codex-3.json "$PACKET"
Only add
-m "$COUNCIL_CODEX_MODEL" when that environment variable is explicitly set.
Step 3: Wait and follow up
Use
wait_agent(...) to collect judge results. If one judge needs clarification, use send_input(...) with a narrow follow-up question rather than restarting the council.
Step 4: Consolidate inline
The lead agent reads the judge outputs and produces the final consensus:
when no judge finds a ship blockerPASS
when concerns exist but no hard blocker existsWARN
when any judge finds a blocking defectFAIL
Core consensus rules: All PASS -> PASS; Any FAIL -> FAIL; Mixed PASS/WARN -> WARN; cross-vendor disagreement -> DISAGREE.
Step 5: Close sub-agents
Use
close_agent(...) on finished judges once their outputs are integrated.
Constraints
- Do not assume batch-spawn or worker-report APIs that are not present in this runtime.
- Keep judge outputs small in the lead context; large analysis should live in files.
- Prefer stable judge perspectives over decorative personas.