Agent skill

Watch PR

by tbhb in tbhb/vale-ai-tells

Wait for a pull request's checks to settle, then report what passed and what failed.

Apache-2.0Auto-check passedDevelopment

Install Watch PR

skills CLI
$ npx skills add tbhb/vale-ai-tells --skill watch-pr -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install tbhb/vale-ai-tells watch-pr --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/tbhb/vale-ai-tells.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/watch-pr .claude/skills/watch-pr && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
watch-pr
GitHub stars
116
Token cost
~860 tokens
SKILL.md length
453 words
Files
4 (incl. scripts)
Skills in repo
27
Repo updated
First seen
Licence
Apache-2.0

At a glance

Wait for a pull request's checks to settle, then report what passed and what failed.

  • Works in 2 steps: watch → report
  • Asks to watch a pull request
  • SKILL.md covers Which pull request, Step 1: watch, Step 2: report and Preconditions
  • Runs Shell scripts from its folder; calls gh

What it does

Watch PR is an agent skill from tbhb/vale-ai-tells. Wait for a pull request's checks to settle, then report what passed and what failed. Blocks in one call rather than polling, so a wait costs one turn instead of one per look. Use this whenever the user asks to watch a pull request or wait on CI, and whenever a workflow needs that answer before it can go on.

Its SKILL.md is about 860 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `scripts/guard-watch.sh`, `scripts/watch-checks.sh` and `tokens.json`).

It sits in Development, covering Pull requests. The repository describes itself as: In today's rapidly evolving landscape, vale-ai-tells is a comprehensive, cutting-edge Vale style package that empowers writers to seamlessly delve into the rich tapestry of AI…. The licence is Apache-2.0.

When your agent uses it

  • Asks to watch a pull request
  • Whenever a workflow needs that answer before it can go on

Example prompts

  • “/watch-pr”

Requirements

  • A Bash shell

Workflow steps

2 steps, taken from the step headings in SKILL.md.

  1. watch
  2. report

What it can do on your machine

Read from SKILL.md and the folder at commit 4c7abc9. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Watch PR loads about 860 tokens when it runs. Until then it costs about 79 tokens; SKILL.md has 453 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~79
When it runs · the whole SKILL.md, loaded when a task matches
~860

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from tbhb/vale-ai-tells at commit 4c7abc9, republished under its Apache-2.0 licence (© tbhb). 453 words, ~860 tokens.

Download SKILL.mdSave it as .claude/skills/watch-pr/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
watch-pr
description
Wait for a pull request's checks to settle, then report what passed and what failed. Blocks in one call rather than polling, so a wait costs one turn instead of one per look. Use this whenever the user asks to watch a pull request or wait on CI, and whenever a workflow needs that answer before it can go on.
license
Apache-2.0

Watch a pull request

Wait for the checks on a pull request to settle, then say what happened. This skill ends when the checks stop moving. Fixing what failed belongs to fix-pr, and merging belongs to merge-pr.

A guard hook runs alongside and refuses the watching forms this skill wraps, so a hand-rolled poll can't quietly replace the watcher. A plain gh pr checks for a one-off look stays open.

Which pull request

$ARGUMENTS names the pull request number when the caller knows it. An empty value means whatever is open for the current branch.

Step 1: watch

Arm the watcher through the Monitor tool, which turns each line the script prints into a notification:

text
Monitor({
  command: "bash .claude/skills/watch-pr/scripts/watch-checks.sh <number>",
  description: "checks on pull request <number>",
  timeout_ms: 1800000,
  persistent: false,
})

Omit the number to use the current branch's open pull request.

Monitor is the right tool rather than a blocking call, because the script emits one line per check the moment that check settles. A failure arrives while the slower jobs are still going, so the diagnosis starts earlier and no turn goes to waiting. The script exits once nothing is pending, which ends the watch by itself.

Never poll gh pr checks in a loop of your own. Each look costs a turn and reports a state that has already moved on.

The lines to expect:

  • WATCHING #<number> once, at the start
  • PASS <job>, SKIP <job>, or FAIL <job> <run link>, one per check as it settles
  • ALL GREEN #<number>, FAILED #<number> with N failing check(s), or TIMEOUT #<number> to close

Running the same command through Bash also works and blocks until the same ending, with the exit code reporting the outcome: 0 all passed, 1 something failed, 2 the wait ran out. Prefer Monitor. Reach for the blocking form only where the next step can't start until the answer arrives.

Override the bounds through the environment when a run is unusually slow. PR_CHECKS_TIMEOUT sets the whole wait and PR_CHECKS_INTERVAL the poll spacing, both in seconds. Keep timeout_ms past PR_CHECKS_TIMEOUT so the script reports its own timeout rather than dying at the tool's.

Show full SKILL.md (114 more words)Show less

Step 2: report

Say which checks failed and hand back. Name the pull request, the failing jobs, and the run links the script printed.

Where the caller asked only to watch, stop here. Where the caller asked for a fix, invoke fix-pr with the same number. That skill reads the logs and names the local task reproducing each failure.

