claude-code-config: Skill for Claude Code

.claude/skills/pr-monitor-and-manage-stop/SKILL.md

pr-monitor-and-manage-stop is a skill for Claude Code from auerbachb/claude-code-config. It costs 63 tokens per session (1,646 once invoked), scanned A, original, MIT.

A shutdown procedure for a running pull-request monitoring manager. A pull request is a proposed code change awaiting review before it is merged.

In plain words
What is it for?
Use it when you want to stop PR-fleet monitoring, clear its session state, and print a final summary.
Why use it?
It stops monitoring cleanly and removes saved monitoring state, reducing the chance of leftover tasks, stale pause markers, or another scan running later.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions subagents; positional $N argument.

This is auerbachb/claude-code-config's own configuration. It tells Claude Code how to work on claude-code-config 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 claude-code-config configures →

Reuse

Borrowing it

Nothing to install: this file belongs to auerbachb/claude-code-config. 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/auerbachb/claude-code-config/main/.claude/skills/pr-monitor-and-manage-stop/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/auerbachb/claude-code-config

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-monitor-and-manage-stop

README.md
[![agentmods](https://agentmods.dev/badge/skills/auerbachb/claude-code-config/pr-monitor-and-manage-stop/github.svg)](https://agentmods.dev/skills/auerbachb/claude-code-config/pr-monitor-and-manage-stop)
Your own site
<a href="https://agentmods.dev/skills/auerbachb/claude-code-config/pr-monitor-and-manage-stop"><img src="https://agentmods.dev/badge/skills/auerbachb/claude-code-config/pr-monitor-and-manage-stop/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-monitor-and-manage-stop

Your own site · 80×15
<a href="https://agentmods.dev/skills/auerbachb/claude-code-config/pr-monitor-and-manage-stop"><img src="https://agentmods.dev/badge/skills/auerbachb/claude-code-config/pr-monitor-and-manage-stop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,646 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.00063 $0.01646
Opus 5 $0.00032 $0.00823
Sonnet 5 $0.00013 $0.00329
Haiku 4.5 $0.00006 $0.00165

Measured 6d ago against content hash 7823333b6167, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

pr-monitor-and-manage-stop 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 6d 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.

.claude/skills/pr-monitor-and-manage-stop/SKILL.md · 124 lines

How it starts

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

Clean-cancel companion to /pr-monitor-and-manage. Use this to stop the PR-fleet manager without leaving a dangling main/auto-wake Monitor, stale monitoring state, or re-scan behind.

A stale pause marker left by a killed session is safely reconciled: the next /pr-monitor-and-manage invocation reads it and resumes (or the user runs /pmm-stop here to fully tear down), then re-runs discovery from scratch.

Resolve the state helper

Same three-candidate lookup as /babysit-pr-stop:

resolve_script() {
  local name="$1" candidate
  for candidate in \
    "$HOME/.claude/skills-worktree/.claude/scripts/$name" \
    "$HOME/.claude/scripts/$name" \
    ".claude/scripts/$name"; do
    if [[ -x "$candidate" ]]; then echo "$candidate"; return 0; fi
  done
  return 1
}
SESSION_STATE_SH=$(resolve_script session-state.sh) || { echo "ERROR: session-state.sh not found" >&2; exit 1; }

Step 1: Confirm there is something to stop

ACTIVE=$("$SESSION_STATE_SH" --get '.pmm_active' 2>/dev/null || echo null)
PAUSED_AT=$("$SESSION_STATE_SH" --get '.pmm.paused_at' 2>/dev/null || echo null)
STOP_PENDING=$("$SESSION_STATE_SH" --get '.pmm.stop_requested' 2>/dev/null || echo false)
MAIN_TASK_ID=$("$SESSION_STATE_SH" --get '.pmm_monitor_task_id' 2>/dev/null || echo null)
MAIN_GENERATION=$("$SESSION_STATE_SH" --get '.pmm_monitor_generation' 2>/dev/null || echo null)
AUTO_WAKE_TASK_ID=$("$SESSION_STATE_SH" --get '.pmm.auto_wake_monitor_task_id' 2>/dev/null || echo null)
AUTO_WAKE_GENERATION=$("$SESSION_STATE_SH" --get '.pmm.auto_wake_monitor_generation' 2>/dev/null || echo null)
  • If $ACTIVE is true → proceed to teardown.
  • If $PAUSED_AT is set (paused but not active) → proceed to teardown (clear pause marker + any re-scan Monitor).
  • If both false/null, both IDs are null, and $STOP_PENDING != true → report "No active PR-fleet Monitor found." and stop.
  • If $STOP_PENDING is true → continue the incomplete teardown even when the ordinary active/pause fields are absent.
  • Any recorded ID → proceed to exact teardown even if the active/pause flags are stale.

Read the full file on GitHub · 124 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. 6d ago Changed 7823333b6167
  2. 12d ago First seen · 124 lines · 63 tokens per session scan A dcc861cea86e

Subscribe to this mod's changes

pr-monitor-and-manage-stop is a skill published in the GitHub repository auerbachb/claude-code-config (5 stars, last pushed yesterday), licensed MIT. It adds 63 tokens to every session and 1,646 once invoked, about $0.0003 per session on Opus 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-31.

Related

Other skills, from other repositories

robin

Use whenever an agent creates, updates, reviews, or completes a GitHub pull request. Detect whether Robin is installed in the repository; when it is, automatically drive the PR through a bounded review, verified-fix, reply, thread-resolution, re-review, authorized-merge, and cleanup loop without requiring the user to…

antongulin/robin · 92 tokens

Review Automation Boundary Guard

Detect review findings that belong in CI/lint/formatter rather than human review.

s977043/river-review · 21 tokens

codex-review

Run OpenAI Codex CLI as a second-opinion reviewer. Automatically triggered by hooks after writing plans or implementing changes. Manual: /codex-review.

hugotomita1201/codex-review · 35 tokens

swarm-pr-review

Run a graph-guided, tool-augmented PR review using context packing, parallel exploration, mandatory repository-agnostic risk-family coverage with dispatch scaled to diff size and risk, independent reviewer validation, critic challenge, and metrics writeback. Use for deep pull request review with low false-positive…

ZaxbyHub/opencode-swarm · 91 tokens

review

Use when the user wants code assessed rather than changed — "review PR 88", "is this branch ready to merge?", "look over my changes", "any problems with this diff?", "give me a code review", "what do you think of this PR?", "sanity-check this branch", "ship it?". Applies to a pull request or the current branch when…

The01Geek/prflow · 123 tokens

techdebt

Analyze Elixir/Phoenix technical debt — duplicates, refactoring opportunities, credo issues. Use when asked about code quality, cleanup, or what to improve.

oliver-kriska/claude-elixir-phoenix · 36 tokens