Agent skill · Workflow & Productivity

nx-ci-monitor

Monitor Nx Cloud CI pipeline status and handle self-healing fixes automatically. Use when user says "watch CI", "monitor pipeline", "check CI status", "fix CI failures", or "self-heal CI". Requires Nx Cloud connection. Do NOT use for local task execution (use nx-run-tasks) or general CI debugging outside Nx Cloud.

tech-leads-clubgithub.com/tech-leads-clubGitHub ↗
claude-codecopilotcursorNOASSERTION
Install
npx skills add tech-leads-club/agent-skills --skill nx-ci-monitor --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 21 KB
Bundled scripts: none
Path: packages/skills-catalog/skills/(tooling)/nx-ci-monitor/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 4,983
Language: TypeScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

Review
written from the skill's own SKILL.md · Aug 5, 2026

What it does

Orchestrates monitoring of Nx Cloud CI pipeline executions and handles self-healing fixes automatically by spawning the ci-watcher subagent to poll CI status and make decisions based on results.

How it works

  • Uses context like current branch, commit, and remote status to inform monitoring.
  • Parses user arguments to override configuration defaults (max cycles, timeout, verbosity, branch, timeouts, fresh start, auto-fix workflow, new-cipe timeout, local verify attempts).
  • Verifies Nx Cloud connection upfront by inspecting nx.json for nxCloudId or nxCloudAccessToken; exits with a message if not connected.
  • Runs a main loop with a ci-watcher subagent in either fresh or wait mode, tracking cycle_count, start_time, no_progress_count, local_verify_count, last_state, last_cipe_url, and expected_commit_sha.
  • Handles a variety of subagent statuses with specified default behaviors (e.g., ci_success, fix_auto_applying, fix_available, fix_failed, environment_issue, no_fix, no_new_cipe, polling_timeout, cipe_canceled, cipe_timed_out, error).
  • When fixes are available, decides between MCP application, local verification flow (detects package manager, runs verifiable tasks in parallel via <pm> nx run <taskId>, evaluates results, and may perform nx apply-locally <shortLink> with optional enhancements), or rejects fixes via MCP.
  • Supports auto-apply eligibility, applying via MCP, applying locally, or rejecting via MCP, with detailed flows for enhancement and commit/push steps.
  • Defines specific commands and file names verbatim where used (e.g., nx run, nx apply-locally, update_self_healing_fix, ci-watcher, etc.).
  • Tracks new CIPE detection via wait mode, recording last_cipe_url or expected_commit_sha to ensure old CIPEs are ignored until a new one appears.

When to use it

Use when the user asks to watch CI, monitor pipeline, check CI status, fix CI failures, or self-heal CI, and you have an Nx Cloud connection configured. Not for local task execution or general CI debugging outside Nx Cloud.

What it can touch

  • Spawns and communicates with the ci-watcher subagent (tool: claude-code).
  • May run local commands such as pnpm nx run <taskId>, nx apply-locally <shortLink>, git commit, and git push as part of local verification or fix enhancement flows.
  • Reads workspace state via nx.json, and uses file-based checks like pnpm-lock.yaml, yarn.lock, or package-lock.json to determine package manager.

Caveats

  • Requires Nx Cloud connection; otherwise exits with a specific message.
  • Behavior and flows are defined per the explicit status handling table and detailed decision logic; outcomes depend on subagent responses and the availability of fixes, verifications, and auto-apply eligibility.
  • No speculation beyond listed rules and commands; uses exact commands and flows described in the skill.
From the SKILL.md

# CI Monitor Command You are the orchestrator for monitoring Nx Cloud CI pipeline executions and handling self-healing fixes. You spawn the `ci-watcher` subagent to poll CI status and make decisions 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 $ARGUMENTS **Important:** If user provides specific instructions, respect them over default behaviors described below. ## Configuration Defaults | Setting | Default | Description | | ------------------------- | ------------- | ------------------------------------------------------------------- | | `--max-cycles` | 10 | Maximum CIPE cycles before timeout | | `--timeout` | 120 | Maximum duration in minutes | | `--verbosity` | medium | Output level: minimal, medium, verbose | | `--branch` | (auto-detect) | Branch to monitor | | `--subagent-timeout` | 60 | Subagent polling timeout in minutes | | `--fresh` | false | Ignore previous context, start fresh | | `--auto-fix-workflow` | false | Attempt common fixes for pre-CIPE failures (e.g., lockfile updates) | | `--new-cipe-timeout` | 10 | Min

What's inside
Steps it walks through
  1. Context
  2. User Instructions
  3. Configuration Defaults
  4. Nx Cloud Connection Check
  5. Step 0: Verify Nx Cloud Connection
  6. Session Context Behavior
  7. Default Behaviors by Status
  8. Fix Available Decision Logic
  9. Unverified Fix Flow (No Verification Attempted)
  10. Auto-Apply Eligibility
  11. Apply vs Reject vs Apply Locally
  12. Apply Locally + Enhance Flow
  13. Reject + Fix From Scratch Flow
  14. Environment Issue Handling
Commands it runs
git commit -m "fix(<projects>): <brief description>
Failed tasks: <taskId1>, <taskId2>
Local verification: passed|enhanced|failed-pushing-to-ci"
git add -A
git commit -m "fix: resolve <failedTaskIds>"
git push origin $(git branch --show-current)
pnpm install   # or npm install / yarn install
git add pnpm-lock.yaml  # or appropriate lockfile
git commit -m "chore: update lockfile"
More from agent-skills
All skills →
About this skill
What does the nx-ci-monitor skill do?

Monitor Nx Cloud CI pipeline status and handle self-healing fixes automatically. Use when user says "watch CI", "monitor pipeline", "check CI status", "fix CI failures", or "self-heal CI". Requires Nx Cloud connection. Do NOT use for local task execution (use nx-run-tasks) or general CI debugging outside Nx Cloud.

How do I install it?

Run `npx skills add tech-leads-club/agent-skills --skill nx-ci-monitor --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From tech-leads-club/agent-skills, a repository with 4,983 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going