Skip to content
Back to skills

Github Ci Watch

ASecurity

Watch the main branch of one or more GitHub repositories for new CI (GitHub Actions) workflow-run failures — emits a fresh turn the moment a build breaks and stays silent while CI is green. Use when mimir maintains repos whose CI it should react to (e.g. a failing build on main after a merge it landed). Seen-set deduped so each failed run is reported exactly once. Companion to the ``pollers`` framework skill (mechanics) and the ``world-scanning`` skill (catalog of what's worth polling). Opt-i...

  • 6 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 1, 2026
devopsreactgit

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 1, 2026

npx -y skills add jasoncarreira/mimir --skill github-ci-watch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Github Ci Watch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Github Ci Watch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jasoncarreira-github-ci-watch/badge)](https://www.skillsdirectory.com/skills/jasoncarreira-github-ci-watch)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: github-ci-watch
description: "Watch the main branch of one or more GitHub repositories for new CI (GitHub Actions) workflow-run failures — emits a fresh turn the moment a build breaks and stays silent while CI is green. Use when mimir maintains repos whose CI it should react to (e.g. a failing build on main after a merge it landed). Seen-set deduped so each failed run is reported exactly once. Companion to the ``pollers`` framework skill (mechanics) and the ``world-scanning`` skill (catalog of what's worth polling). Opt-in: copy this directory into ``<home>/skills/github-ci-watch/`` then set the env vars below."
env:
  required:
    - name: GITHUB_REPOS
      description: "Comma-separated owner/repo list to watch CI on (e.g. jasoncarreira/mimir,jasoncarreira/mimirbot)."
      example: "jasoncarreira/mimir"
  optional:
    - name: GITHUB_TOKEN
      description: "GitHub PAT with repo scope. Falls back to ``gh auth token`` when unset."
      example: "ghp_..."
---

# github-ci-watch — react when CI breaks

An **opt-in poller skill** that ships with mimir under
``mimir/optional-skills/`` but is NOT auto-installed — most installs
don't watch a repo's CI, so the framework doesn't seed it by default.

It watches the ``main`` branch of each ``GITHUB_REPOS`` entry, inspects
the last few GitHub Actions workflow runs, and emits one ``ci_failure``
event per newly-failed run (conclusion ``failure`` / ``timed_out`` /
``startup_failure``). Green builds produce **zero output** — the
"silence as filter" principle: this poller only speaks when CI breaks.

## Installation

1. Copy the directory into your agent home:
   ```
   cp -r mimir/optional-skills/github-ci-watch <home>/skills/
   ```
   (Or run from inside the container against ``/workspace/mimir``.)

2. Set the env vars — at minimum ``GITHUB_REPOS`` (plus ``GITHUB_TOKEN``
   if ``gh auth`` isn't already configured in the environment).

3. The ``pollers`` framework discovers ``pollers.json`` and runs
   ``scripts/poller.py`` on its cron (default ``*/15 * * * *``).

## State

Reported run IDs are tracked in ``seen_run_ids.json`` (trimmed to the
last 200) so a given failure is reported exactly once. State lives in
``$STATE_DIR`` (resolved by the framework to a persistent per-poller
location that survives container rebuilds).

## Output

One JSONL event per new failure:
``{event_type: "ci_failure", repo, branch, workflow, conclusion,
run_id, created_at, url, prompt}`` — the ``prompt`` is the turn the
agent wakes on.

Files in this skill

  • SKILL.md2.5 KB
  • pollers.json1004 B
  • scripts/poller.py6.8 KB
  • tests/conftest.py81 B
  • tests/github_ci_test_support.py473 B
  • tests/test_github_ci_watch.py4.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in devops →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.