gh-monitor-pr

gh-monitor-pr is a skill for Claude Code, Codex from closedloop-ai/claude-plugins. It costs 81 tokens per session (4,708 once invoked), scanned A, original, Apache-2.0.

A background watcher for a GitHub pull request, which is a proposed code change awaiting review and checks. It wakes the same coding session when review comments, automated checks, merge conflicts, or other pull-request events need attention.

In plain words
What is it for?
Use it to watch a pull request or merge queue and notify Codex about reviews, failed checks, conflicts, readiness, closure, or merge events.
Why use it?
It removes the need to repeatedly refresh GitHub or keep a coding session waiting. The session can resume only when a relevant event occurs.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: mentions Claude Code; mentions Codex; $skill-name invocation.

Part of the closedloop-core plugin — 8 skills shipped together

Good fit Use it to watch a pull request or merge queue and notify Codex about reviews, failed checks, conflicts, readiness, closure, or merge events.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/closedloop-ai/claude-plugins/gh-monitor-pr
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add closedloop-ai/claude-plugins --skill gh-monitor-pr
Clone the repo
git clone --depth 1 https://github.com/closedloop-ai/claude-plugins

Made for: Claude Code, Codex.

Or install closedloop-core, the plugin that ships this one along with the rest of its 8 skills.

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 gh-monitor-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/closedloop-ai/claude-plugins/gh-monitor-pr/github.svg)](https://agentmods.dev/skills/closedloop-ai/claude-plugins/gh-monitor-pr)
Your own site
<a href="https://agentmods.dev/skills/closedloop-ai/claude-plugins/gh-monitor-pr"><img src="https://agentmods.dev/badge/skills/closedloop-ai/claude-plugins/gh-monitor-pr/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 gh-monitor-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/closedloop-ai/claude-plugins/gh-monitor-pr"><img src="https://agentmods.dev/badge/skills/closedloop-ai/claude-plugins/gh-monitor-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,708 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.00081 $0.04708
Opus 5.5 $0.00032 $0.01883
Sonnet 5.5 $0.00016 $0.00942
Haiku 4.5 $0.00008 $0.00471

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

Security

Grade A, and why

gh-monitor-pr 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 yesterday.

The scan reads SKILL.md. This mod also ships 12 executable files (scripts/app-server-notify.js, scripts/app-server-notify.mjs, scripts/app-server-notify.test.js, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/closedloop-core/skills/gh-monitor-pr/SKILL.md · 409 lines

How it starts

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

Live-root validation boundary

Validation against a live root is limited to probe-only, read-only protocol calls. Never pipe synthetic events or user prompts into a live root. Run notification and event-delivery simulations only against an isolated fake server or a disposable, projectless test thread unambiguously owned by the test. Never fabricate text claiming that the user instructed a pause, stop, or mutation, and never stop or steer shared roots, workers, or the daemon. If isolated cleanup is unsupported, fail closed and report the limitation.

Monitor a GitHub PR

Start the detached monitor, report the handoff, and end the turn. Never poll, sleep, or use a tool-based wait in the launching Codex turn.

App Server wakeups use the native managed Codex App Server daemon through the portable codex app-server proxy --sock transport. The monitor keeps its own local delivery receipts: it persists a delivering attempt before invoking the native notifier, and a restart never replays an unknown acceptance result.

Set up the App Server

Use the managed local App Server daemon. Never spawn a competing App Server and never set CODEX_APP_SERVER_WS_URL.

For every command below, resolve skill_dir to the absolute directory containing this SKILL.md; do not assume the skill lives in ${CODEX_HOME:-$HOME/.codex}/skills.

Treat Desktop and CLI setup as separate surfaces. If the launching root is a CLI, use only the explicit cli setup below. Never run the no-argument Desktop setup merely to support a CLI monitor: it changes the GUI launchctl environment and installs a persistent Desktop launcher, neither of which is needed for CLI monitoring. Do not install a periodic launcher that invokes codex app-server daemon start for a CLI root. Start the managed daemon on demand during CLI bootstrap instead.

For Codex Desktop, preserve the no-argument setup:

skill_dir='<absolute path to this gh-monitor-pr skill directory>'
node "${skill_dir}/scripts/setup-app-server.mjs"

Read the full file on GitHub · 409 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. yesterday Changed · +24 lines c0b66ffa953a
  2. 4d ago First seen · 385 lines · 81 tokens per session scan A cf351434589b

Subscribe to this mod's changes

gh-monitor-pr is a skill published in the GitHub repository closedloop-ai/claude-plugins (122 stars, last pushed today), licensed Apache-2.0. It adds 81 tokens to every session and 4,708 once invoked, about $0.0003 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-10-06.

Related

Other skills, from other repositories