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.5 $0.00025 $0.00658
Sonnet 5.5 $0.00013 $0.00329
Haiku 4.5 $0.00006 $0.00165

Measured 1mo ago against content hash 7823333b6167, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo ago Changed 7823333b6167
  2. 2mo 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 2d ago), licensed MIT. It adds 63 tokens to every session and 1,646 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-08-31.

Related

Other skills, from other repositories

skeptic

Adversarial reviewer for Bug Hunter. Challenges each behavioral finding against actual code, checks defenses, and preserves unresolved cases for independent review.

codexstar69/bug-hunter · 30 tokens

referee

Final arbiter for Bug Hunter. Independently verifies behavioral findings, resolves Skeptic challenges, and calibrates severity and confidence.

codexstar69/bug-hunter · 28 tokens

commit-security-scan

Scan code changes for security vulnerabilities using Bug Hunter-native artifacts and STRIDE context. Use whenever the user asks for PR security review, commit-diff scanning, staged-change security checks, branch-comparison security review, or pre-merge security analysis of changed code.

codexstar69/bug-hunter · 57 tokens

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

adr

Create and manage Architecture Decision Records. Documents significant technical decisions with context, alternatives, and consequences. Also supports evaluate (assess proposals) and design (system design) modes.

drafthq/draft · 37 tokens

deploy-checklist

Pre-deployment verification checklist. Generates customized checklists based on tech-stack with rollback triggers. Auto-invoked by /draft:upload.

drafthq/draft · 32 tokens