mcpbeat Sign in

Ca Watch Agent Skill

Watch a PR's CI to completion — diagnose on red, notify and offer the merge on green. Never auto-merges.

892 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
138
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/arbiterForge/codeArbiter --skill ca-watch

The instruction itself

6 sections, as written by the author

$ca-watch — PR CI babysitter

Watch a pull request's checks to completion without babysitting them by hand. The

wait happens server-side, so it costs nothing while CI runs; arbiter wakes once, on

the verdict — diagnoses a red, or offers you the merge on a green. Arbiter never

pulls the merge trigger.

Precondition

Requires the GitHub CLI authenticated (gh auth status). If gh is absent or

unauthenticated, report the precondition failure naming gh and STOP — do not start

a phantom watcher.

Flow

  • Resolve the PR from $ARGUMENTS (number, URL, or branch; default to the

current branch's PR).

  • Watch to completion — run the watch as a detached background task built on

the server-side block:

   gh pr checks <PR> --watch

This blocks until every check finishes and then exits non-zero on failure. It is

NOT a polling loop — there is no interval-based wake-up. Arbiter is re-invoked once

when the watch process exits.

  • On red — retrieve the failing job's logs (gh run view --log-failed /

gh pr checks) and act at the configured depth. Resolve that depth with the

canonical resolver rather than reading the env var by hand (so the accepted

values can't drift):

   python3 "${CLAUDE_PLUGIN_ROOT}/hooks/babysit.py" --root "<project-root>" || python "${CLAUDE_PLUGIN_ROOT}/hooks/babysit.py" --root "<project-root>"

It prints one JSON line; act at its on_red value (CODEARBITER_BABYSIT_ONRED,

default propose):

  • propose — name the likely cause and propose a concrete fix. Do NOT edit

any tracked file; applying the fix routes through $ca-fix or $ca-feature.

  • branch — additionally open a spike/fix-* branch carrying the proposed

change for review. That branch is a spike: it can never PR or merge. The default

branch is left untouched.

  • On green — notify the user and present a merge offer (the gh pr merge

command, ready to run). The watcher itself NEVER merges. If the PR targets the

default branch, the merge routes through the merge-to-default hard gate — the offer

cannot bypass it.

On/off

A global flag, CODEARBITER_BABYSIT (default off, mirrors CODEARBITER_PRUNE),

governs auto-attachment: when on, $ca-pr auto-attaches a watcher to the PR it

opens. $ca-watch <PR> works ad-hoc regardless of the flag. The flag is never set on

the user's behalf — enabling it is the user's explicit choice. Both the command and

the flag are dormant in a repo without arbiter: enabled.

When NOT to use

  • Open the PR first → $ca-pr.
  • Apply a fix for a diagnosed red → $ca-fix (or $ca-feature).
  • Review a diff without watching CI → $ca-review.

Hard gate

  • MUST NOT auto-merge. Green → notify + offer only; the watcher never invokes

gh pr merge.

  • A merge into the default branch MUST route through the merge-to-default hard gate —

the green offer cannot and does not bypass it.

  • MUST NOT implement a polling loop that re-invokes the model on a timer — the watch

is the server-side gh pr checks --watch block.

  • MUST surface a missing/unauthenticated gh as a precondition failure, not a silent

no-op.

  • At depth propose MUST NOT edit any tracked file; at depth branch the proposed

change lands only on an unmergeable spike/fix-* branch.

Other skills for the same job

different authors, same section of the catalogue
Protocolsio Integration
by christophacham
×4

Integration with protocols.io API for managing scientific protocols. This skill should be used when working with protocols.io to search, create, update, or publish protocols; manage protocol steps and materials; handle discussions and comments; organize workspaces; upload and manage files; or integrate protocols.io functionality into workflows. Applicable for protocol discovery, collaborative protocol development, experiment tracking, lab protocol management, and scientific documentation.

16k tokens
Tailored Resume Generator
by frostant
×4

Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances

3k tokens
Excalidraw Diagram Generator
by github
vendor ×3

Generate Excalidraw diagrams from natural language descriptions. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", or "generate an Excalidraw file". Supports flowcharts, relationship diagrams, mind maps, and system architecture diagrams. Outputs .excalidraw JSON files that can be opened directly in Excalidraw.

36k tokens scripts
Expo Dev Client
by openai
vendor ×3

Build and distribute Expo development clients locally or via TestFlight

961 tokens
Executing Plans
by ZhanlinCui
×3

Use when you have a written implementation plan to execute in a separate session with review checkpoints

542 tokens
Anndata
by christophacham
×3

Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.

16k tokens
Benchling Integration
by christophacham
×3

Benchling R&D platform integration. Access registry (DNA, proteins), inventory, ELN entries, workflows via API, build Benchling Apps, query Data Warehouse, for lab data management automation.

14k tokens
Biopython
by christophacham
×3

Comprehensive molecular biology toolkit. Use for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Best for batch processing, custom bioinformatics pipelines, BLAST automation. For quick lookups use gget; for multi-service integration use bioservices.

24k tokens

How to use it

Copy the folder

Take arbiterforge/ca-watch from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.