watch
Skill6 starsChanged 3 months agoMITView on GitHub
Start (or stop) the nyann CI sentinel for the current repo, OR manage a multi-repo watch-list and poll all watched repos at once. The sentinel polls open PRs for state transitions (CI failure, approval, merge, branch staleness) and emits notifications the session-start hook surfaces on your next prompt. TRIGGER when the user says "watch this PR", "watch my PRs", "ping me when CI passes", "tell me when CI fails", "background watch", "keep watching after I close this", "run the sentinel in the background", "daemonize the watcher", "watch in the background", "/nyann:watch", "/nyann:watch --pr <N>", "/nyann:watch --daemon", "stop watching", "/nyann:watch --stop". ALSO TRIGGER for multi-repo aggregation: "watch all my repos", "watch across repos", "add a repo to my watch list", "add <owner/repo> to watch", "remove <owner/repo> from watch", "list watched repos", "what's new across all my repos", "poll every repo I'm watching", "/nyann:watch --add", "/nyann:watch --remove", "/nyann:watch --list". Do NOT trigger on "wait for checks" — that is `/nyann:wait-for-pr-checks` (blocking poll). watch is fire-and-forget; wait-for-pr-checks blocks.
23 other projects use a version of this.
Adopted by
Most recently taken up by
- diffusionstudio/skillstheir own version, first seen Oct 1, 2026
- ROCm/rocprofiler-systems-skillstheir own version, first seen Sep 30, 2026
- ilanbm/kpoppertheir own version, first seen Sep 23, 2026
- whilehq/whileai-sdktheir own version, first seen Sep 22, 2026
- SethGammon/Citadeltheir own version, first seen Sep 20, 2026
- agentik-os/claude-code-skillstheir own version, first seen Sep 17, 2026
Used with
Projects with it also use graph, research and 2 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ffsshhttiikkSkillgraph
Graph data structures
Also in 3 projects that use this
DockerSkillresearch
Research a documentation topic — locate affected files, understand the problem, identify what to change. Use when investigating an issue, a question, or a topic before writing a fix. Triggers on: "research issue 1234", "investigate what needs changing for #500", "what files are affected by #200", "where is X documented", "is our docs page about Y accurate", "look into how we document Z".
Also in 4 projects that use this
Google CloudSkilltriage
Gather context on a change or bug and plan the implementation.
Also in 3 projects that use this
AWSSkillgrill-me
A relentless interview to sharpen a plan or design.
Also in 3 projects that use this
Other versions23 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 23
- SethGammon/Citadel★ 922same name
- oxbshw/watch-skill★ 439same name
- romarayt/raytsystem-public-os★ 150same name
- diffusionstudio/skills★ 145same name
- mathiaschu/watch★ 140same name
- hidai25/eval-view★ 137same name
- INo-xious/stockbit-mcp★ 51same name
- norrietaylor/distillery★ 24same name
- whilehq/whileai-sdk★ 18same name
- ilanbm/kpopper★ 12same name
13 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository41 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- add-team-sourceSkill
- bootstrap-projectSkill
- check-prereqsSkill
- cleanup-branchesSkill
- commitSkill
- diagnoseSkill
- diff-profileSkill
- doctorSkill
- explain-diffSkill
- explain-stateSkill
- fleet-retrofitSkill
- fleetSkill
- gen-ciSkill
- gen-claudemdSkill
- gen-dependency-updaterSkill
- gen-devcontainerSkill
- gen-templatesSkill
- gh-protectSkill
- hotfixSkill
- iac-applySkill
- iac-planSkill
- inspect-profileSkill
- learn-profileSkill
- migrate-profileSkill
- new-branchSkill
- optimize-claudemdSkill
- prSkill
- record-decisionSkill
- releaseSkill
- retrofitSkill
- route-docsSkill
- settingsSkill
- setupSkill
- shipSkill
- suggestSkill
- syncSkill
- sync-team-profilesSkill
- undo-bootstrapSkill
- undoSkill
- wait-for-pr-checksSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 3 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 21 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 39
Use gh repo view --json nameWithOwner --jq .nameWithOwner to get the <owner>/<repo> slug for the current directory.
- Very specific: line 45
If the user said "stop" / --stop, stop BOTH a one-shot poll and any backgrounded daemon (the daemon stop tears down the supervisor unit …
- Very specific: line 60
Only when the user explicitly asks to keep watching after the session ends (--daemon, "background watch", "keep watching after I close …
- Distinctive: line 91
After polling (or whenever the user asks "what's new on my PRs?"):
- Very specific: line 108
When the user watches PRs across several repos, manage a watch-list and poll them all at once instead of running the single-repo flow per …
- Distinctive: line 114
Add / remove / list watched repos:
- Distinctive: line 147
Read the unified, repo-tagged view across every watched repo:
“Common” is measured: kept by at least 6 in 10 of the 21 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
watch
Plugin root:
<plugin_root>/skills/watch/SKILL.md— scripts live at<plugin_root>/bin/ci-sentinel.sh,bin/sentinel-daemon.sh,bin/sentinel-aggregate.sh, andbin/read-notifications.sh.
Two modes:
- Single repo (Steps 1–3): poll the current repo's PRs directly —
one-shot, or as a supervised background daemon (
--daemon). - Multi-repo (Step 4): keep a watch-list of repos and poll them all under one rate-limit-aware scheduler. Use this when the user watches PRs across several repos and wants one merged view.
Step 1: Resolve repo
Use gh repo view --json nameWithOwner --jq .nameWithOwner to get the
<owner>/<repo> slug for the current directory. If gh is missing or
the repo has no GitHub remote, tell the user to set one up and stop.
Step 2: Start, stop, or list
If the user said "stop" / --stop, stop BOTH a one-shot poll and any
backgrounded daemon (the daemon stop tears down the supervisor unit too):
bash <plugin_root>/bin/sentinel-daemon.sh stop --repo <owner/repo>For a single foreground poll cycle (default — fire-and-forget):
bash <plugin_root>/bin/ci-sentinel.sh --repo <owner/repo> [--pr <N>]The sentinel is one-shot per invocation — each run polls the named PR(s)
once and writes notification entries to
~/.claude/nyann/notifications/<repo-hash>.jsonl.
Backgrounded daemon (--daemon) — opt-in
Only when the user explicitly asks to keep watching after the session
ends (--daemon, "background watch", "keep watching after I close
this"), offer the supervised daemon. Do not start it implicitly — a
long-running background process is opt-in, mirroring the session-triage
hook-install precedent. Confirm first, then:
bash <plugin_root>/bin/sentinel-daemon.sh start --repo <owner/repo> [--pr <N>]This launches ci-sentinel.sh --daemon-loop under a platform supervisor
(launchd on macOS, a systemd user unit on Linux, nohup fallback
otherwise) so it survives the terminal closing. It polls every interval,
backs off on gh failures, and self-terminates at --max-runtime
(default 8h) as an orphan backstop. Starting is idempotent — a daemon
already running for the repo is left alone.
Delivery secrets under a supervisor: if a notification delivery channel is configured,
starthands its secret to the launchd/systemd session so the supervised daemon can reach it. While the daemon runs the secret is visible to your other same-user processes in that session; it is cleared onstop. (Thenohupfallback inherits your shell env directly and exposes nothing extra.)
Report status (pid + supervisor + watched PRs; flags a stale daemon) with:
bash <plugin_root>/bin/sentinel-daemon.sh status --repo <owner/repo>doctor also surfaces any running/stale sentinel so it's never invisible.
Step 3: Show outstanding notifications
After polling (or whenever the user asks "what's new on my PRs?"):
bash <plugin_root>/bin/read-notifications.sh --repo <owner/repo>This reads all queued notifications and truncates the file. Use
--peek if you want to leave the queue intact.
Render the result as a short list:
[nyann] 2 notifications since last check:
- PR #42: CI failed (2h ago)
- PR #43: approved (15m ago)Step 4: Multi-repo watch-list (aggregation)
When the user watches PRs across several repos, manage a watch-list and
poll them all at once instead of running the single-repo flow per repo.
The watch-list lives at ~/.claude/nyann/watch-list.json (an array of
{repo, prs?}); manage it via bin/sentinel-aggregate.sh, because one
scheduler must own the GitHub rate budget for all repos.
Add / remove / list watched repos:
bash <plugin_root>/bin/sentinel-aggregate.sh --add <owner/repo> [--pr <N>]
bash <plugin_root>/bin/sentinel-aggregate.sh --remove <owner/repo>
bash <plugin_root>/bin/sentinel-aggregate.sh --list--add is idempotent (re-adding never duplicates; --pr merges into the
repo's PR set), so you can run it freely. Malformed slugs are rejected.
Poll every watched repo in one cycle:
bash <plugin_root>/bin/sentinel-aggregate.sh --pollThis runs ci-sentinel.sh once per repo, but a single scheduler tracks the
GitHub core rate budget and backs off globally (adaptive interval, all
repos) when the budget runs low — because N repos × M PRs would otherwise
blow the 5000/hr ceiling. It prints a scheduler-summary JSON
(current_interval tells a supervising daemon how long to sleep next).
To keep the whole watch-list polling in the background after the session ends (same opt-in confirm as the single-repo daemon — a long-running process is never started implicitly), supervise the aggregate loop via the daemon manager:
bash <plugin_root>/bin/sentinel-daemon.sh start --aggregate
bash <plugin_root>/bin/sentinel-daemon.sh status --aggregate
bash <plugin_root>/bin/sentinel-daemon.sh stop --aggregateThis launches sentinel-aggregate.sh --daemon-loop under launchd / systemd /
nohup, sleeping each cycle's current_interval and self-capping at
--max-runtime (8h). One aggregate daemon runs per user; doctor surfaces it
alongside any per-repo daemons.
Read the unified, repo-tagged view across every watched repo:
bash <plugin_root>/bin/read-notifications.sh --allEach entry is tagged with context.repo so you can say which repo it came
from. --all drains every watched queue (use --peek to leave them
intact). Render grouped by repo:
[nyann] 3 notifications across 2 repos:
acme/api:
- PR #42: CI failed (2h ago)
acme/web:
- PR #7: approved (15m ago)
- PR #9: merged into main (1h ago)When to hand off
- "Wait until CI passes" →
wait-for-pr-checks(blocking). - "Merge the PR when CI passes" →
ship(PR + merge in one step).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

