Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By cajiasv1.0.0MITIn 1 marketplace
Automated PR monitoring with Stop hook that auto-resumes Claude Code when new commits are detected
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Automated GitHub pull request monitoring for Claude Code. Automatically resumes Claude when new commits are detected.
This plugin provides:
claude plugin marketplace add cajias/claude-skills
claude plugin install pr-monitor@claude-skills
After installation, restart Claude Code for the hook to activate.
Clone this repository:
git clone https://github.com/cajias/claude-skills.git
cd claude-skills
Copy to Claude plugins directory:
cp -r plugins/pr-monitor ~/.claude/plugins/
Restart Claude Code
Ask Claude to monitor a PR:
Monitor PR #2 in the current repository for new commits
Claude will:
# Navigate to repository
cd /path/to/repository
# Get current PR commit
CURRENT_SHA=$(gh pr view 2 --json headRefOid --jq '.headRefOid')
# Create state file
cat > ~/.claude/pr-monitor/claude_monitor_pr_$(basename $(pwd))_2 <<EOF
$(pwd)
2
$CURRENT_SHA
EOF
Ask Claude:
Stop monitoring PR #2
Or manually:
rm ~/.claude/pr-monitor/claude_monitor_pr_REPO_PR
User works on tasks
↓
Claude finishes task → Would normally stop
↓
Stop Hook triggers → Checks ~/.claude/pr-monitor/claude_monitor_pr_* files
↓
Queries GitHub API → Compares commit SHAs
↓
If new commits → Returns {"decision": "block"}
↓
Claude auto-resumes → Reviews changes and provides feedback
Files stored in ~/.claude/pr-monitor/claude_monitor_pr_<repo-name>_<pr-number>:
Line 1: /path/to/repository
Line 2: PR_NUMBER
Line 3: LAST_COMMIT_SHA
Example:
/home/user/Projects/claude-skills
2
a19ca15f67612f2ed5501d5cb2a65f1b7c1f94d7
The Stop hook:
~/.claude/pr-monitor/claude_monitor_pr_*{"decision": "block", "reason": "..."}gh auth loginbrew install jqapt-get install jqThe Stop hook auto-registers from hooks/hooks.json on install. No settings.json edits are
needed.
Disable for specific project:
{
"disableAllHooks": true
}
Check plugin installed:
ls -la ~/.claude/plugins/pr-monitor
Check hooks registered:
cat ~/.claude/plugins/pr-monitor/hooks/hooks.json
Check the script is executable:
ls -l ~/.claude/plugins/pr-monitor/scripts/Stop.sh
# Should show: -rwxr-xr-x
Test hook manually:
echo '{"stop_hook_active": false}' | bash ~/.claude/plugins/pr-monitor/scripts/Stop.sh
# With trace output when the above is silent:
echo '{"stop_hook_active": false}' | bash -x ~/.claude/plugins/pr-monitor/scripts/Stop.sh
If the hook still never runs: restart Claude Code completely, and check that
.claude/settings.json does not set disableAllHooks: true.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub cajias/claude-skills --plugin pr-monitorPlugins from other owners that cover similar ground