Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/nrwl-monitor-ci-f5c4f4
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: devops, data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/monitor-ci
What's inside
- Skill name
monitor-ci- 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.
- License
- MIT
- Instructions
- 302 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (4)
- SKILL.md
- fix-flows.md · references/
- ci-poll-decide.mjs · scripts/
- ci-state-update.mjs · scripts/
SKILL.md (first lines)
# 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 $ARGUMENTS **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 `$ARGUMENTS` 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. ### Step 0: Verify Nx Cloud Connection 1. **Check `nx.json`** at workspace root for `nxCloudId` or `nxCloudAccessToken` 2. **If `nx.json` missing OR neither property exists** → exit with: ``` Nx Cloud not connected. Unlock 70% faster CI and auto-fix broken PRs with https://nx.dev/nx-cloud ``` 3. **If connected** → continue to main loop ## Architecture Overview 1. **This skill (orchestrator)**: spawns subagents, runs scripts, prints status, does local coding work 2. **ci-monitor-subagent (haiku)**: calls one MCP tool (ci_information or update_self_healing_fix), returns structured result, exits 3. **ci-poll-decide.mjs (deterministic script)**: takes ci_information result + state, returns action + status message 4. **ci-state-update.mjs (deterministic script)**: manages budget gates, post-action state transitions, and cycle classification ## Status Reporting The decision script handles message formatting based on verbosity. When printing messages to the user: - Prepend `[monitor-ci]` to every message from the script's `message` field - For your own action messages (e.g. "Applying fix via MCP..."), also prepend `[monitor-ci]` ## Anti-Patterns These behaviors cause real problems — racing with self-healing, losing CI progress, or wasting context: | Anti-Pattern | Why It's Bad | | ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ | | Using CI provider CLIs with `--watch` flags (e.g., `gh pr checks --watch`, `glab ci status -w`) | Bypasses Nx Cloud self-healing entirely | | Writing custom CI polling scripts | Unreliable, pollutes context, no self-healing | | Cancelling CI workflows/pipelines | Destructive, loses CI progress | | Running CI checks on main agent | Wastes main agent context tokens | | Independently analyzing/fixing CI failures while polling | Races with self-healing, causes duplicate fixes and confused state | **If this skill fails to activate**, the fallback is: 1. Use CI provider CLI for a one-time, read-only status check (single call, no watch/polling flags) 2. Immediately delegate to this skill with gathered context 3. Do not continue polling on main agent — it wastes context tokens and bypasses self-healing ## Session Context Behavior If the user previously ran `/monitor-ci` in this session, you may have prior state (poll counts, last CI Attempt URL, etc.). Resume from that state unless `--fresh` is set, in which case discard it and start from Step 1. ## MCP Tool Reference Three field sets control polling efficiency — use the lightest set that gives you what you need: ```yaml WAIT_FIELDS: 'cipeUrl,commitSha,cipeStatus' LIGHT_FIELDS: 'cipeStatus,cipeUrl,branch,commitSha,selfHealingStatus,verificationStatus,userAction,failedTaskIds,verifiedTaskIds,selfHealingEnabled,failureClassification,couldAutoApplyTasks,autoApplySkipped,autoApplySkipReason,shortLink,confidence,confidenceReasoning,hints,selfHealingSkippedReason,selfHealingSkipMessage' HEAVY_FIELDS: 'taskOutputSummary,suggestedFix,suggestedFixReasoning,suggestedFixDescription' ``` The `ci_information` tool accepts `branch` (optional, defaults to current git branch), `select` (comma-separated field names), and `pageToken` (0-based pagination for long strings). The `update_self_healing_fix` tool accepts a `shortLink` and an action: `APPLY`, `REJECT`, or `RERUN_ENVIRONMENT_STATE`. ## Default Behaviors by Status The decision script returns one of the following statuses. This table defines the **default behavior** for each. User instructions can override any of these. **Simple exits** — just report and exit: | Status | Default Behavior | | ----------------------- | ---------------------------------------------------------------------------------------------------------------- | | `ci_success` | Exit with success | | `cipe_canceled` | Exit, CI was canceled | | `cipe_timed_out` | Exit, CI timed out | | `polling_timeout` | Exit, polling timeout reached | | `circuit_breaker` | Exit, no progress after 13 consecutive polls | | `environment_rerun_cap` | Exit, environment reruns exhausted | | `fix_auto_applying` | Self-healing is handling it — just record `last_cipe_url`, enter wait mode. No MCP call or local git ops needed. | | `error` | Wait 60s and loop | **Statuses requiring action** — when handling these in Step 3, read `references/fix-flows.md` for the detailed flow: | Status | Summary | | ------------------------ | --------------------------------------------------------------------------------------------- | | `fix_auto_apply_skipped` | Fix verified but auto-apply skipped (e.g., loop prevention). Inform user, offer manual apply. | | `fix_apply_ready` | Fix verified (all tasks or e2e-only). Apply via MCP. |
From nrwl/nx-ai-agents-config, MIT.
More from nrwl/nx-ai-agents-config
- 0.629score
nx-workspace
nrwl
Explore and understand Nx workspaces.
SkillAFreshness: A★ 29Claude Code +9 - 0.629score
nx-cloud-cache-investigator
nrwl
Investigate a specific Nx cache miss, artifact download or extraction failure, same-hash non-replay, or suspected unsafe cache replay.
SkillAFreshness: A★ 29Claude Code +9 - 0.629score
nx-cloud-api
nrwl
Query the read-only Nx Cloud Public API for workspace data with `npx nx-cloud api`.
SkillAFreshness: A★ 29Claude Code +9 - 0.624score
nx-cloud-ci-failure-review
nrwl
Review failed Nx Cloud CI pipeline executions and group recurring, evidence-based failure patterns.
SkillAFreshness: A★ 29Claude Code +9 - 0.624score
nx-generate
nrwl
Generate code using nx generators.
SkillAFreshness: A★ 29Claude Code +9 - 0.480score
nx-import
nrwl
Import, merge, or combine repositories into an Nx workspace using nx import.
SkillDFreshness: D★ 29Claude Code +9 - 0.475score
nx-run-tasks
nrwl
Helps with running tasks in an Nx workspace.
SkillDFreshness: D★ 29Claude Code +9 - 0.475score
link-workspace-packages
nrwl
Link workspace packages in monorepos (npm, yarn, pnpm, bun).
SkillDFreshness: D★ 29Claude Code +9 - 0.470score
nx-plugins
nrwl
Find and add Nx plugins.
SkillDFreshness: D★ 29Claude Code +9
Signals
- Stars
- 29
- Forks
- 10
- Open issues
- 6
- Last commit (this folder)
- Jul 23, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/nrwl/nx-ai-agents-config
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.365score
monitor-ci
whimzyLive
Monitor Nx Cloud CI pipeline and handle self-healing fixes.
SkillAFreshness: A★ 3Claude Code +9 - 0.365score
monitor-ci
storm-software
Monitor Nx Cloud CI pipeline and handle self-healing fixes.
SkillAFreshness: A★ 3Claude Code +9 - 0.365score
monitor-ci
whimzyLive
Monitor Nx Cloud CI pipeline and handle self-healing fixes.
SkillAFreshness: A★ 3Claude Code +9 - 0.361score
monitor-ci
storm-software
Monitor Nx Cloud CI pipeline and handle self-healing fixes.
SkillAFreshness: A★ 2Claude Code +9 - 0.325score
monitor-ci
nrwl
Monitor Nx Cloud CI pipeline and handle self-healing fixes.
SkillCFreshness: C★ 29Claude Code +9 - 0.325score
monitor-ci
nrwl
Monitor Nx Cloud CI pipeline and handle self-healing fixes.
SkillCFreshness: C★ 29Claude Code +9 - 0.323score
monitor-ci
nrwl
Monitor Nx Cloud CI pipeline and handle self-healing fixes.
SkillCFreshness: C★ 29Claude Code +9 - 0.246score
monitor-ci
johnnystefan
Monitor Nx Cloud CI pipeline and handle self-healing fixes.
SkillDFreshness: DClaude Code +9
More from nrwl
- 0.736score

