monitor-ci

monitor-ci is a command for Claude Code, GitHub Copilot from JimmyPaolini/codebase. It costs 94 tokens per session (3,971 once invoked), scanned A, a copy of monitor-ci, MIT.

A command for watching an Nx Cloud continuous-integration pipeline, which automatically builds and tests code, and handling selected fixes.

In plain words
What is it for?
It is for tracking a branch's CI runs, checking failures, and optionally attempting configured self-healing fixes.
Why use it?
It removes the need to repeatedly check CI status and manually coordinate common recovery steps.

Command for Claude CodeGitHub Copilot

Written for Claude Code and GitHub Copilot: argument-hint in frontmatter, but also a Copilot chat mode or prompt. Also seen: mentions subagents.

Good fit It is for tracking a branch's CI runs, checking failures, and optionally attempting configured self-healing fixes.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/jimmypaolini/codebase/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/JimmyPaolini/codebase

Made for: Claude Code, GitHub Copilot.

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/jimmypaolini/codebase/monitor-ci/github.svg)](https://agentmods.dev/commands/jimmypaolini/codebase/monitor-ci)
Your own site
<a href="https://agentmods.dev/commands/jimmypaolini/codebase/monitor-ci"><img src="https://agentmods.dev/badge/commands/jimmypaolini/codebase/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/jimmypaolini/codebase/monitor-ci"><img src="https://agentmods.dev/badge/commands/jimmypaolini/codebase/monitor-ci.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 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,971 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 97% 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.00094 $0.03971
Opus 5 $0.00047 $0.01985
Sonnet 5 $0.00019 $0.00794
Haiku 4.5 $0.00009 $0.00397

Measured 6d ago against content hash 786c517d4fde, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-13, 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 6d 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

97% identical to monitor-ci — 53 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.

.github/prompts/monitor-ci.prompt.md · 306 lines

How it starts

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

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

${input: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

Parse any overrides from ${input:args} and merge with defaults.

Nx Cloud Connection Check

Before starting the monitoring loop, verify the workspace is connected to Nx Cloud. Without this connection, no CI data is available and the entire skill is inoperable.

Read the full file on GitHub · 306 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. 6d ago First seen · 306 lines · 94 tokens per session scan A 786c517d4fde

Subscribe to this mod's changes

monitor-ci is a command published in the GitHub repository JimmyPaolini/codebase (0 stars, last pushed 3d ago), licensed MIT. It adds 94 tokens to every session and 3,971 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 97% identical to monitor-ci, differing in 53 lines, and is treated as a copy.