json-difference: Skill for Claude Code

.github/skills/nx-workspace/SKILL.md

nx-workspace is a skill for Claude Code, Codex from lukascivil/json-difference. It costs 90 tokens per session (1,885 once invoked), scanned A, a copy of nx-workspace, MIT.

A read-only guide for exploring an Nx workspace, including its projects, configuration, dependencies, and available tasks. Nx is a tool for managing multiple applications and libraries in one workspace.

In plain words
What is it for?
Use it to list projects, inspect project settings, find available build or test tasks, and investigate dependencies or failed Nx commands.
Why use it?
It helps developers understand an unfamiliar workspace before running commands or changing code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is lukascivil/json-difference's own configuration. It tells Claude Code and Codex how to work on json-difference itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything json-difference configures →

Reuse

Borrowing it

Nothing to install: this file belongs to lukascivil/json-difference. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/lukascivil/json-difference/master/.github/skills/nx-workspace/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/lukascivil/json-difference

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for nx-workspace

README.md
[![agentmods](https://agentmods.dev/badge/skills/lukascivil/json-difference/nx-workspace/github.svg)](https://agentmods.dev/skills/lukascivil/json-difference/nx-workspace)
Your own site
<a href="https://agentmods.dev/skills/lukascivil/json-difference/nx-workspace"><img src="https://agentmods.dev/badge/skills/lukascivil/json-difference/nx-workspace/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for nx-workspace

Your own site · 80×15
<a href="https://agentmods.dev/skills/lukascivil/json-difference/nx-workspace"><img src="https://agentmods.dev/badge/skills/lukascivil/json-difference/nx-workspace.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,885 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00090 $0.01885
Opus 5.5 $0.00036 $0.00754
Sonnet 5.5 $0.00018 $0.00377
Haiku 4.5 $0.00009 $0.00188

Measured 1mo ago against content hash 36d3687313ce, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nx-workspace scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to nx-workspace — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.github/skills/nx-workspace/SKILL.md · 285 lines

How it starts

The opening of the file, as written. The whole thing — 285 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Nx Workspace Exploration

This skill provides read-only exploration of Nx workspaces. Use it to understand workspace structure, project configuration, available targets, and dependencies.

Keep in mind that you might have to prefix commands with npx/pnpx/yarn if nx isn't installed globally. Check the lockfile to determine the package manager in use.

Listing Projects

Use nx show projects to list projects in the workspace.

The project filtering syntax (-p/--projects) works across many Nx commands including nx run-many, nx release, nx show projects, and more. Filters support explicit names, glob patterns, tag references (e.g. tag:name), directories, and negation (e.g. !project-name).

# List all projects
nx show projects

# Filter by pattern (glob)
nx show projects --projects "apps/*"
nx show projects --projects "shared-*"

# Filter by tag
nx show projects --projects "tag:publishable"
nx show projects -p 'tag:publishable,!tag:internal'

# Filter by target (projects that have a specific target)
nx show projects --withTarget build

# Combine filters
nx show projects --type lib --withTarget test
nx show projects --affected --exclude="*-e2e"
nx show projects -p "tag:scope:client,packages/*"

# Negate patterns
nx show projects -p '!tag:private'
nx show projects -p '!*-e2e'

# Output as JSON
nx show projects --json

Project Configuration

Use nx show project <name> --json to get the full resolved configuration for a project.

Important: Do NOT read project.json directly - it only contains partial configuration. The nx show project --json command returns the full resolved config including inferred targets from plugins.

You can read the full project schema at node_modules/nx/schemas/project-schema.json to understand nx project configuration options.

# Get full project configuration
nx show project my-app --json

# Extract specific parts from the JSON
nx show project my-app --json | jq '.targets'
nx show project my-app --json | jq '.targets.build'
nx show project my-app --json | jq '.targets | keys'

# Check project metadata
nx show project my-app --json | jq '{name, root, sourceRoot, projectType, tags}'

Read the full file on GitHub · 285 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 285 lines · 90 tokens per session scan A 36d3687313ce

Subscribe to this mod's changes

nx-workspace is a skill published in the GitHub repository lukascivil/json-difference (58 stars, last pushed 2mo ago), licensed MIT. It adds 90 tokens to every session and 1,885 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to nx-workspace, differing in 4 lines, and is treated as a copy.

Related

Other skills, from other repositories

record-gotchas

Capture surprises, workarounds, and rough edges hit while consuming the public surface of Prisma 8, Prisma Compute, or Prisma Postgres — anything a real user of these products would experience. Fires whenever an operator (or agent) writes a workaround, hits a surprising failure mode, or finds undocumented behaviour…

prisma/orm · 220 tokens

product-direction

Judges feature requests, feature pull requests and your own proposals against a repository's written product direction, gives a cited verdict, and records each new no. Use when triaging, labelling or replying to a feature request or a feature pull request, including as an autonomous triage agent; when asked whether a…

prisma/orm · 145 tokens

hero-kanban-move

A yellow sticky card slides from the Doing column into Done on a warm cork-board style kanban. Function: workflow state change — productivity motion, not decorative particles.

Unclecheng-li/AI_Animation · 0 tokens

hero-calendar-flip

A red-header desk calendar flips its page from 3 to 4. Function: date advance / ship-day marker.

Unclecheng-li/AI_Animation · 0 tokens

blazediff

Run, author, or update BlazeDiff visual regression tests. Trigger on "visual test", "screenshot regression", "blazediff", "/blazediff".

teimurjan/blazediff · 37 tokens

image-compare

Compare two image files on disk and report what changed, region by region. Trigger on "what changed between these two images", "diff these PNGs", "did this render drift", "compare screenshots/exports/renders".

teimurjan/blazediff · 49 tokens