flurdy/agent-skills/watch-pr-feedback
Claude Code and agent skill by flurdy/agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Watch the user's open GitHub PRs for normalized feedback, validate each new or edited actionable item once, and render a bounded decision queue. Read-only by default; attended mode pauses only when the queue needs acknowledgment.
Install
npx vskill@latest install flurdy/agent-skills/watch-pr-feedbackSKILL.md
The same SKILL.md was published earlier as flurdy/agent-skills/watch-pr-feedback.
Watch PR Feedback
Watch open PRs for normalized feedback events, independently validate new actionable claims, and render a concise queue. This skill composes /pr-status discovery and inventory behavior with the read-only validation boundary from /review-comments; it does not replace either skill and does not create another scheduler.
Usage
Parse at most one mode (attended; absent means read-only), one positive \d+m fixed interval, and one stop hour from 0 through 23 (default 18). No interval means adaptive mode. Reject unknown or duplicate arguments. Resolve today's stop hour in local time and do not start at or past it.
Execution telemetry
Only for a normal valid execution request, not when reading this file as context, record once:
Bind {harness} to pi or claude from the known current harness, never a model name or shell probe; otherwise skip. Use only already-permitted recording. Never enable collection, change permissions, or wait for telemetry approval. Missing/denied/failed recording must not block work. Do not count status, reset, recheck, disposition, or internal ticks as invocations. The self-contained tick prompt owns tick recording; do not record again on a nested skill read. See the counter contract for opt-in, partial coverage and retention.
Safety boundary
The named execution-counter helper above is the sole local-write exception and is not a preflight probe. It never stores feedback, queue state, or review content. All other write prohibitions below remain unchanged; optional counters do not authorize persisted watcher state.
Default read-only mode never prompts and never edits code, changes the working tree, runs commands that may create build artifacts, publishes GitHub content, changes thread state, or changes Git history. It may read local files and metadata, inspect a PR diff, existing tests, and CI. Attended mode has the same mutation boundary; its question only controls acknowledgment and watcher state. A semantic classification, validation outcome, or answer is never permission to mutate code or GitHub. Stop the watcher and invoke the appropriate attended workflow separately for any action.
Do not switch branches, fetch remotes, or create a checkout. Never assume the current directory is the checkout for a PR merely because repository names look related. Do not run shell, Git, filesystem, workspace, or authentication preflight probes when starting the watcher. In ticks, never improvise a shell loop or workspace scan; use only the allowlisted checkout helper below.
Session-local state
Maintain bounded state in this conversation, keyed by repository, PR number, and identity. For each key retain its latest updateKey, latest stateKey, acknowledgment status, and observation order. Also retain a consecutive failure count per repository/source and an adaptive quiet streak.
- Keep at most 500 identities. Prune oldest terminal or suppressed entries first, then oldest
acknowledged entries. Never add unseen overflow to a full ledger of unacknowledged items; report state-capacity partial and drain it only after acknowledgment frees capacity. If pruning could make an old actionable item appear new, label the state state-pruned and treat any replay as a recheck rather than fresh feedback.
- The first tick in a new session is a visible baseline: validate and queue current actionable
records once. A no-change poll after that emits no decision items.
- Restarting a stopped watcher in the same session reuses state and does not replay acknowledged
items. A new session has no state and announces a fresh baseline.
resetclears identities, failure counts, and quiet streak, confirms the reset visibly, and makes
the next tick a fresh baseline. It does not start or stop a runtime watcher.
recheckruns one immediate read-only tick against all current actionable records, ignoring seen
state for validation, but does not change acknowledgment state or start another scheduler.
statusreports/watch-statuswhen protocol v1 exists, plus state size, pending attended items,
prune status, failure streaks, and whether the next poll is a baseline.
Carry the bounded ledger forward as structured turn state rather than inferring it from prose or counts. If the ledger is unavailable after context loss, announce a fresh baseline instead of claiming continuity. State is session-local only. Do not write a cache, repository file, GitHub marker, comment, label, or Beads item to remember feedback.
Event comparison
For every normalized record:
- New — the full repository/PR/
identitykey is absent. - Materially edited — the key exists but
updateKeychanged. Validate and queue it again once. - Lifecycle-only —
updateKeyis unchanged butstateKeychanged. Render the transition under
suppressed updates; resolved, outdated, dismissed, or self-authored state never prompts.
- Duplicate/no-change — both keys match. Update observation order only; do not validate, queue,
or prompt again.
Never use thread counts, record counts, body text, author names, or list position as identity.
Start behavior
Normal invocations start a recurring watcher. reset, recheck, status, and the internal tick mode are commands, not starts. Before starting, state the selected read-only/attended mode, cadence, and local deadline. The first tick lands after about one minute.
Pi protocol v1
This section is Pi-only. In Claude Code, skip directly to Claude Code fallback without probing, searching for, or discussing Pi. Harness selection comes from the current tool surface; never use the shell to detect another harness or executable.
If the current harness directly exposes watch_loop, use this branch before Claude scheduling:
- Call
watch_loopwithaction: statusand requireprotocolVersion: 1. If another watch is
armed, running, or paused, do not replace it; show status and point to /watch-status, /watch-stop, or /watch-resume. Stop on a protocol mismatch.
- Convert the local deadline to an ISO-8601
stopAtvalue preserving its timezone offset. - Start with this self-contained prompt, substituting
{interaction_mode}and{cadence_mode}:
``text When already permitted, first run ~/.agents/skills/watch-telemetry/scripts/watch_telemetry.py record watch-pr-feedback pi tick once; telemetry failure must not block the watch. Then Load and follow the skill named watch-pr-feedback now in tick mode. Interaction mode is {interaction_mode} and cadence mode is {cadence_mode}. This is one feedback tick, not a watcher start. Re-run open-PR discovery and the normalized inventory, compare bounded session-local identity/update/lifecycle state, and independently validate only new or materially edited actionable records. Use --compact for inventory polls and --if-fingerprint only with an eligible fully processed snapshot as defined by the skill; fetch bodies only for new/edited records or explicit rechecks, after factual suppression and within the skill's 20-fetch bound. Never filter or dump full bodies on unchanged polls. For feedback with two to five materially distinct sub-claims, validate each claim and use mixed — see claim breakdown only when outcomes differ; never mark the whole record stale unless every actionable claim is stale. For more than five claims, use unable to validate and recommend the attended workflow. Render the complete bounded decision queue, but keep routine suppressions silent, render only user-relevant lifecycle/disposition suppressions and actual failures, mention partial status only when partial, and render State summary only for pending attended feedback, pruning/capacity state, a non-zero failure streak, or lost ledger continuity. Only a non-baseline, non-recheck tick with complete inventories, exclusively unchanged duplicate records, and no lifecycle transitions, pending candidates, capacity/pruning notices, or failures renders the compact quiet-tick summary required by the skill. In read-only mode never ask a question. In attended mode ask exactly once only when the actionable queue is non-empty, and wait for the answer. Do not mutate code, Git, GitHub, or tracking state. Never run ad-hoc shell/workspace probes; use only the allowlisted checkout helper for optional local evidence. Never call gh api directly; use only the allowlisted feedback helper for comment content. Keep healthy internal ledger and fetch state silent: do not print inventories complete, partial: false, or empty errors. Never add a prose recap after the final cadence line. Finish only after visible output with the matching protocol-v1 watch_loop action: complete. In adaptive mode pass the numeric N from the final next-tick: line as delaySeconds; in fixed mode omit it. On the third consecutive partial failure for the same repository/source, stop instead of scheduling another retry. ``
- Adaptive read-only start:
``yaml action: start protocolVersion: 1 label: PR feedback mode: adaptive initialDelaySeconds: 60 missedCompletionPolicy: retry stopAt: <today's local deadline as ISO-8601> tickPrompt: <prompt above with read-only and adaptive> ``
- Adaptive attended start uses the same fields except:
``yaml mode: adaptive initialDelaySeconds: 60 missedCompletionPolicy: pause ``
- Fixed mode converts minutes to seconds and includes:
``yaml mode: fixed initialDelaySeconds: <interval seconds> intervalSeconds: <interval seconds> missedCompletionPolicy: <retry for read-only; pause for attended> stopAt: <today's local deadline as ISO-8601> ``
The runtime clamps scheduling to 60–3600 seconds. retry is safe only for the non-interactive read-only tick. pause prevents an unanswered or interrupted attended question from replaying by itself. A successful start terminates the initiating turn.
Claude Code fallback
In Claude Code, enter this branch directly without PATH, filesystem, process, binary, or Pi capability probes or commentary. Use existing Claude scheduling capability; never imitate the Pi tool. If neither ScheduleWakeup nor /loop is available, explain that recurring watches are unsupported and stop.
Before starting the Claude adaptive path, apply the established session-model guard from /watch-prs: if the session uses a Fable model, do not start because a trailing ScheduleWakeup would discard the tick's visible output. Recommend a Sonnet/Opus session or fixed mode instead.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/watch-pr-feedback/SKILL.md
Popularity
- Repository stars
- 9
- 7-day trend score
- 12
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/flurdy/agent-skills/watch-pr-feedback)