Nx Console
nrwl
The UI for Monorepos, providing visual workflows and enriching your AI Chat with deep insights
PluginAFreshness: A★ 1.4KVS Code +3 - 0.681score
comment-analyzer
nrwl
Subagent "comment-analyzer" from nrwl/nx: Use this agent during PR review to check that a PR's comments and doc-comments are TRUE.
TemplateAFreshness: A★ 29.4KClaude Code - 0.681score
alternative-approach
nrwl
Subagent "alternative-approach" from nrwl/nx: Use this agent during PR review to independently design alternative solutions to the problem a PR solves and…
TemplateAFreshness: A★ 29.4KClaude Code - 0.681score
docs-reviewer
nrwl
Subagent "docs-reviewer" from nrwl/nx: Use this agent during PR review to answer two docs questions about any PR.
TemplateAFreshness: A★ 29.4KClaude Code - 0.681score
performance-analyzer
nrwl
Subagent "performance-analyzer" from nrwl/nx: Use this agent during PR review to analyze the runtime performance of a PR's changes along two axes - (1)…
TemplateAFreshness: A★ 29.4KClaude Code - 0.681score
security-analyzer
nrwl
Subagent "security-analyzer" from nrwl/nx: Use this agent during PR review to hunt injection-class vulnerabilities in a PR's changes - command injection…
TemplateAFreshness: A★ 29.4KClaude Code
Cite this page
monitor-ci skill. Agent Mart. https://agentmart.dev/skills/nrwl-monitor-ci-f5c4f4 (last updated 2026-10-24)