Skip to content
Join free
nrwl

Nx AI Agents Config skills

40 agent skills by nrwl.

$npx skills add nrwl/nx-ai-agents-config
Stars
29
Installs
123k
Forks
9
Updated
31 h ago
License
MIT

nrwl

Nx AI Agents Config

Open on GitHub

About the author

nrwl

40 skills in this pack.

Showing 10 of 40. See the full pack on GitHub.

From the README

How to use nx-ai-agents-config

Nx Logo

Nx AI Agent Skills

Official AI agent configuration artifacts for Nx. Skills, subagents, and commands that enhance AI coding assistants with Nx-specific capabilities.

Claude Code Cursor GitHub Copilot Gemini OpenCode
License

Installation · Features · Contributing

Getting Started

The easiest way to add these AI agent configurations to your Nx workspace is by running:

nx configure-ai-agents

This will set up the appropriate configuration files for your preferred AI tools.

Preview: the nx and nx-cloud plugins

plugins/ holds two plugins that work across coding agents without any per-agent build: nx (workspace skills and the nx MCP server) and nx-cloud (CI monitoring, CI failure review, cache investigation, the Nx Cloud API, and the hosted Nx Cloud MCP server). They are not yet what nx configure-ai-agents installs.

Claude Code: the marketplace is a single file, so add it by URL and enable the plugins in .claude/settings.json. Disable the current nx@nx-claude-plugins plugin in the same file, since both are named nx:

{
  "extraKnownMarketplaces": {
    "nx-plugins": {
      "source": {
        "source": "url",
        "url": "https://raw.githubusercontent.com/nrwl/nx-ai-agents-config/main/plugins/.claude-plugin/marketplace.json"
      }
    }
  },
  "enabledPlugins": {
    "nx@nx-plugins": true,
    "nx-cloud@nx-plugins": true,
    "nx@nx-claude-plugins": false
  }
}

Or for yourself only: claude plugin marketplace add https://raw.githubusercontent.com/nrwl/nx-ai-agents-config/main/plugins/.claude-plugin/marketplace.json, then claude plugin install nx@nx-plugins and claude plugin install nx-cloud@nx-plugins.

Codex: add the marketplace once, then install or enable the plugins:

codex plugin marketplace add nrwl/nx-ai-agents-config
codex plugin add nx@nx-plugins
codex plugin add nx-cloud@nx-plugins

A repository can enable them for everyone who has added the marketplace in .codex/config.toml. Codex starts plugin MCP servers outside the workspace, so the repository also declares the nx MCP server there, which takes precedence over the plugin's copy (nx configure-ai-agents already writes this entry):

[plugins."nx@nx-plugins"]
enabled = true

[plugins."nx-cloud@nx-plugins"]
enabled = true

[mcp_servers.nx-mcp]
command = "npx"
args = ["nx-mcp@latest", "--minimal"]

Cursor: load the plugins from a checkout of this repository with cursor-agent --plugin-dir <checkout>/plugins/nx --plugin-dir <checkout>/plugins/nx-cloud.

Pointing the Nx Cloud MCP server at another host

The nx-cloud plugin connects to https://cloud.nx.app/nx-cloud/mcp. To use another Nx Cloud host, such as a single-tenant instance or a local server, give the agent that host's /nx-cloud/mcp URL:

  • Claude Code: set NX_CLOUD_MCP_URL, for example to https://snapshot.nx.app/nx-cloud/mcp. Put it under env in ~/.claude/settings.json (every project), the workspace's .claude/settings.json (everyone in the workspace) or .claude/settings.local.json (you, in this workspace), or export it in the shell that starts Claude Code. Declaring another server named nx-cloud does not work: Claude Code runs it next to the plugin's server instead of replacing it.

  • Codex: declare a server with the plugin's name. It replaces the plugin's server. codex mcp add nx-cloud --url https://snapshot.nx.app/nx-cloud/mcp adds it to ~/.codex/config.toml; for one workspace, add it to the workspace's .codex/config.toml, which Codex reads once the project is trusted:

    [mcp_servers.nx-cloud]
    url = "https://snapshot.nx.app/nx-cloud/mcp"
    
  • Cursor: change the URL in plugins/nx-cloud/mcp.json of the checkout you load the plugin from.

The server signs you in with OAuth for each host, so authenticate again after switching.

Features

https://github.com/user-attachments/assets/edd45819-e955-4ba7-adba-8255f4174da6

Nx AI agent skills teach your coding assistant how to work effectively in your monorepo. Key capabilities:

  • CI Monitoring & Self-Healing: Watches CI pipelines, detects failures, and applies fixes automatically
  • Workspace Understanding: Agents explore your project graph, dependencies, and conventions before acting
  • Intelligent Code Generation: Scaffolds new code following your workspace's existing patterns, tags, and tooling
  • Monorepo-Aware Skills: A series of skills that help your agent navigate, build, and operate more efficiently in monorepo setups
  • Multi-Agent Support: Works across Claude Code, GitHub Copilot, Cursor, Gemini, and OpenCode

Read more on the Nx blog.

Learn More

Contributing

See CONTRIBUTING.md.

Questions

What is nrwl/nx-ai-agents-config?

nrwl/nx-ai-agents-config is a collection of 40 agent skills by nrwl.

How do I install nx-ai-agents-config?

Run "npx skills add nrwl/nx-ai-agents-config" and choose the skills you want. Many packs also document their own install path (for example a Claude Code plugin marketplace) in the README below.

How many skills are in nx-ai-agents-config?

40 SKILL.md skills. Alyn lists 10 of them with their own pages.