gh-ci-watch

gh-ci-watch is a skill for Claude Code from YuDefine/nuxt-supabase-starter. It costs 46 tokens per session (1,313 once invoked), scanned A, original, MIT.

A watcher for GitHub Actions, the service that runs automated checks and deployments for a repository. It waits for a selected workflow run or commit to reach a final state and collects its logs.

In plain words
What is it for?
Use it after a push to monitor tests or deployments, wait for a specific run or commit, inspect the runner queue, and gather log evidence when the run finishes.
Why use it?
It removes the need to repeatedly check CI status by hand or keep an AI agent running during the wait. It also handles delayed runs, cancelled runs, replacement runs, and multiple runs for the same commit.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it after a push to monitor tests or deployments, wait for a specific run or commit, inspect the runner queue, and gather log evidence when the run finishes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yudefine/nuxt-supabase-starter/gh-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 YuDefine/nuxt-supabase-starter --skill gh-ci-watch
Clone the repo
git clone --depth 1 https://github.com/YuDefine/nuxt-supabase-starter

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 gh-ci-watch

README.md
[![agentmods](https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/gh-ci-watch/github.svg)](https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/gh-ci-watch)
Your own site
<a href="https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/gh-ci-watch"><img src="https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/gh-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 gh-ci-watch

Your own site · 80×15
<a href="https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/gh-ci-watch"><img src="https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/gh-ci-watch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,313 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 59
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 61
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.00046 $0.01313
Opus 5.5 $0.00018 $0.00525
Sonnet 5.5 $0.00009 $0.00263
Haiku 4.5 $0.00005 $0.00131

Measured 9d ago against content hash 13e8607f0ac8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gh-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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/gh-ci-watch.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

template/.claude/skills/gh-ci-watch/SKILL.md · 55 lines

How it starts

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

/gh-ci-watch — GitHub Actions 與 PR 狀態的監看 / 查詢唯一入口

監看 CI 由 skill-local script 機械輪詢到 terminal state,主線只在完成時收到一次通知;一次 gh call 拿得到的答案則前景查詢。script 由 adapter 綁定成 $GH_CI_WATCH(clade home 是 capabilities/core/scripts/gh-ci-watch.sh)。

SOP

Phase 1 -- 判定監看或一次性查詢

  1. THINK 一次 gh call 拿得到答案(查 run、撈 log 證據、查 runner 佇列、查 PR 狀態、撞 API 限流)就是查詢,跳到 Phase 5;要等 terminal state 才是監看。
  2. THINK 先讀取 rules/監看機制判準.md,確認本次用 script 機械輪詢、不用 LLM watcher/前景 watch/ad-hoc 輪詢,並確認該 workflow 的 on: 會被本次 diff 觸發;不會觸發就回報並停止。

Phase 2 -- 固定目標 ref 並選派工命令

  1. THINK 先讀取 rules/目標ref與場景選擇判準.md,依「切片 draft PR/merge 後 staging/已知 run id/tag 觸發/branch push/指定 SHA」選定不可變 ref、命令形狀與 flags。
  2. READ 若 workflow 檔名不確定,先跑 gh workflow list。

Phase 3 -- 背景派出 watcher

  1. DELEGATE 由 target adapter 的 background command runner 執行選定的 bash "$GH_CI_WATCH" <run|workflow> …(cwd=該 repo,或帶 --repo <owner>/<repo>),主線繼續原工作;核對 script 第一行回顯的 subject 與 tag 是剛推的那一個。
  2. THINK 要改監看目標時,kill 舊 watcher 再派新命令;要確認 watcher 還活著,只用 adapter 的 owner-status 查詢。

Phase 4 -- 收到完成通知後分流

  1. READ 讀取輸出尾段(=== CI WATCH RESULT === 起)。
  2. THINK 先讀取 rules/RESULT分流與push後政策.md,依 exit code/RESULT: 與 push 情境(切片 PR base main/integration/<work-id>、發版 push)處置並主動回報。
  3. THINK 紅燈時先讀取 rules/紅燈先比最後綠燈判準.md,跑 RANGE 逐條看 commit 判定起點,再進 root-cause。

Phase 5 -- 一次性查詢

  1. DELEGATE 先讀取 references/gh-commands.md,前景執行對應的 gh run/gh pr view/gh api 命令。
  2. THINK 查的是 PR 狀態或撞了 API 限流時,先讀取 rules/PR狀態與限流判讀判準.md,依 predicate 判讀並處置;要等這張 PR 的 CI 出結果就回到 Phase 2。
  3. THINK 一個問題要逐 run/逐 PR 打超過 100 次 gh 時,MUST 改用每頁 100 筆的列表 API(gh api 'repos/<o>/<r>/actions/runs?per_page=100')、GraphQL 一次撈完,或 node vendor/scripts/gh-throttle.ts --background --cache-ttl <秒> -- gh …;NEVER 自寫併發迴圈或 xargs -P/python 併發逐筆打 gh——帳號 core 5000/hr 全 fleet 共用,2026-10-30 一支 16 併發腳本十分鐘打到 0。session 裡的 gh 經 shim 記帳,回 exit 75 且 stderr 印「非急件 gh 暫停」或「本 session 近一小時已直打」時就是撞到額度門檻:停下改走上述路徑,NEVER 重試或關掉 shim 繞過。

Description 原文(E1 搬入)

frontmatter description 上限 250 字元(白名單 300);被縮掉的觸發詞、流程敘述與 NOT for 全文留在這裡,不刪內容。

Read the full file on GitHub · 55 lines

Files

What ships with it

7 files 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. 9d ago Changed · +6 lines · -65 tokens per session 13e8607f0ac8
  2. 27d ago Changed · -23 tokens per session 177513925c02
  3. 1mo ago Changed · +1 lines d23f542770ab
  4. 1mo ago Changed · -1 lines 18f682b5dc31
  5. 1mo ago Changed · -153 lines · +34 tokens per session fc87d69b077e
  6. 2mo ago Changed · -20 lines 008223e99d05
  7. 2mo ago Changed b3e667261a84
  8. 2mo ago Changed · +37 lines · +24 tokens per session e4aad3eb4fa0
  9. 2mo ago Changed · -1 tokens per session 6e818eb287a9
  10. 2mo ago First seen · 185 lines · 77 tokens per session scan A 52282f419f15

Subscribe to this mod's changes

gh-ci-watch is a skill published in the GitHub repository YuDefine/nuxt-supabase-starter (45 stars, last pushed 2d ago), licensed MIT. It adds 46 tokens to every session and 1,313 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-09-03.

Related

gh-ci-watch compared with skills from other repositories

gh-ci-watch next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gh-ci-watchYuDefine/nuxt-supabase-starterSkill452d agoMITA46Claude Code
nw-par-review-criterianWave-ai/nWaveSkill63611d agoMITA15Claude Code
shipping-and-launchloiane/specs-driven-development-spring-angularSkill6623d agoMITA64Claude Code
loom-builder-prrjwalters/kicad-toolsSkill7713d agoMITA33Claude Code, Codex
uipath-aopsUiPath/skillsSkill186todayMITA0Claude Code
github-cisorah/configSkill319d agoMITB172Claude Code
deploy-localsaajunaid/caddis-pluginSkill04d agoMITA45Claude Code, Codex