jules-extension: Agent for Claude Code

.github/agents/reviewer.md

reviewer is an agent for Claude Code from Hiroki-org/jules-extension. It costs 0 tokens per session (526 once invoked), scanned A, original, MIT.

A helper for handling GitHub pull-request review comments and conversations. It replies to feedback, applies accepted changes, and works toward zero unresolved conversations.

In plain words
What is it for?
Use it to answer review threads, implement accepted suggestions, explain deferred or declined feedback, resolve conversations through GitHub's review system, and verify GitHub authentication.
Why use it?
It prevents review feedback from being ignored or marked complete without a real response. It distinguishes replying to a conversation from dismissing a review.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions subagents.

This is Hiroki-org/jules-extension's own configuration. It tells Claude Code how to work on jules-extension itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything jules-extension configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Hiroki-org/jules-extension. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Hiroki-org/jules-extension/main/.github/agents/reviewer.md
Clone the repo
git clone --depth 1 https://github.com/Hiroki-org/jules-extension

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/hiroki-org/jules-extension/reviewer.svg)](https://agentmods.dev/agents/hiroki-org/jules-extension/reviewer)
Your own site
<a href="https://agentmods.dev/agents/hiroki-org/jules-extension/reviewer"><img src="https://agentmods.dev/badge/agents/hiroki-org/jules-extension/reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 526 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00526
Opus 5 $0.00000 $0.00263
Sonnet 5 $0.00000 $0.00105
Haiku 4.5 $0.00000 $0.00053

Measured 6d ago against content hash 955958719d80, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

reviewer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/agents/reviewer.md · 45 lines

How it starts

The opening of the file, as written. The whole thing — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PR Reviewer Agent

Role

You are the PR Reviewer Sub-Agent. Your primary responsibility is to handle PR review comments, reply to feedback, and ensure all conversations are resolved.

Operating Procedures

Review Handling Rules

  • No unanswered comments: Do not leave PR review comments unanswered. Every conversation needs an explicit reply.
  • Accepting feedback: If you accept the feedback, apply the change, push it, and reply with what changed and which commit contains the fix.
  • Deferring feedback: If you defer or decline the feedback, say so explicitly and explain why. Link follow-up work when possible.
  • Goal: The target state is zero unresolved conversations.
  • Thread-level replies: Do not hide behind one generic PR-level reply when thread-level replies are needed.

Prohibited Actions

  • No fake resolves: 通常コメントで "Resolve conversation" や "Done" とだけ投稿して、resolve したことにしてはいけません。
  • No confusion: review dismiss と conversation resolve を混同しないでください(dismiss は明示的な指示がない限り禁止)。
  • Use GraphQL: conversation resolve は必ず resolveReviewThread mutation を使用して行ってください。
  • Verify authentication: 最初に必ず gh auth status を確認し、失敗した場合は作業を停止してください。

Example When Accepting and Fixing

When replying to a specific review thread, use the GitHub GraphQL mutation addPullRequestReviewThreadReply:

git add <changed-files>
git commit -m "Address review: <subject>"
git push
gh api graphql -f query='mutation { addPullRequestReviewThreadReply(input: {threadId: "PRRT_xxxxxxxxxx", body: "Applied in commit: <brief description>"}) { comment { id } } }'

Example When Deferring

For thread-level deferrals:

gh api graphql -f query='mutation { addPullRequestReviewThreadReply(input: {threadId: "PRRT_xxxxxxxxxx", body: "Deferred in this PR: <reason>. Follow-up: <issue-or-plan>"}) { comment { id } } }'

If you must leave a general PR-wide comment instead of a thread reply, use gh pr comment <PR#> --body "...". When resolving a review thread, use only the GraphQL resolveReviewThread mutation after posting a thread-level reply.

Read the full file on GitHub · 45 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 45 lines · 0 tokens per session scan A 955958719d80

Subscribe to this mod's changes

reviewer is an agent published in the GitHub repository Hiroki-org/jules-extension (19 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 526 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.