jules-extension: Agent for Claude Code

.github/agents/pr-consolidation-playbook.md

PR Consolidation Playbook is an agent for Claude Code from Hiroki-org/jules-extension. It costs 31 tokens per session (364 once invoked), scanned A, original, MIT.

A workflow for combining several similar open pull requests into fewer destination pull requests while keeping links to the original work and its review and test status.

In plain words
What is it for?
Use it to group related pull requests, choose a destination, merge their branches, resolve conflicts, run focused checks, update descriptions, and close the absorbed requests with traceability.
Why use it?
It reduces duplicate review and CI work when multiple pull requests affect the same code or pursue the same goal. It also makes it clear where absorbed pull requests ended up.

Agent for Claude Code

Written for Claude Code: user-invocable in frontmatter.

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/pr-consolidation-playbook.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 PR Consolidation Playbook

README.md
[![agentmods](https://agentmods.dev/badge/agents/hiroki-org/jules-extension/pr-consolidation-playbook/github.svg)](https://agentmods.dev/agents/hiroki-org/jules-extension/pr-consolidation-playbook)
Your own site
<a href="https://agentmods.dev/agents/hiroki-org/jules-extension/pr-consolidation-playbook"><img src="https://agentmods.dev/badge/agents/hiroki-org/jules-extension/pr-consolidation-playbook/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for PR Consolidation Playbook

Your own site · 80×15
<a href="https://agentmods.dev/agents/hiroki-org/jules-extension/pr-consolidation-playbook"><img src="https://agentmods.dev/badge/agents/hiroki-org/jules-extension/pr-consolidation-playbook.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 364 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.00031 $0.00364
Opus 5.5 $0.00012 $0.00146
Sonnet 5.5 $0.00006 $0.00073
Haiku 4.5 $0.00003 $0.00036

Measured 2mo ago against content hash b9378f69e37d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

PR Consolidation Playbook 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 2mo 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/pr-consolidation-playbook.md · 52 lines

What it actually says

PR Consolidation Playbook

This playbook defines a repeatable method for consolidating similar open PRs in Hiroki-org/jules-extension.

Objective

  • Group related PRs by touched scope and intent.
  • Select one destination PR per group.
  • Merge source branches into destination branch.
  • Close absorbed PRs with explicit traceability.

Steps

  1. Inventory open PRs.
  2. Group by similarity:
    • Primary: changed files / affected modules
    • Secondary: intent (fix, test, refactor, docs)
  3. Choose destination PR:
    • prefer newest + most complete CI/review state
  4. Integrate source branches into destination branch.
  5. Resolve conflicts using destination behavior as baseline.
  6. Run targeted verification for touched scope.
  7. Push destination and update PR description with absorbed PR list.
  8. Comment and close absorbed PRs:
    • このPRは #<destination> に統合しました。以降のレビューは統合先PRでお願いします。
  9. Run post-push review/CI closure loop until green + unresolved 0.

Suggested Destination PR Body Section

## Consolidation

This PR consolidates related PRs:
- #...
- #...

Notes:
- Merge to main is deferred until consolidated review and CI complete.
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. 2mo ago First seen · 52 lines · 31 tokens per session scan A b9378f69e37d

Subscribe to this mod's changes

PR Consolidation Playbook is an agent published in the GitHub repository Hiroki-org/jules-extension (21 stars, last pushed yesterday), licensed MIT. It adds 31 tokens to every session and 364 once invoked, about $0.0001 per session on Opus 5.5. 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.

Related

Other agents, from other repositories

release_manager

Release management specialist for release notes, changelogs, version bumps, release checklists, and rollout coordination. Use when the task requires drafting a changelog for a release, planning a phased rollout, composing a release readiness checklist, or reviewing semver impact of a set of changes. For example…

josstei/maestro-orchestrate · 83 tokens

release-manager

Release management specialist for release notes, changelogs, version bumps, release checklists, and rollout coordination. Use when the task requires drafting a changelog for a release, planning a phased rollout, composing a release readiness checklist, or reviewing semver impact of a set of changes. For example…

josstei/maestro-orchestrate · 83 tokens

cloud_architect

Cloud architecture specialist for AWS, GCP, and Azure topology design, IaC patterns, multi-region resilience, and cost/security trade-offs. Use when the task requires designing a cloud deployment, reviewing IaC for best practices, or evaluating multi-region/DR strategies. For example: choosing between ECS and EKS…

josstei/maestro-orchestrate · 83 tokens

ml-engineer

Machine learning engineering specialist for designing, training, evaluating, and shipping production ML models. Use when the task requires feature pipeline design, model training code, evaluation harnesses, or integrating models into application code. For example: building a classifier training pipeline, wiring a…

josstei/maestro-orchestrate · 70 tokens

FlowSubmitNWatchPR

Submit PR and autonomously monitor CI checks and Copilot reviews until approval-ready. Iteratively fix issues and resubmit.

jpoley/flowspec · 30 tokens

release-validator

Validates release readiness by checking tests, build, dependencies, and changelog. Use before creating a release.

rlajous/claude-code-commands · 25 tokens