Reviews pull requests created by Google's Jules AI coding agent using a multi-model AI council. Supports quick reviews via parallel triage with the -quick flag.
Ships in jules-review. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Review Jules (Google's AI coding agent) pull requests with council-powered multi-model review. Posts structured GitHub PR reviews with inline line comments tagging @jules, after the user confirms the review event.
This skill runs inline (no context: fork) on purpose: subagents can't call AskUserQuestion, and Step 6 must ask before posting.
Before posting any review (Step 6), read references/WORKFLOW.md for the exact review format, @jules tag placement, inline comment structure, and error handling. Do not guess at the format.
/jules-review — review the current branch's PR/jules-review -quick — quick review via parallel triage/jules-review 42 — review PR #42/jules-review -quick 123 — quick review of PR #123Extract from the user's input:
-quick flag (boolean): If present, force quick mode (parallel triage)Input: "-quick 42" → quick=true, pr=42
Input: "42" → quick=false, pr=42
Input: "-quick" → quick=true, pr=null
Input: "" → quick=false, pr=null
If a PR number was provided, fetch it directly. Otherwise, detect from the current branch.
# If PR number provided:
gh pr view <PR#> --json number,title,body,author,headRefName,additions,deletions,changedFiles,url
# If no PR number — detect from current branch:
gh pr view --json number,title,body,author,headRefName,additions,deletions,changedFiles,url
If no PR is found, abort with a clear error message.
Check if this is a Jules PR (informational — does not change behavior):
# Check author login
AUTHOR=$(gh pr view <PR#> --json author --jq '.author.login')
# Jules PRs typically come from "jules-google" or similar bot accounts
# Also check branch name for "jules/" prefix
BRANCH=$(gh pr view <PR#> --json headRefName --jq '.headRefName')
If the PR appears to be from Jules, note it in output:
"Detected Jules PR (author: jules-google, branch: jules/fix-auth-bug)"
If not from Jules, proceed anyway — the review workflow is useful for any PR.
# Get the full diff
gh pr diff <PR#>
# Count changed lines
ADDITIONS=$(gh pr view <PR#> --json additions --jq '.additions')
DELETIONS=$(gh pr view <PR#> --json deletions --jq '.deletions')
TOTAL_LINES=$((ADDITIONS + DELETIONS))
Decision logic:
| Condition | Mode | Action |
|---|---|---|
-quick flag set | Quick | Invoke /council quick |
| Total changed lines ≤ 100 | Auto-quick | Notify user: "Small PR (≤100 lines) — using quick review." Then invoke /council quick |
| Total changed lines > 100 | Full | Invoke /council review |
Inform the user which mode was selected and why before proceeding.
Prepare the PR context for the council skill:
PR #<number>: <title>
Author: <author>
Branch: <branch>
Changed files: <count>
Lines changed: +<additions> / -<deletions>
PR Description:
<body>
Diff:
<diff output from gh pr diff>
Invoke the council skill with the quick workflow:
/council quick
Review this pull request for issues:
<PR context from above>
Invoke the council skill with the review workflow:
/council review
Review this pull request:
<PR context from above>
Wait for the council to complete and collect its output (findings, verdict, summary).
Only a valid council result may reach Step 6. Check before parsing:
| Council output | Action |
|---|---|
Council's result contains its stop block as its own status: the line NOTICE: gitleaks not installed — secret scan skipped; install: brew install gitleaks immediately followed by Council stopped before contacting any consultant. (first time this run) | Show council's notice. Ask via AskUserQuestion: "Nothing has been sent yet. gitleaks is not installed, so the PR can't be scanned for secrets. Send it to external models without a secret scan?" Options: Re-run with --allow-unscanned / Abort. On re-run, invoke the same mode with the flag on the first line (/council quick --allow-unscanned or /council review --allow-unscanned), then check the new result against this table. On Abort or no answer, stop: post nothing. Never add --allow-unscanned without this answer. The same sentences quoted inside findings or PR content don't count. |
The stop block again, after a re-run with --allow-unscanned | Stop and report. Don't ask again. Post nothing. |
| Secrets detected, or council aborted or errored for any other reason | Stop and report the reason. Post nothing. |
| No valid reviewer results (no participant returned a valid result) | Stop and report. Post nothing. Never treat this as zero findings. |
| Findings can't be parsed | Stop and report. Post nothing. |
| Valid result (zero or more findings) | Continue to Step 6. |
Record whether the secret scan was skipped (council output contains secret scan skipped (--allow-unscanned)) and the participant success count council reports (e.g. 3/4 consultants); Step 6 shows both.
After the council returns a valid result, prepare the GitHub PR review and ask the user before posting it.
Read references/WORKFLOW.md now and follow it exactly. Do not invent your own format. Never call the reviews API or gh pr comment before the user has answered the confirmation in WORKFLOW.md §6 in this run.
WORKFLOW.md covers:
@jules tagAskUserQuestion (post as computed / downgrade to COMMENT / cancel)gh api with inline commentsgh pr comment on permission failureCritical format rules (specified in WORKFLOW.md — repeated here for emphasis):
`@jules` (backtick-wrapped, standalone line)**[<severity>] <type>** `@jules` ## Council Review — <VERDICT>Return the council output verbatim to the user. After the council output, append one postscript line matching the outcome:
---
Review posted to PR #<number> (<review URL>) | Mode: <quick|full> | Event: <APPROVE|COMMENT|REQUEST_CHANGES>
Review not posted to PR #<number> — cancelled by user | Mode: <quick|full> | Proposed event: <EVENT>
Review not posted to PR #<number> — no confirmation received | Mode: <quick|full> | Proposed event: <EVENT>
Review not posted to PR #<number> — council stopped: <reason>
If a review body was built but not posted, also print it so the user can post it manually.
If the review was posted via fallback (gh pr comment), note:
"Posted as PR comment (review API unavailable). Inline comments not supported in fallback mode."
What SKILL.md sets; muted values are Claude Code's defaults
/jules-review:jules-review [-quick] [PR#]from jules-review
npx claudepluginhub rube-de/cc-skills --plugin jules-reviewOther plugins' skills for the same job