Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/nrwl/nx/claude-mdgit clone --depth 1 https://github.com/nrwl/nxWrote 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.
[](https://agentmods.dev/instructions/nrwl/nx/claude-md)<a href="https://agentmods.dev/instructions/nrwl/nx/claude-md"><img src="https://agentmods.dev/badge/instructions/nrwl/nx/claude-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.02245 | $0.02245 |
| Opus 5 | $0.01123 | $0.01123 |
| Sonnet 5 | $0.00449 | $0.00449 |
| Haiku 4.5 | $0.00225 | $0.00225 |
Grade A, and why
nx CLAUDE.md 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 243 lines — stays where its author put it; the contents beside it link to each section on GitHub.
When responding to queries about this repository:
- Suggest relevant commands from the "Essential Commands" section when applicable
- Highlight Nx's focus on monorepos and its key features like smart task execution, code generation, and project graph analysis
- Mention the plugin ecosystem and support for various frameworks when relevant
- Emphasize the importance of running the full validation suite before committing changes
Always strive to provide accurate, helpful responses that align with the best practices and workflows described in this file.
Documentation Contributions
When working on Nx documentation, all documentation content lives in the astro-docs/ folder. This is the new Astro-based documentation site built with Starlight.
Important: Before making any documentation changes, read the astro-docs/README.md file for detailed guidance on:
- Project structure and architecture
- Content types (regular docs, dynamic plugin docs, CLI docs)
- Available Markdoc tags for rich content
- Development workflow and commands
- Sidebar management
MANDATORY: After editing any file in astro-docs/src/content/, run the check-docs-style skill. No exceptions.
MANDATORY: All documentation content must follow astro-docs/STYLE_GUIDE.md. vale only enforces its mechanical rules, so check the structural and voice rules yourself.
Quick Reference
- Documentation content:
astro-docs/src/content/docs/ - Use
.mdoc(Markdoc) or.mdxformat for documentation files - Run
nx serve astro-docsto start the local dev server - Sidebar structure is defined in
astro-docs/sidebar.mts
GitHub Issue Response Mode
When responding to GitHub issues, determine your approach based on how the request is phrased:
Plan-First Mode (Default)
Use this approach when users ask you to:
- "analyze", "investigate", "assess", "review", "examine", or "plan"
- Or when the request is ambiguous
In this mode:
- Provide a detailed analysis of the issue
- Create a comprehensive implementation plan
- Break down the solution into clear steps
- Then please post the plan as a comment on the issue
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.
- 5d ago First seen · 243 lines · 2,245 tokens per session scan A c6fa1845da64
nx CLAUDE.md is an instructions file published in the GitHub repository nrwl/nx (29,301 stars, last pushed today), licensed MIT. It adds 2,245 tokens to every session, about $0.0112 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
spica atomic-design.instructions.md
Atomic Design methodology for organizing React components. Enforces strict rules for Atoms, Molecules, Organisms, Templates, and Pages — including what state, styling, and data-fetching each level is allowed.
spica reactjs.instructions.md
React + TypeScript + tRPC development standards for web app.
react-tool AGENTS.md
AGENTS.md instructions for beixiyo/react-tool, covering 开发规范, 设计 token 系统, 设计 token 配置, token 同步机制 and 使用规范.
igniteui-cli CLAUDE.md
Claude Code instructions for IgniteUI/igniteui-cli, covering claude.md, build, test, lint, template smoke test, mcp server (packages/igniteui-mcp/igniteui-doc-mcp) and architecture.
webiny-js CLAUDE.md
Claude Code instructions for webiny/webiny-js, covering context, claude project guidelines, reading code, development commands and install dependencies (suppress all output – it's noise).
webiny-js copilot-instructions.md
Copilot instructions for webiny/webiny-js, a project described as: Open-source, self-hosted CMS platform on AWS serverless (Lambda, DynamoDB, S3). TypeScript framework with multi-tenancy, lifecycle hooks, GraphQL API, and AI-assisted development via MCP server. Built for developers at large organizations.