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.
/plugin marketplace add HolyGrail/claude-mods /plugin install pr-relay@claude-mods
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

What it hooks into
session.startWhen a session startssession.endWhen a session endsclassic.SessionStartA Claude Code eventtool.callAround a tool call, where it can hold onemcp__pr-relay__watchBashprompt.submitWhen you send a promptui.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
- Folder
- plugins/pr-relay
- Version
- 0.9.2
- Repo stars
- 19
- Last change
- 2026-10-20
- Language
- TypeScript
- Files
- 6