ci-watch

Reviewed at commit c901585

/ci-watch <pr>: polls gh pr checks every minute in the status line, no tokens.

Made by
escapeboy
What we checked

Adds /ci-watch [pr|stop], which runs the GitHub CLI (gh pr checks) in your project once a minute and shows pass, fail and pending counts in the status line, with a toast when all checks finish. It stops itself after 2 hours. It uses no tokens, reads no files and sends no prompt or code anywhere.

Review details

Static review of the source at the pinned commit; not run. Registers session.start (registers the /ci-watch command) and command.run for ci-watch. Runs $.process.run(['gh','pr','checks', <optional user-typed PR argument>, '--json','name,bucket']) in the session working directory with a 30-second timeout; the argument is passed as a separate argv item, not through a shell, so it cannot inject commands, though a user-typed value starting with '-' would be read by gh as a flag. Output is parsed as JSON; on failure the first line of gh's error is shown in the status line. Polling uses $.clock.every every 60 seconds, ends when no check is pending, on '/ci-watch stop' or after 2 hours. Uses $.ui.status and $.ui.toast. gh talks to GitHub using the user's own gh login; gh itself was not reviewed. No storage, model calls or other network use. No npm dependencies.

What it uses
  • Reads your prompts: no
  • Sees tool calls: no
  • Blocks or changes tool calls: no
  • Reads or writes files: no
  • Runs programs on your machine: yes
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: no
  • Shows something on screen: yes
Hooked events
Made this mod? Add a badge to your README

modsforClaude badge for ci-watch

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/ci-watch.svg)](https://modsforclaude.com/mods/ci-watch/)

← All mods