Polytoken Reviewer Skill A developer created a Polytoken Reviewer Skill that orchestrates two parallel reviewer subagents on gpt-5.5(high) for code review. The skill dispatches a standard reviewer and an adversarial reviewer concurrently, merges their findings, and delivers a single review. In authoring mode, the skill iterates by fixing findings and re-invoking until no issues remain. | --- | | | name: code-review | | | description: Review a pull request or the current branch with TWO parallel reviewer subagents on gpt-5.5 high — a standard reviewer and an adversarial reviewer. Merge their findings only after both return; deliver an in-chat summary always and post to the PR only with consent. When reviewing your own branch, iterate on the feedback and re-invoke until no findings remain. | | | disable-model-invocation: false | | | tags: | | | - productivity | | | polytoken: true | | | --- | | | Code Review | | | Orchestrate a two-reviewer code review. The main agent does not review the diff itself — it dispatches two reviewer subagents that run concurrently on gpt-5.5 high , waits for both to return, merges their findings, and delivers a single review. When the main agent owns the branch under review, it then fixes the findings and re-invokes this skill until the review comes back clean. | | | This is the reviewer counterpart to create-pr opens the PR and bugbot drives an external bot . Here, two of Claude's own subagents are the reviewers. | | | Subagents + model — non-negotiable. | | | - The review reasoning runs inside subagents, never in the main agent. Dispatch exactly two general-purpose subagents in a single assistant turn so they run in parallel. | | | - Each subagent runs on gpt-5.5 high : pass model override: openai/gpt-5.5 that model defaults to high reasoning effort — see config.yaml . The skill's standing requirement is the explicit operator request that authorizes this model override . | | | - One is the standard reviewer , one is the adversarial reviewer . | | | - The main agent only orchestrates: gather context → dispatch the two → wait for both → merge → deliver → authoring mode fix + re-invoke. | | | Modes — decide this first | | | - Authoring mode — you wrote the changes under review the branch you've been building, or a PR you authored . After the review you iterate : fix the findings and re-invoke until clean. | | | - External mode — you're reviewing someone else's PR. Read-only : deliver feedback, never edit their code, never iterate on their behalf. | | | If it's ambiguous who owns the changes, ask one clarifying question before reviewing. | | | The Loop | | | | | | identify target + mode authoring | external | | | │ | | | ▼ | | | gather diff + context main agent, any model | | | │ | | | ▼ | | | dispatch TWO reviewer subagents in ONE turn — parallel, gpt-5.5 high : | | | • standard reviewer • adversarial reviewer | | | │ | | | ▼ | | | WAIT for BOTH to return ◄── deliver / post / fix NOTHING until both terminal | | | │ | | | ▼ | | | merge + dedupe findings → one severity-ranked review | | | │ | | | ▼ | | | deliver: in-chat summary always + post only if open PR & consent | | | │ | | | ┌────┴───────────────────────────────┐ | | | external mode authoring mode | | | │ │ | | | done findings? ──no──► clean — done | | | │ | | | yes → fix root cause + tests | | | │ | | | ▼ | | | RE-INVOKE this skill fresh 2-reviewer pass | | | until no new findings cap 5 cycles | | | | | | Steps | | | 1. Identify the target and the mode | | | - Target: a PR number if the user gave one; otherwise the current branch vs. the repo's default base. | | | bash | | | BASE=$ gh repo view --json defaultBranchRef --jq .defaultBranchRef.name | | | OWNER=$ gh repo view --json owner --jq .owner.login | | | REPO=$ gh repo view --json name --jq .name | | | | | | - Mode: authoring if you are the author of the changes your working branch, or a PR whose author is you ; external if you're reviewing changes you didn't write. Check the PR author if there's a PR: | | | bash | | | gh pr view