Official agent skill

Nx Plugin For AWS

by awslabs in awslabs/nx-plugin-for-aws

Scaffold and build cloud-native applications on AWS using @aws/nx-plugin generators.

OfficialApache-2.0Auto-check passedDevOps & Cloud

Install Nx Plugin For AWS

skills CLI
$ npx skills add awslabs/nx-plugin-for-aws --skill nx-plugin-for-aws -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install awslabs/nx-plugin-for-aws nx-plugin-for-aws --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/awslabs/nx-plugin-for-aws.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/nx-plugin-for-aws .claude/skills/nx-plugin-for-aws && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
nx-plugin-for-aws
GitHub stars
152
Token cost
~3.6k tokens
SKILL.md length
1,240 words
Files
1
Skills in repo
1
Repo updated
First seen
Licence
Apache-2.0

At a glance

Scaffold and build cloud-native applications on AWS using @aws/nx-plugin generators.

  • Works in 2 steps: install Python 3.14 by running: uv… → verify with uv python list…
  • The user wants to create workspaces
  • SKILL.md covers Overview, Onboarding, Common Workflows and Available Generators, plus 4 more sections
  • Calls pnpm, nx and node

What it does

Nx Plugin For AWS is an agent skill from awslabs/nx-plugin-for-aws, published by the product's own GitHub organization. Scaffold and build cloud-native applications on AWS using @aws/nx-plugin generators. Use when the user wants to create workspaces, generate projects, or scaffold infrastructure with the Nx Plugin for AWS.

Its SKILL.md is about 3.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud, covering Project scaffolding. It works with Amazon Web Services, AWS Lambda, Python and pnpm. The repository describes itself as: The @aws/nx-plugin is a collection of code generators that automate the creation and configuration of cloud-native applications using AWS, TypeScript, Python and React within the… The licence is Apache-2.0.

When your agent uses it

  • The user wants to create workspaces
  • Generate projects
  • Scaffold infrastructure with the Nx Plugin for AWS

Example prompts

  • “/nx-plugin-for-aws”

Requirements

  • Python 3
  • Node.js
  • Docker

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. install Python 3.14 by running: uv python install 3.14
  2. verify with uv python list --only-installed

What it can do on your machine

Read from SKILL.md and the folder at commit 37f1c1b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pnpm
    • nx
    • node
    • uv
    • npm
    • yarn
    • bun
    • terraform
    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • nodejs.org
    • runfinch.com
    • awslabs.github.io
    • git-scm.com
    • github.com
    • docs.astral.sh
    • pnpm.io
    • yarnpkg.com
    • bun.sh
    • docs.aws.amazon.com
    • docker.com
    • docs.docker.com
    • developer.hashicorp.com
    • code.visualstudio.com
    • marketplace.visualstudio.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Nx Plugin For AWS loads about 3.6k tokens when it runs. Until then it costs about 56 tokens; SKILL.md has 1,240 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~56
When it runs · the whole SKILL.md, loaded when a task matches
~3.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from awslabs/nx-plugin-for-aws at commit 37f1c1b, republished under its Apache-2.0 licence (© awslabs). 1,240 words, ~3,581 tokens.

