ci-watch

ci-watch is a skill for Claude Code from LucasSantana-Dev/sharekit. It costs 55 tokens per session (959 once invoked), scanned A, original, MIT.

A workflow for investigating failed continuous-integration checks, which are automated tests and other checks run for a commit or pull request. It finds the first meaningful failure and reports whether it blocks shipping.

In plain words
What is it for?
Use it when a pull request has red checks, a build pipeline is broken, or a merge is blocked. It helps identify the failing job, likely cause, owner, fix, and release impact.
Why use it?
It separates required failures from warnings, flaky tests, and unrelated noise. This narrows the investigation to the smallest fix that can restore the pipeline.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it when a pull request has red checks, a build pipeline is broken, or a merge is blocked. It helps identify the failing job, likely cause, owner, fix, and release impact.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lucassantana-dev/sharekit/ci-watch
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add LucasSantana-Dev/sharekit --skill ci-watch
Clone the repo
git clone --depth 1 https://github.com/LucasSantana-Dev/sharekit

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ci-watch

README.md
[![agentmods](https://agentmods.dev/badge/skills/lucassantana-dev/sharekit/ci-watch/github.svg)](https://agentmods.dev/skills/lucassantana-dev/sharekit/ci-watch)
Your own site
<a href="https://agentmods.dev/skills/lucassantana-dev/sharekit/ci-watch"><img src="https://agentmods.dev/badge/skills/lucassantana-dev/sharekit/ci-watch/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ci-watch

Your own site · 80×15
<a href="https://agentmods.dev/skills/lucassantana-dev/sharekit/ci-watch"><img src="https://agentmods.dev/badge/skills/lucassantana-dev/sharekit/ci-watch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 959 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.00959
Opus 5.5 $0.00022 $0.00384
Sonnet 5.5 $0.00011 $0.00192
Haiku 4.5 $0.00006 $0.00096

Measured 1mo ago against content hash 742920cf2e0b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ci-watch scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

sharekit-profile/.claude/skills/ci-watch/SKILL.md · 84 lines

How it starts

The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ci-watch

Use for broken checks, flaky tests, or merge-blocking pipeline noise.

Steps

  1. Identify the active PR or HEAD commit.
  2. List non-passing checks.
  3. Separate required failures from advisory noise.
  4. Inspect the first failing job deeply.
  5. Name the smallest fix or the exact reason the failure is unrelated.

Output

Return:

  • failing job
  • first bad signal
  • likely cause
  • likely owner surface
  • smallest viable fix
  • whether it blocks shipping now

PR state machine

Read gh pr view N --json mergeable,mergeStateStatus,reviewDecision first, then:

mergeable / state Action
MERGEABLE + CLEAN proceed to merge
MERGEABLE + UNSTABLE non-required check failing or pending; poll required-only checks
MERGEABLE + BEHIND gh pr update-branch or local rebase + force-push
MERGEABLE + BLOCKED check reviewDecision and branch protection; if self-PR → enforce_admins toggle pattern
CONFLICTING + DIRTY local rebase first; if git merge-tree reports clean but GH disagrees → webhook desync, close+recreate PR
UNKNOWN + UNKNOWN GitHub still computing — wait 15s, recheck once; if STILL UNKNOWN, try gh pr merge directly (may already be merged)

Polling with Monitor

For checks that take >1 min to settle, use the Monitor tool with an until-loop instead of busy-waiting:

Monitor command: until s=$(gh pr view N --json statusCheckRollup); \
  pend=$(echo "$s" | python3 -c "..."); [ "$pend" = "0" ]; do sleep 15; done

Don't issue a single long sleep — the harness blocks chained sleeps.

Common gotchas

  • UNKNOWN often means the PR was already merged in another window. Verify with gh pr view N --json state before re-arming a monitor.
  • mergeStateStatus: BLOCKED with no failing checks = review or branch protection. Look at requiredStatusChecks + requiredApprovingReviewCount.
  • BLOCKED + all green + bot review threads (CodeQL, CodeRabbit, Greptile) = unresolved conversation. Bots are not "another person" — auto-resolve via resolveReviewThread GraphQL mutation.
  • A PR head SHA that disagrees with git ls-remote for its branch ref = webhook desync. Close + recreate, don't try to nudge.

Read the full file on GitHub · 84 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 84 lines · 55 tokens per session scan A 742920cf2e0b

Subscribe to this mod's changes

ci-watch is a skill published in the GitHub repository LucasSantana-Dev/sharekit (1 stars, last pushed 3d ago), licensed MIT. It adds 55 tokens to every session and 959 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

atmos-lint

Atmos Terraform linting with TFLint: standalone atmos terraform lint, component-aware config discovery and toolchain versions, TFLint rule configuration, and lifecycle hooks/CI findings. Use when configuring, running, debugging, or documenting Terraform/OpenTofu linting in an Atmos project.

cloudposse/atmos · 64 tokens

ci-fix-monitor

Codex adapter for monitoring and fixing CI failures on opencode-swarm PRs. Use when diagnosing failed checks, fixing package-check (npm tarball) failures, resolving quality/lint/format errors, fixing macOS cross-platform file I/O failures, or watching a PR until all checks are green.

ZaxbyHub/opencode-swarm · 68 tokens

swarm-ci-monitor

Codex adapter for end-to-end CI monitoring of an already-reviewed PR in opencode-swarm. Use when the user wants the swarm to monitor a reviewed-and-approved PR's CI, research every failure exhaustively, fix end-to-end, iterate until green (max 5 cycles), then merge. Composes ci-fix-monitor for fix recipes.

ZaxbyHub/opencode-swarm · 75 tokens

diagnose-ci-failures

Diagnose failing CI, lint, typecheck, build, or test logs and propose or implement the smallest verified fix.

PyModel/pythinker-cli · 31 tokens

github-ci-fix

Fix failing PR checks, debug GitHub Actions, or account for CI follow-up rounds and wait for verification.

patrickserrano/lacquer · 27 tokens

ci-self-heal

A diagnostic guide for analysing failed continuous-integration checks. Continuous integration, or CI, automatically tests and builds code changes; this guide classifies failures and suggests fixes without editing the code.

rushengzhou/sid-code · 73 tokens