Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Nx Tools

ASecurity

Queries Nx monorepo metadata via Python CLI: workspace projects, affected detection, dependency graphs, project.json configs, generator schemas. Use when analyzing monorepo structure, optimizing CI via affected projects, or inspecting workspace topology.

2 stars
0 votes
0 copies
0 views
Added 9/19/2026
toolspythonbashreactgitdocumentation

Works with

terminalcli

Security Analysis

A100/100

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add bsamiee/Parametric_Portal --skill nx-tools --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Nx Tools?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Nx Tools
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bsamiee-nx-tools/badge)](https://www.skillsdirectory.com/skills/bsamiee-nx-tools)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: nx-tools
user-invocable: false
description: >-
  Queries Nx monorepo metadata via Python CLI: workspace projects, affected detection, dependency graphs, project.json configs, generator schemas. Use when analyzing monorepo structure, optimizing CI via affected projects, or inspecting workspace topology.
---

# [H1][NX-TOOLS]
>**Dictum:** *Uniform interfaces eliminate invocation ambiguity.*

<br>

Query Nx workspace with unified Python CLI. Wraps `pnpm exec nx` commands.

[IMPORTANT] Nx 22 features: Terminal UI, continuous tasks, pnpm catalog support, AI agent configuration, Vitest 4 atomizer. All commands run with `NX_DAEMON=false` for deterministic output.

---
## [1][COMMANDS]

| [CMD]      | [ARGS]        | [PURPOSE]                              |
| ---------- | ------------- | -------------------------------------- |
| workspace  | --            | List all projects                      |
| path       | --            | Get workspace root path                |
| generators | --            | List available generators              |
| project    | `<name>`      | View project configuration             |
| run        | `<target>`    | Run target across projects             |
| schema     | `<generator>` | View generator schema                  |
| affected   | `[base]`      | List affected projects (default: main) |
| graph      | `[output]`    | Generate dependency graph              |
| tokens     | `[path]`      | Count tokens in file/directory         |
| docs       | `[topic]`     | View Nx command documentation          |

---
## [2][USAGE]

```bash
# Zero-arg commands
uv run .claude/skills/nx-tools/scripts/nx.py workspace
uv run .claude/skills/nx-tools/scripts/nx.py path
uv run .claude/skills/nx-tools/scripts/nx.py generators

# Required-arg commands
uv run .claude/skills/nx-tools/scripts/nx.py project @parametric-portal/types
uv run .claude/skills/nx-tools/scripts/nx.py run build
uv run .claude/skills/nx-tools/scripts/nx.py run typecheck
uv run .claude/skills/nx-tools/scripts/nx.py schema @nx/react:component

# Optional-arg commands (defaults shown)
uv run .claude/skills/nx-tools/scripts/nx.py affected            # base=main
uv run .claude/skills/nx-tools/scripts/nx.py affected HEAD~5
uv run .claude/skills/nx-tools/scripts/nx.py graph               # output=.nx/graph.json
uv run .claude/skills/nx-tools/scripts/nx.py graph custom.json
uv run .claude/skills/nx-tools/scripts/nx.py tokens              # path=.
uv run .claude/skills/nx-tools/scripts/nx.py tokens CLAUDE.md
uv run .claude/skills/nx-tools/scripts/nx.py docs                # topic=general
uv run .claude/skills/nx-tools/scripts/nx.py docs affected
```

---
## [3][ARGUMENTS]

**workspace**: (no arguments)
- Returns list of all project names in workspace

**path**: (no arguments)
- Returns workspace root path from `CLAUDE_PROJECT_DIR` or `cwd`

**generators**: (no arguments)
- Returns list of available Nx generators (plugins + local)

**project**: `<name>`
- `name` — Project name (required, e.g., `@parametric-portal/types`)
- Returns full project.json configuration as JSON

**run**: `<target>`
- `target` — Target to run (required, e.g., `build`, `typecheck`, `test`)
- Executes `pnpm exec nx run-many -t <target>`

**schema**: `<generator>`
- `generator` — Generator name (required, e.g., `@nx/react:component`)
- Returns generator help with all available options

**affected**: `[base]`
- `base` — Git ref to compare against (default: `main`)
- Returns JSON array of affected project names

**graph**: `[output]`
- `output` — Output file path (default: `.nx/graph.json`)
- Generates workspace dependency graph

**tokens**: `[path]`
- `path` — File or directory to count (default: `.`)
- Uses `tools/scripts/count-tokens.ts` via tsx

**docs**: `[topic]`
- `topic` — Nx command to get help for (default: general help)

---
## [4][OUTPUT]

Commands return: `{"status": "success|error", ...}`.

| [INDEX] | [CMD]        | [RESPONSE]                            |
| :-----: | ------------ | ------------------------------------- |
|   [1]   | `workspace`  | `{projects: string[]}`                |
|   [2]   | `path`       | `{path: string}`                      |
|   [3]   | `generators` | `{generators: string}`                |
|   [4]   | `project`    | `{name: string, project: object}`     |
|   [5]   | `run`        | `{target: string, output: string}`    |
|   [6]   | `schema`     | `{generator: string, schema: string}` |
|   [7]   | `affected`   | `{base: string, affected: string[]}`  |
|   [8]   | `graph`      | `{file: string}`                      |
|   [9]   | `tokens`     | `{path: string, output: string}`      |
|  [10]   | `docs`       | `{topic: string, docs: string}`       |

---
## [5][ENVIRONMENT]

| [VAR]                | [REQUIRED] | [DESCRIPTION]                          |
| -------------------- | ---------- | -------------------------------------- |
| `CLAUDE_PROJECT_DIR` | No         | Override workspace root for `path` cmd |
| `NX_DAEMON`          | No         | Force-set to `false` by script         |

---
## [6][ERROR_HANDLING]

- Nx errors print `[ERROR] <message>` and exit 1
- Project not found: `[ERROR] Cannot find project '<name>'`
- Target not found: `[ERROR] Cannot find target '<target>'` for the project
- Graph generation failure: verify Nx workspace configuration is valid

Attribution

bsamieebsamiee
View sourceMore from bsamiee →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

ucoz-landing-skill

Playbook for creating and editing uCoz landing pages via MCP tools (`templates_tool`, `ftp_tool`, `modules_tool`). Use for tasks such as: "build a landing page", "update the homepage as a landing page", "create a promo page on the homepage", "add a lead form / menu / SEO to the homepage". Homepage: `page_list`, `page_get`; first publish — `page_update` with full `page_tmpl`; HTML edits after generation — `patch_template` (module_id=2, template_id=1), not `update_template`. Activate the mail f...

107 votes

Paperclip

Interact with the Paperclip control plane API to manage tasks, coordinate with other agents, and follow company governance. Use when you need to check assignments, update task status, delegate work, post comments, set up or manage routines (recurring scheduled tasks), or call any Paperclip API endpoint. Do NOT use for the actual domain work itself (writing code, research, etc.) — only for Paperclip coordination.

798221 votes

Daw Music

Digital Audio Workstation usage, music composition, interactive music systems, and game audio implementation for immersive soundscapes.

761 votes

Instantly Rdsthomas Mission Control

Instantly.ai cold email outreach API - manage campaigns, leads, accounts, and analytics. Use for cold email automation, lead management, campaign creation/monitoring, and email account warmup.

761 votes

Caveman Compress

Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input tokens. Preserves all technical substance, code, URLs, and structure. Compressed version overwrites the original file. Human-readable backup saved as FILE.original.md. Trigger: /caveman-compress FILEPATH or "compress memory file"

1023330 votes
View all in tools →