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.
npx skills add Unique-Divine/jiyuu --skill gh-ci-watchgit clone --depth 1 https://github.com/Unique-Divine/jiyuuWrote 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.
[](https://agentmods.dev/skills/unique-divine/jiyuu/gh-ci-watch)<a href="https://agentmods.dev/skills/unique-divine/jiyuu/gh-ci-watch"><img src="https://agentmods.dev/badge/skills/unique-divine/jiyuu/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.
<a href="https://agentmods.dev/skills/unique-divine/jiyuu/gh-ci-watch"><img src="https://agentmods.dev/badge/skills/unique-divine/jiyuu/gh-ci-watch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00074 | $0.01439 |
| Opus 5.5 | $0.00030 | $0.00576 |
| Sonnet 5.5 | $0.00015 | $0.00288 |
| Haiku 4.5 | $0.00007 | $0.00144 |
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 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.
How it starts
The opening of the file, as written. The whole thing — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GitHub CI Watch
Watch GitHub pull request CI until checks pass, fail with actionable logs, or reach a timeout. Keep noisy command output out of the final answer. Save detailed logs locally, then report the important failures clearly. If the logs show a trivial, high-confidence local fix, make it and stage only the files touched by that fix.
Workflow
-
Identify the PR:
- If the user gives a PR number or URL, use it.
- Otherwise use the repository at the current working directory.
- Infer the PR associated with the current branch using
gh pr view. - If there is no PR for the current branch, stop and report that blocker.
- Do not switch branches or repositories unless the user explicitly asks.
-
Create a local temporary log directory:
- Use a deterministic base under
${TMPDIR:-/tmp}/<owner>__<repo>/. - Prefer this shape:
${TMPDIR:-/tmp}/<owner>__<repo>/pr-<number>-checks/<utc-timestamp>/ - Sanitize
<owner>__<repo>and branch fallback names to lowercase letters, numbers, dots, underscores, and hyphens. - Use
gh repo view --json nameWithOwnerandgh pr view --json numberwhen available. - If no PR number is available yet, use
branch-<branch-slug>instead ofpr-<number>-checks. - Create subfiles such as
checks.txt,summary.md, andrun-<id>-<job>.logas useful. - Tell the user the final log directory path.
- Use a deterministic base under
-
Check status with short, visible poll turns:
- Run
gh pr checksand save output under the log directory. - Default poll interval: 20 seconds.
- Default timeout: 30 minutes unless the user specifies otherwise.
- Do not put the entire watch in one long shell loop with a huge
block_until_ms/ sleep budget. Cursor only surfaces that command's output when the shell finishes or is interrupted, so the chat looks idle while CI is still running. - Preferred pattern (multi-turn foreground):
- One Shell call:
gh pr checks(and optional JSON rollup). - If still pending: briefly tell the user which checks are pending vs
done, then Shell
sleep 20(orAwaitShellwith ~20s), then poll again in the next turn. - Repeat until green, failed, or timeout. Track elapsed time across turns.
- One Shell call:
- Optional background pattern (only if the user asks for background
monitoring): start a poller with
block_until_ms: 0that appends tochecks.txtand prints clear terminal lines such asCI_STATUS green,CI_STATUS failed, orCI_STATUS timeout. Usenotify_on_outputfor those markers so the agent is woken when the watch ends. Still give an immediate first status in chat after starting it. - Between polls, keep chat updates short: pending count / names, any newly finished checks, elapsed time. Do not dump full check tables every turn unless something changed meaningfully.
- Run
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.
- 1mo ago First seen · 128 lines · 74 tokens per session scan A 88b1afd65b91
gh-ci-watch is a skill published in the GitHub repository Unique-Divine/jiyuu (6 stars, last pushed 4d ago), licensed MIT. It adds 74 tokens to every session and 1,439 once invoked, about $0.0003 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.
Other skills, from other repositories
vhs-e2e-gif
Record a test run, a TUI session, or any terminal command as a GIF with VHS and attach it to a GitHub PR as a release-hosted asset, never a repo commit. Use when asked to record an e2e run, demo a fix on a PR, attach a GIF or screen recording to a pull request, show a test passing visually, or produce a terminal…
check-linters-before-commit
Before any commit, run linters, vet, tests, and build verification; do not commit until checks pass.
gh-infra
Overview of gh-infra and command workflow (import, validate, plan, apply). Use when managing GitHub repository settings, labels, actions settings, rulesets, secrets, variables, or files declaratively via YAML manifests.
go-delivery-platform
Use when CI/CD, artifact provenance, drift, containers, migrations, rollout, or control-plane evidence determines whether a candidate may ship.
merge-conflict-resolution
Use when an in-progress merge, rebase, cherry-pick, or revert has conflicted hunks that require intent reconstruction, resolution, proof, and continuation.
session-repo
Restart this Claude session inside the git repository it is working on, keeping the conversation. Use when a remote (crctl / screen) session was started outside its repo - e.g. in the home directory - so the Claude apps show no branch, diff or pull request for it; or when the user asks to restart this session, move…