watch-ci

watch-ci is a command for Claude Code from damusix/atomic-claude. It costs 90 tokens per session (1,726 once invoked), scanned A, original, MIT.

A command that watches the automated checks for a Git branch or selected build run. CI, short for continuous integration, is the service that automatically builds and tests code after changes.

In plain words
What is it for?
Use it after pushing code to monitor checks from services such as GitHub Actions, GitLab CI, or CircleCI. You can watch the current branch, a run or pull-request number, another branch, or a named workflow.
Why use it?
It removes the need to repeatedly check whether a build or test run has finished. It can work out which CI service the project uses and report when the run reaches a final result.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions subagents.

Good fit Use it after pushing code to monitor checks from services such as GitHub Actions, GitLab CI, or CircleCI. You can watch the current branch, a run or pull-request number, another branch, or a named workflow.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/damusix/atomic-claude/watch-ci
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.

Clone the repo
git clone --depth 1 https://github.com/damusix/atomic-claude

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/damusix/atomic-claude/watch-ci/github.svg)](https://agentmods.dev/commands/damusix/atomic-claude/watch-ci)
Your own site
<a href="https://agentmods.dev/commands/damusix/atomic-claude/watch-ci"><img src="https://agentmods.dev/badge/commands/damusix/atomic-claude/watch-ci/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 watch-ci

Your own site · 80×15
<a href="https://agentmods.dev/commands/damusix/atomic-claude/watch-ci"><img src="https://agentmods.dev/badge/commands/damusix/atomic-claude/watch-ci.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,726 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00090 $0.01726
Opus 5.5 $0.00036 $0.00690
Sonnet 5.5 $0.00018 $0.00345
Haiku 4.5 $0.00009 $0.00173

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

Security

Grade A, and why

watch-ci scanned grade A with 1 finding 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 16d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Jenkinsfile → Jenkins (curl against $JENKINS_URL)
context/commands/watch-ci.md · 144 lines

How it starts

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

Step 1 — Pre-flight

Only a missing git repo stops the command; missing signals only warn, because the subagent can still detect the provider from the file tree.

flowchart TD
    G{"Inside a git repo?"} -->|no| X["Stop"]
    G -->|yes| S{"Signals present?"}
    S -->|no| W["Warn"]
    S -->|yes| C["Capture context"]
    W --> C
  • Inside a git repo?: git rev-parse --is-inside-work-tree. No: not a git repo. /watch-ci needs a versioned project with a CI provider.

  • Signals present?: test -f docs/wiki/index.md; the subagent uses it to identify the CI provider.

  • Warn:

    note: no docs/wiki/index.md found. subagent will fall back to file-tree heuristics
    (.github/, .gitlab-ci.yml, .circleci/, Jenkinsfile, etc.).
    suggest running /refresh-wiki after to improve future runs.
    

Step 2 — Capture context for the brief

git rev-parse --abbrev-ref HEAD     # current branch
git rev-parse HEAD                  # current SHA
git remote -v | head -1             # remote URL — provider hint
pwd                                  # absolute repo path

Before the dispatch, {{ template "resolved-provider" "source-control" }}

Pass the source-control and source-control-host lines and the absolute path of the atomic-git-discipline skill's references/ directory into the brief; the subagent is in a fresh context and has no block of its own.

$ARGUMENTS may narrow the target. Pass it through verbatim — the subagent classifies it using provider-appropriate semantics:

  • empty → current branch's latest run(s)
  • integer → run / pipeline ID
  • #N or N → PR / MR number
  • branch name → that branch's runs
  • workflow / pipeline filename (.yml, .yaml) → that specific workflow

Don't classify in the foreground. Different providers use different shapes (GitHub run IDs, GitLab pipeline IDs, CircleCI workflow UUIDs), so the subagent decides.

Step 3 — Dispatch background subagent

Dispatch the harness's default general agent, by name, in the background (economical reasoning tier). Prompt: a self-contained brief containing:

Read the full file on GitHub · 144 lines

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. 16d ago Changed · +5 lines · +21 tokens per session 9253d92941ab
  2. 3mo ago First seen · 139 lines · 69 tokens per session scan A 228e864ffd13

Subscribe to this mod's changes

watch-ci is a command published in the GitHub repository damusix/atomic-claude (118 stars, last pushed yesterday), licensed MIT. It adds 90 tokens to every session and 1,726 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

watch-ci compared with commands from other repositories

watch-ci next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
watch-cidamusix/atomic-claudeCommand118yesterdayMITA90Claude Code
deploytravisjneuman/.claudeCommand1162d agoMITA8Claude Code
work-flow-releasechristopherlouet/claude-baseCommand65d agoMITA0Claude Code
work-commit-push-prchristopherlouet/claude-baseCommand65d agoMITA0Claude Code
worktreeFlorianBruniaux/claude-code-ultimate-guideCommand7.6k3d agoCC-BY-SA-4.0A11Claude Code
agentloop-audit-queryalibaba/loongsuite-pilotCommand275yesterdayApache-2.0A20Claude Code
auto-claudetravisjneuman/.claudeCommand1162d agoMITA10Claude Code