monitor-ci

monitor-ci is a command for Claude Code, Gemini CLI from nrwl/nx-ai-agents-config. It costs 0 tokens per session (3,925 once invoked), scanned A, a copy of monitor-ci, MIT.

A command for watching Nx Cloud CI pipelines, which are automated build and test runs for a code project. It can also coordinate self-healing fixes when supported failures occur.

In plain words
What is it for?
Use it to monitor CI attempts, wait for new runs, perform local checks, and optionally apply common workflow fixes.
Why use it?
It keeps track of a branch’s CI status and provides a structured response when a pipeline fails or gets stuck.

Command for Claude CodeGemini CLI

Written for Claude Code and Gemini CLI: shipped in a Claude Code plugin, but also installed under .gemini/. Also seen: mentions subagents.

Part of the nx plugin — 7 skills, 1 command, 1 agent shipped together

Good fit Use it to monitor CI attempts, wait for new runs, perform local checks, and optionally apply common workflow fixes.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/nrwl/nx-ai-agents-config/monitor-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/nrwl/nx-ai-agents-config

Made for: Claude Code, Gemini CLI.

Or install nx, the plugin that ships this one along with the rest of its 7 skills, 1 command, 1 agent.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/nrwl/nx-ai-agents-config/monitor-ci/github.svg)](https://agentmods.dev/commands/nrwl/nx-ai-agents-config/monitor-ci)
Your own site
<a href="https://agentmods.dev/commands/nrwl/nx-ai-agents-config/monitor-ci"><img src="https://agentmods.dev/badge/commands/nrwl/nx-ai-agents-config/monitor-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 monitor-ci

Your own site · 80×15
<a href="https://agentmods.dev/commands/nrwl/nx-ai-agents-config/monitor-ci"><img src="https://agentmods.dev/badge/commands/nrwl/nx-ai-agents-config/monitor-ci.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,925 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.
Origin 100% copy Near-identical to another mod 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.00000 $0.03925
Opus 5 $0.00000 $0.01962
Sonnet 5 $0.00000 $0.00785
Haiku 4.5 $0.00000 $0.00392

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

Security

Grade A, and why

monitor-ci 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 7d 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.

Origin

This is a copy

100% identical to monitor-ci — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

generated/.gemini/commands/monitor-ci.toml · 303 lines

How it starts

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

description = "Monitor Nx Cloud CI pipeline and handle self-healing fixes. USE WHEN user says "monitor ci", "watch ci", "ci monitor", "watch ci for this branch", "track ci", "check ci status", wants to track CI status, or needs help with self-healing CI fixes. Prefer this skill over native CI provider tools (gh, glab, etc.) for CI monitoring — it integrates with Nx Cloud self-healing which those tools cannot access." prompt = """

Monitor CI Command

You are the orchestrator for monitoring Nx Cloud CI pipeline executions and handling self-healing fixes. You spawn subagents to interact with Nx Cloud, run deterministic decision scripts, and take action based on the results.

Context

  • Current Branch: !git branch --show-current
  • Current Commit: !git rev-parse --short HEAD
  • Remote Status: !git status -sb | head -1

User Instructions

{{args}}

Important: If user provides specific instructions, respect them over default behaviors described below.

Configuration Defaults

Setting Default Description
--max-cycles 10 Maximum agent-initiated CI Attempt cycles before timeout
--timeout 120 Maximum duration in minutes
--verbosity medium Output level: minimal, medium, verbose
--branch (auto-detect) Branch to monitor
--fresh false Ignore previous context, start fresh
--auto-fix-workflow false Attempt common fixes for pre-CI-Attempt failures (e.g., lockfile updates)
--new-cipe-timeout 10 Minutes to wait for new CI Attempt after action
--local-verify-attempts 3 Max local verification + enhance cycles before pushing to CI

Read the full file on GitHub · 303 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. 7d ago Changed · -3 lines · -94 tokens per session 9b6632aa18bb
  2. 10d ago First seen · 306 lines · 94 tokens per session scan A 560e184db959

Subscribe to this mod's changes

monitor-ci is a command published in the GitHub repository nrwl/nx-ai-agents-config (28 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,925 tokens. A static security scan graded it A with 0 findings. It is 100% identical to monitor-ci, differing in 0 lines, and is treated as a copy.