ClaudeCodeMod

All shelves / Mods / Workflow

pr-relay

By HolyGrail

pr-relay is a Claude Code workflow mod by HolyGrail.

Checks the session's pull request once a minute and wakes the session when it is merged or Codex reviews it, with toasts and a cleanup button above the prompt.

Draws

Install

The marketplace name is claude-mods.

In Claude Code
/plugin marketplace add HolyGrail/claude-mods
/plugin install pr-relay@claude-mods
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
0.9.2
Repo stars
19
Last change
2026-10-20

What it can reach

  • Draws in the session
  • Sees tool calls
  • Reaches the network or an outside service
  • Calls another program on this machine
  • Runs a command when you press

The README is in Japanese. Then /reload-plugins. gh must be on the PATH and signed in. A checkout starts with claude --plugin-dir ./plugins/pr-relay; to load a clone every session, put that folder's absolute path in CLAUDE_CODE_PLUGIN_DIRS under env in ~/.claude/settings.json. In the desktop app it watches the PR shown first in the session's PR bar, and follows the others there for merges and closes only. In the terminal it looks for the current branch's open PR with gh pr view when the session starts, and starts watching the URL that gh pr create prints. Its regular ask of GitHub is one GraphQL query a minute, plus one more for the review text when it reports a review. A review sends a prompt with each comment's text and place. A thumbs-up from Codex, or a comment that it found no major issues, sends a prompt to check CI and report. Codex's usage limit and a closed PR are toasts only. A merge is a toast and a cleanup button above the prompt; pressing it sends a prompt for the work after a merge, and nothing is deleted until you press. With notice-board installed, a merge of the watched PR also posts a notice to the other sessions in the repo, telling them to rebase before the next push. Prompts wait until the session is idle, so they do not cut into a running turn. It does not watch CI, because the desktop app already sends CI results to the session; with Auto-fix on in the desktop app, Codex's reviews are left to the CI monitor too. The status line shows the PR number and when it last checked, in Japan time.

The marketplace name is claude-mods. The marketplace also holds usage-meter, cache-meter, notice-board, and zsh-safe, from the same author. This one installs on its own. Starting the next turn when GitHub moves is why this page files it under workflow. pr-watch keeps a live pane of the pull requests the session touches, with CI, reviews, conflicts, and merge, and a toast when one changes. merge-gate holds gh pr merge until CI is green and a Codex review has run once. This one wakes the session itself: a Codex review becomes a prompt with each comment's text and place, so Claude does not sleep or poll while it waits. It reads Codex's reviews from GitHub and sends nothing to Codex. It registers a tool, mcp__pr-relay__watch, that a skill can hand a PR URL and the last push time. gh is the local program, and GitHub is the network access. The cleanup button is the press that sends a prompt. In the source, the cleanup rows are drawn in the AbovePrompt slot, prompts are sent with $.prompt.submit, and the toasts and the status line are written in Japanese.

Demo

The opening of the pr-relay README, which is written in Japanese, so the picture shows Japanese text: it checks the session's pull request once a minute and wakes the session only when it is merged or Codex reviews it; which PR it watches in the desktop app and in the terminal, and how gh pr create and git push start the watch; and a table of what happens on GitHub and how the session is told: a review sends a prompt with each comment, a thumbs-up from Codex sends a prompt to check CI, Codex's usage limit and a closed PR are toasts, and a merge is a toast and a cleanup button above the prompt.
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • session.endWhen a session ends
  • classic.SessionStartA Claude Code event
  • tool.callAround a tool call, where it can hold onemcp__pr-relay__watchBash
  • prompt.submitWhen you send a prompt
  • ui.renderDraws into the sessionAbovePrompt

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
HolyGrail
Category
Workflow
Marketplace
claude-mods
Repo
HolyGrail/claude-mods
Folder
plugins/pr-relay
Version
0.9.2
Repo stars
19
Last change
2026-10-20
Language
TypeScript
Files
6

Other mods in Workflow

relay-barhoobnnDraws a row per agent that agent-relay dispatched, such as codex or grok, under the Bash call or above the prompt, with toasts and a /relay pane of each run.session-bookmarkspromptadvisersSaves a bookmark of this session with a title and a note, and opens a pane to find one and copy the command that resumes it in a new terminal.ruview-liveruvnetOpens a /ruview pane beside the transcript with your RuView WiFi sensing nodes and radar kit, refreshed on a timer, plus a one-line status.ruflo-consoleruvnetOpens ruflo's cockpit under /ruflo, with pages for missions, swarms, cost, events, and your project's ADRs, and draws a band above the prompt.ruflo-modsruvnetHolds a commandRoutes each prompt in-process with ranked memory as context, tightens tool checks from ruflo policy, draws a ruflo status line, and can toast a cost budget.ruflo-swarmruvnetDraws a live pane of a ruflo swarm beside the transcript: a tile per agent and subagent, the topology, tasks, votes, cost, and buttons that act through the CLI.artifact-dashboardDannyMac180Draws a line above the prompt with the cards per column on a shared Kanban board, a claude.ai artifact that every session on the project reads and writes.mode-registryDannyMac180Shows the active mode as a label in the prompt footer, and /mode opens a picker above the prompt with a button for each mode that other plugins offer.pr-statusomeerdvrnDraws the CI checks of the current branch's pull request above the prompt, counted by state, updates them while they run, and toasts when CI passes or fails.snippetsomeerdvrnAdds Linear issues to the prompt typeahead, colors paths, tickets, and secrets as you type, shows pasted image thumbnails, and expands ;;snippets.open-loopscharlie947Opens a pane that lists every ask you make in a session, and Claude can tick one off only with proof.sessions-bandcharlie947Draws a bar above the prompt that lists your other open Claude Code sessions, with an Ask button for each.
All 396 in Workflow