A timeout isn't a failure. Say the checks were still running, give the elapsed bound, and let the caller decide whether to wait again.

Preconditions

  • gh installed and authenticated
  • a pull request open for the branch, or a number in $ARGUMENTS

The script checks both and stops with a plain message when either is missing.

© tbhb, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts) in .claude/skills/watch-pr of tbhb/vale-ai-tells.

  • SKILL.md
  • scripts/guard-watch.sh
  • scripts/watch-checks.sh
  • tokens.json

Open the folder on GitHubat commit 4c7abc9

Compare with similar skills

Watch PR next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Watch PR compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Watch PR this skilltbhb/vale-ai-tells116—~860Automated safety check: PassApache-2.0
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Check PRonyx-dot-app/onyx32k2 repos~2.3kAutomated safety check: PassMIT
PR Design DocOpenHands/OpenHands90k—~2.4kAutomated safety check: PassMIT
WooCommerce Code Reviewwoocommerce/woocommerce11k3 repos~1.1kAutomated safety check: PassCustom licence

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Check PR

    onyx-dot-app/onyx

    Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions.

    32k GitHub starsUsed in 2 repos~2.3k tokens
    DevelopmentAuto-check passed
  • PR Design Doc

    OpenHands/OpenHands

    For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…

    90k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • WooCommerce Code Review

    woocommerce/woocommerce

    Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.

    11k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Record PR Demo

    payloadcms/payload

    A skill your agent uses when a Payload pull request needs a concise visual walkthrough for reviewers.

    45k GitHub stars~1k tokensUpdated today
    DevelopmentAuto-check passed

More from tbhb/vale-ai-tells

All 27 skills in this repo
  • Analyze Session

    tbhb/vale-ai-tells

    Query a Claude Code transcript without reading it into context, then write the retrospective to disk so it remains available after the session ends.

    116 GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Codex Analyze Session

    tbhb/vale-ai-tells

    Query a Codex transcript without reading it into context, then write the retrospective to disk so it remains available after the session ends.

    116 GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Codex Fix PR

    tbhb/vale-ai-tells

    Diagnose failing pull request checks, reproduce them locally, make focused fixes, commit them through codex-commit, and refresh the published description when needed.

    116 GitHub stars~575 tokensUpdated today
    Auto-check passed
  • Codex Merge PR

    tbhb/vale-ai-tells

    Squash merge a pull request. An agent skill from tbhb/vale-ai-tells.

    116 GitHub stars~3k tokensUpdated today
    Auto-check passed
  • Codex PR

    tbhb/vale-ai-tells

    Open or update a pull request for the current branch with an independently drafted and reviewed PRAGENTDESC.md.

    116 GitHub stars~846 tokensUpdated today
    Auto-check passed
  • Codex Rebase

    tbhb/vale-ai-tells

    Replay the current branch onto its base and establish that the result is sound.

    116 GitHub stars~2k tokensUpdated today
    Auto-check passed

Categories

Questions about Watch PR

What does Watch PR do?

Wait for a pull request's checks to settle, then report what passed and what failed. Watch PR is an agent skill from tbhb/vale-ai-tells. Wait for a pull request's checks to settle, then report what passed and what failed.

When should I use Watch PR?

Watch PR fits situations like: asks to watch a pull request; whenever a workflow needs that answer before it can go on.

How do I install Watch PR in Claude Code?

Run `npx skills add tbhb/vale-ai-tells --skill watch-pr -a claude-code`. Or copy the skill folder (.claude/skills/watch-pr in tbhb/vale-ai-tells) into .claude/skills/watch-pr in your project. Claude Code loads it when a task matches its description.

How do I install Watch PR in Codex?

Run `npx skills add tbhb/vale-ai-tells --skill watch-pr -a codex`. Or copy the skill folder (.claude/skills/watch-pr in tbhb/vale-ai-tells) into .agents/skills/watch-pr in your project. Codex loads it when a task matches its description.

Can I use Watch PR in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add tbhb/vale-ai-tells --skill watch-pr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/watch-pr, .gemini/skills/watch-pr, .github/skills/watch-pr and .opencode/skills/watch-pr in your project.

What does Watch PR need to run?

Going by SKILL.md and its folder, Watch PR needs a shell for the scripts in its folder and the command-line tools its instructions call (gh). Our summary lists: A Bash shell.

Does Watch PR access the network?

SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Watch PR safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Watch PR use?

Watch PR is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Watch PR use?

About 860 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Watch PR?

Skills that share tags, products or a category with Watch PR: Finishing a Development Branch (obra/superpowers, 297k stars), PR Babysitter (openinterpreter/openinterpreter, 69k stars), Check PR (onyx-dot-app/onyx, 32k stars) and PR Design Doc (OpenHands/OpenHands, 90k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Watch PR?

tbhb (a GitHub user) maintains it in tbhb/vale-ai-tells, which has 116 GitHub stars. The repository holds 27 skills in this directory. The repository was last updated on October 9, 2026.

Source: tbhb/vale-ai-tells on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.