nx-ci-monitor

Monitors Nx Cloud CI pipelines and applies self-healing fixes automatically.

Updated Sep 15, 2026
One-click install
npx skills add https://github.com/Peterson-Benhame/agent-skills --skill nx-ci-monitor-peterson-benhame
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-ci-monitor
Source: https://github.com/Peterson-Benhame/agent-skills/tree/main/packages/skills-catalog/skills/%28tooling%29/nx-ci-monitor
Command: npx skills add https://github.com/Peterson-Benhame/agent-skills --skill nx-ci-monitor-peterson-benhame

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Watching CI pipelines manually and fixing failures by hand is slow and repetitive. This Skill continuously monitors Nx Cloud CI pipeline executions (CIPEs), detects failures, and orchestrates self-healing fixes so broken builds get resolved without constant human babysitting. ## Core Features & Use Cases - Automated CI Monitoring: Spawns a ci-watcher subagent to poll Nx Cloud CIPE status with configurable cycles, timeouts, and verbosity levels. - Self-Healing Fix Orchestration: Applies, rejects, or locally enhances AI-generated fixes via Nx Cloud MCP tools, with local verification of failed tasks before pushing. - Pre-CI Failure Recovery: Detects when no new CIPE spawns and can auto-fix common issues like outdated lockfiles. - Use Case: You push a branch and say "watch CI". The Skill polls the pipeline, finds a failing lint task, applies the self-healing fix via MCP, waits for the new CIPE, and reports success when the build goes green. ## Quick Start Ask your agent to "watch CI and fix any failures on my current branch" in an Nx workspace connected to Nx Cloud.

Frequently Asked Questions about nx-ci-monitor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I monitor Nx Cloud CI pipelines automatically?

Run the ci-monitor command in an Nx workspace connected to Nx Cloud. It spawns a ci-watcher subagent that polls CIPE status, reports state changes, and triggers default actions like applying self-healing fixes until the pipeline succeeds or a timeout is reached.

How does Nx Cloud self-healing fix CI failures?

When a CIPE fails, Nx Cloud self-healing generates a suggested fix. The monitor can apply it via the MCP update_self_healing_fix tool, apply it locally with nx apply-locally for enhancement, or reject it and fix from scratch, then push and wait for a new CIPE.

Does nx-ci-monitor work without an Nx Cloud connection?

No. The Skill checks nx.json for nxCloudId or nxCloudAccessToken before starting and exits immediately if neither exists. It is designed specifically for Nx Cloud CIPEs, not local task execution or generic CI debugging.

What happens when no new CIPE is detected after pushing a fix?

The subagent returns a no_new_cipe status after the new-CIPE timeout (default 10 minutes). If --auto-fix-workflow is enabled, the monitor attempts a lockfile update and pushes it; otherwise it exits with guidance to check the CI provider for pre-Nx failures.

Can I override the default fix-apply behavior?

Yes. User instructions passed as arguments override defaults, such as never auto-applying fixes, prompting before each git push, auto-rejecting e2e task fixes, or requiring a minimum confidence threshold before applying.

When should I not use nx-ci-monitor?

Do not use it for running local Nx tasks (use nx-run-tasks instead) or for debugging CI systems outside Nx Cloud. It only orchestrates monitoring and self-healing for Nx Cloud-connected workspaces.