ci-watch

ci-watch is a skill for Claude Code, Codex 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 CodeCodex

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.

agentmods
npx agentmods add skills/lucassantana-dev/sharekit/ci-watch
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, Codex.

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00055 $0.00959
Opus 5 $0.00028 $0.00479
Sonnet 5 $0.00011 $0.00192
Haiku 4.5 $0.00006 $0.00096

Measured 3d ago against content hash 742920cf2e0b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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. 3d 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.0003 per session on Opus 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

prpm-development

Use when developing PRPM (Prompt Package Manager) - comprehensive knowledge base covering architecture, format conversion, package types, collections, quality standards, testing, and deployment.

pr-pm/prpm · 36 tokens

creating-cursor-rules-skill

Expert guidance for creating effective Cursor IDE rules with best practices, patterns, and examples.

pr-pm/prpm · 24 tokens

creating-opencode-plugins

Use when creating OpenCode plugins that hook into command, file, LSP, message, permission, server, session, todo, tool, or TUI events - provides plugin structure, event API specifications, and implementation patterns for JavaScript/TypeScript event-driven modules.

pr-pm/prpm · 59 tokens

thoroughness

Use when implementing complex multi-step tasks, fixing critical bugs, or when quality and completeness matter more than speed - ensures comprehensive implementation without shortcuts through systematic analysis, implementation, and verification phases.

pr-pm/prpm · 40 tokens

Cursor rules for Convex development with best practices

Skill "Cursor rules for Convex development with best practices" from AmariahAK/atlarix-skills, covering cursor rules for convex development with best practices, when to use this skill, source, convex guidelines and function guidelines.

AmariahAK/atlarix-skills · 9 tokens

Cursor rules for setting up email-to-Telegram forwarding via Cloudflare Email Ro

Cursor rules for setting up email-to-Telegram forwarding via Cloudflare Email Routing and Workers using the mail2tg CLI.

AmariahAK/atlarix-skills · 16 tokens