Download SKILL.mdSave it as .claude/skills/nx-plugin-for-aws/SKILL.md (or your agent's skills folder).
name
nx-plugin-for-aws
description
Scaffold and build cloud-native applications on AWS using @aws/nx-plugin generators. Use when the user wants to create workspaces, generate projects, or scaffold infrastructure with the Nx Plugin for AWS.

Nx Plugin for AWS

Overview

The Nx Plugin for AWS (@aws/nx-plugin) is a collection of generators that help you rapidly scaffold and build cloud-native applications on AWS. It provides end-to-end code generation from application code to CDK/Terraform infrastructure, all following AWS best practices.

This power gives AI assistants guided access to the MCP server so they can help you create workspaces, discover generators, and scaffold projects interactively.

Key capabilities:

  • Create new Nx workspaces configured for AWS development
  • Scaffold TypeScript and Python projects, APIs, websites, and infrastructure
  • Generate Lambda functions, MCP servers, Strands Agents, and more
  • Connect projects together (e.g. frontend to backend)
  • Manage licenses across your workspace

Onboarding

Prerequisites
Required
  • Git
  • Node >= 22 (We recommend using something like NVM to manage your node versions)
    • verify by running node --version
  • UV >= 0.5.29
    1. install Python 3.14 by running: uv python install 3.14
    2. verify with uv python list --only-installed
Getting Started
  1. Choose a package manager (pnpm is recommended)
  2. Choose an IaC provider (CDK is recommended)
  3. Create a new workspace using the create_workspace_command tool
  4. Start scaffolding with generators using list_generators and generator_guide
Quick Start Example

To create a new workspace and scaffold a React website with a tRPC API:

bash
# Create workspace (pass `.` as the name to create in the current empty directory)
pnpm create @aws/nx-workspace my-app --no-interactive

# Generate a tRPC API
pnpm nx g @aws/nx-plugin:ts#trpc-api --no-interactive --name=my-api

# Generate a React website
pnpm nx g @aws/nx-plugin:ts#react-website --no-interactive --name=my-website

# Connect the website to the API
pnpm nx g @aws/nx-plugin:connection --no-interactive --sourceProject=my-website --targetProject=my-api

# Generate CDK infrastructure
pnpm nx g @aws/nx-plugin:ts#infra --no-interactive --name=infra

Always prompt the user for what name they want to use when executing generators if a --name is a required argument. DO NOT ASSUME THE NAME.

Common Workflows

Workflow 1: Create a New Workspace

Use the create_workspace_command tool with your preferred package manager. This generates the full command to create an Nx workspace pre-configured with the AWS plugin.

bash
pnpm create @aws/nx-workspace my-app --no-interactive

If you are already inside an empty directory intended for this project, pass . as the workspace name to create the workspace in the current directory:

bash
pnpm create @aws/nx-workspace . --no-interactive

Be sure to ask the user what their preferred project name is, unless already within an empty directory intended for the project.

Workflow 2: Discover Available Generators

Use the list_generators tool to see all available generators and their parameters. This returns the full list with descriptions and example commands.

Workflow 3: Get Detailed Generator Guidance

Use the generator_guide tool with a specific generator name to get in-depth documentation including:

  • All parameters (required and optional)
  • Generated file structure
  • Post-generation steps
  • Best practices and tips
Workflow 4: Scaffold a Full-Stack Application

A typical full-stack app involves:

  1. Create workspace
  2. Generate a backend API (ts#trpc-api, ts#smithy-api, or py#fast-api)
  3. Generate a React frontend (ts#react-website)
  4. Connect frontend to backend (connection)
  5. Generate CDK infrastructure (ts#infra)
  6. Optionally add auth (ts#react-website#auth)
Workflow 5: Add Components to Existing Projects

Add capabilities to existing projects:

  • ts#lambda-function / py#lambda-function — Add Lambda functions
  • ts#mcp-server / py#mcp-server — Add MCP servers
  • ts#agent / py#agent — Add AI agents
  • ts#nx-generator — Add custom Nx generators

Available Generators

GeneratorDescription
initConfigure an existing Nx workspace to use the @aws/nx-plugin
agentcore-gatewayGenerate an AgentCore Gateway project
agentcore-harnessGenerate an AgentCore Harness project (experimental)
connectionIntegrates a source project with a target project
licenseAdd LICENSE files and configure source code licence headers
py#apiCreate a Python API
py#lambda-functionAdds a lambda function to a python project
py#mcp-serverGenerate a Python Model Context Protocol (MCP) server for providing context to Large Language Models
py#projectGenerates a Python project
py#agentAdd an AI Agent to a Python project
smithy#projectGenerate a Smithy model project, either defining a service or a library of reusable shapes
terraform#projectGenerates a Terraform project
ts#docsGenerates a documentation site
ts#infraGenerates a cdk application
ts#lambda-functionGenerate a TypeScript lambda function
ts#dcr-proxyGenerate an OAuth Dynamic Client Registration (DCR) proxy construct for Cognito-authenticated MCP servers
ts#mcp-serverGenerate a TypeScript Model Context Protocol (MCP) server for providing context to Large Language Models
ts#nx-generatorGenerator for adding an Nx Generator to an existing TypeScript project
ts#nx-migrationGenerator for adding an Nx Migration to an Nx Plugin, applied by nx migrate when users upgrade
ts#nx-pluginGenerate an Nx Plugin of your own! Build custom generators automatically made available for AI vibe-coding via MCP
ts#projectGenerates a TypeScript project
ts#websiteGenerates a website application
ts#website#authAdds auth to an existing website
ts#agentAdd an AI Agent to a TypeScript project
ts#apiCreate a TypeScript API
ts#rdbCreate a relational database project
ts#dynamodbCreate a TypeScript DynamoDB project
py#dynamodbCreate a Python DynamoDB project
py#rdbCreate a Python relational database project
Show full SKILL.md (478 more words)Show less

Best Practices

  • Always use --no-interactive flag when running generators programmatically
  • Use fully qualified project names (e.g. @my-scope/my-project) when referencing projects
  • Run nx sync after adding dependencies between TypeScript projects
  • Install dependencies at the workspace root, not in individual projects
  • Use nx reset to reset the Nx daemon when unexpected issues arise
  • When running several generators in sequence, pass --prefer-install-dependencies=false on each to avoid a slow install after every generator, then install once at the end (or let the final generator install by omitting the flag)
  • After running generators, use nx show projects to verify what was created
  • Fix lint issues with nx run-many --target lint --configuration=fix --all
  • Generate all projects into the packages/ directory
  • Prefer pnpm as the package manager and CDK as the IaC provider

One-Shot Scaffolding

When the user wants a full workspace created in one go, you can chain generators to minimize tool calls:

  • Workspace creation pass --no-interactive to avoid interactive prompts

    bash
    pnpm create @aws/nx-workspace my-app --iacProvider=CDK --no-interactive
  • Chain generators with && in a single Bash call after workspace creation. Pass --prefer-install-dependencies=false on each generator except the last so dependencies install once at the end, for example:

    bash
    cd my-app && \
      pnpm nx g @aws/nx-plugin:ts#trpc-api --no-interactive --name=my-app-api --auth=IAM --prefer-install-dependencies=false && \
      pnpm nx g @aws/nx-plugin:ts#react-website --no-interactive --name=my-app-website --uxProvider=Shadcn --prefer-install-dependencies=false && \
      pnpm nx g @aws/nx-plugin:ts#react-website#auth --no-interactive --project=@my-app/my-app-website --cognitoDomain=my-app-auth --prefer-install-dependencies=false && \
      pnpm nx g @aws/nx-plugin:connection --no-interactive --sourceProject=@my-app/my-app-website --targetProject=@my-app/my-app-api --prefer-install-dependencies=false && \
      pnpm nx g @aws/nx-plugin:ts#infra --no-interactive --name=infra && \
      pnpm nx sync && \
      pnpm lint && \
      pnpm build
  • --prefer-install-dependencies=false asks a generator to defer its dependency install so the batch installs once at the end (the final generator above omits the flag and installs everything).

  • Use a timeout of 300000ms (5 minutes) for workspace creation (downloads dependencies).

  • nx sync is required before building — generators modify TypeScript project references.

Troubleshooting

MCP Server Connection Issues

Problem: MCP server won't start or connect Solution:

  1. Verify Node.js and npm are installed: node --version && npm --version
  2. Try running manually: npx -y @aws/nx-plugin-mcp
  3. If you get ENOENT npx, use the full path: replace npx with the output of which npx
Generator Fails

Problem: Generator command fails with errors Solution:

  1. Ensure you're in an Nx workspace root directory
  2. Check that @aws/nx-plugin is installed: look for it in package.json
  3. Run nx reset to clear the Nx daemon cache
  4. Try running with --verbose flag for more details
TypeScript Import Errors

Problem: Import errors after adding project dependencies Solution:

  1. Run nx sync to update TypeScript project references
  2. Check tsconfig.base.json for correct path aliases
  3. Remember TypeScript aliases use : prefix (e.g. :my-scope/my-lib)
Python Dependency Issues

Problem: Python imports not resolving Solution:

  1. Use nx run <project>:add <dependency> to add dependencies
  2. Ensure UV is installed and uv.lock is up to date
  3. Check pyproject.toml for correct dependency declarations

Configuration

No additional configuration required — the MCP server works out of the box via npx.

MCP Server: nx-plugin-for-aws Package: @aws/nx-plugin Documentation: https://awslabs.github.io/nx-plugin-for-aws

© awslabs, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/nx-plugin-for-aws of awslabs/nx-plugin-for-aws.

Open the folder on GitHubat commit 37f1c1b

Compare with similar skills

Nx Plugin For AWS next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Nx Plugin For AWS compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Nx Plugin For AWS this skillawslabs/nx-plugin-for-aws152—~3.6kAutomated safety check: PassApache-2.0
Devops Deploysickn33/agentic-awesome-skills47k2 repos~1.9kAutomated safety check: PassMIT
AWS Cloud Advisortech-leads-club/agent-skills7k—~2.1kAutomated safety check: PassCC-BY-4.0
Google Agents CLI Deploypifferologo/cloud-agents-cli1291 repos~6kAutomated safety check: PassApache-2.0
AWS Advisordiegosouzapw/awesome-omni-skills159—~4.3kAutomated safety check: PassMIT
Terravision Cloud Diagramspatrickchugh/terravision1.6k—~5.6kAutomated safety check: NotesAGPL-3.0-only

Similar skills

  • Devops Deploy

    sickn33/agentic-awesome-skills

    DevOps e deploy de aplicacoes — Docker, CI/CD com GitHub Actions, AWS Lambda, SAM, Terraform, infraestrutura como codigo e monitoramento.

    47k GitHub starsUsed in 2 repos~1.9k tokens
    DevOps & CloudAuto-check passed
  • AWS Cloud Advisor

    tech-leads-club/agent-skills

    Answers AWS architecture, security and service-selection questions by searching AWS documentation through MCP tools first, then adapting advice to your stack and team.

    7k GitHub stars~2.1k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Google Agents CLI Deploy

    pifferologo/cloud-agents-cli

    This skill should be used when the user wants to "deploy an agent", "deploy my ADK agent", "set up CI/CD", "configure secrets", "troubleshoot a deployment", or needs guidance on Agent Runtime, Cloud…

    129 GitHub starsUsed in 1 repo~6k tokens
    DevOps & CloudAuto-check passed
  • AWS Advisor

    diegosouzapw/awesome-omni-skills

    AWS Advisor workflow skill. An agent skill from diegosouzapw/awesome-omni-skills.

    159 GitHub stars~4.3k tokensUpdated 3 mo ago
    DevOps & CloudAuto-check passed
  • Terravision Cloud Diagrams

    patrickchugh/terravision

    Draw cloud architecture diagrams for AWS, Azure or GCP with the official provider icon sets, using TerraVision.

    1.6k GitHub stars~5.6k tokensUpdated 2 days ago
    DevOps & CloudAuto-check: notes
  • Itemgen Command Builder

    microsoft/terraform-provider-fabric

    Official

    Given SDK analysis results, automatically determine the correct itemgen archetype and build the full go run tools/itemgen/main.go command.

    128 GitHub stars~1.5k tokensUpdated 3 days ago
    DevOps & CloudAuto-check passed

Questions about Nx Plugin For AWS

What does Nx Plugin For AWS do?

Scaffold and build cloud-native applications on AWS using @aws/nx-plugin generators. Nx Plugin For AWS is an agent skill from awslabs/nx-plugin-for-aws, published by the product's own GitHub organization. Scaffold and build cloud-native applications on AWS using @aws/nx-plugin generators.

When should I use Nx Plugin For AWS?

Nx Plugin For AWS fits situations like: the user wants to create workspaces; generate projects; scaffold infrastructure with the Nx Plugin for AWS.

How do I install Nx Plugin For AWS in Claude Code?

Run `npx skills add awslabs/nx-plugin-for-aws --skill nx-plugin-for-aws -a claude-code`. Or copy the skill folder (skills/nx-plugin-for-aws in awslabs/nx-plugin-for-aws) into .claude/skills/nx-plugin-for-aws in your project. Claude Code loads it when a task matches its description.

How do I install Nx Plugin For AWS in Codex?

Run `npx skills add awslabs/nx-plugin-for-aws --skill nx-plugin-for-aws -a codex`. Or copy the skill folder (skills/nx-plugin-for-aws in awslabs/nx-plugin-for-aws) into .agents/skills/nx-plugin-for-aws in your project. Codex loads it when a task matches its description.

Can I use Nx Plugin For AWS in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add awslabs/nx-plugin-for-aws --skill nx-plugin-for-aws -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/nx-plugin-for-aws, .gemini/skills/nx-plugin-for-aws, .github/skills/nx-plugin-for-aws and .opencode/skills/nx-plugin-for-aws in your project.

What does Nx Plugin For AWS need to run?

Going by SKILL.md and its folder, Nx Plugin For AWS needs the command-line tools its instructions call (pnpm, nx, node, uv, npm and yarn). Our summary lists: Python 3; Node.js; Docker.

Does Nx Plugin For AWS access the network?

SKILL.md names 15 domains. As links in the text: nodejs.org, runfinch.com, awslabs.github.io, git-scm.com, github.com, docs.astral.sh, pnpm.io, yarnpkg.com, bun.sh, docs.aws.amazon.com, docker.com, docs.docker.com, developer.hashicorp.com, code.visualstudio.com and marketplace.visualstudio.com. This is read from the text; nothing was executed.

Is Nx Plugin For AWS safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Nx Plugin For AWS use?

Nx Plugin For AWS is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Nx Plugin For AWS use?

About 3.6k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Nx Plugin For AWS?

Skills that share tags, products or a category with Nx Plugin For AWS: Devops Deploy (sickn33/agentic-awesome-skills, 47k stars), AWS Cloud Advisor (tech-leads-club/agent-skills, 7k stars), Google Agents CLI Deploy (pifferologo/cloud-agents-cli, 129 stars) and AWS Advisor (diegosouzapw/awesome-omni-skills, 159 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Nx Plugin For AWS?

awslabs (a GitHub organization, an official publisher) maintains it in awslabs/nx-plugin-for-aws, which has 152 GitHub stars. The repository was last updated on October 5, 2026.

Source: awslabs/nx-plugin-for-aws on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.