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.
git clone --depth 1 https://github.com/wghglory/ngx-lift-workspaceWrote 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/rules/wghglory/ngx-lift-workspace/nx)<a href="https://agentmods.dev/rules/wghglory/ngx-lift-workspace/nx"><img src="https://agentmods.dev/badge/rules/wghglory/ngx-lift-workspace/nx/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.
<a href="https://agentmods.dev/rules/wghglory/ngx-lift-workspace/nx"><img src="https://agentmods.dev/badge/rules/wghglory/ngx-lift-workspace/nx.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.01267 | $0.01267 |
| Opus 5.5 | $0.00507 | $0.00507 |
| Sonnet 5.5 | $0.00253 | $0.00253 |
| Haiku 4.5 | $0.00127 | $0.00127 |
Grade A, and why
nx 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 16d 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 — 163 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Nx Workspace Guidelines
Project Structure
-
Libraries: Place reusable code in
libs/directorylibs/ngx-lift/: Core Angular utilities library (RxJS operators, signals, pipes, validators)libs/clr-lift/: Clarity Design System component library (depends on ngx-lift)
-
Applications: Place applications in
apps/directoryapps/demo/: Demo application showcasing both librariesapps/demo-e2e/: E2E tests for demo app
-
Tools: Place build tools and scripts in
tools/directorytools/vitest/: Vitest configuration utilitiestools/eslint-plugin/: Custom ESLint rules
Project Configuration
- project.json: Each project has a
project.jsonwith targets - tsconfig.json: TypeScript configuration per project
- vite.config.mts: Vitest configuration for testing (libraries)
- ng-package.json: Angular packaging configuration (libraries)
- eslint.config.mjs: ESLint configuration per project
Nx Commands
- Build:
npx nx build [project-name] - Test:
npx nx test [project-name](notnx test) - Lint:
npx nx lint [project-name] - Serve:
npx nx serve [project-name] - E2E:
npx nx e2e [e2e-project-name] - Graph:
npx nx graph(visualize project dependencies)
Dependency Management
-
Module Boundaries: Respect Nx project boundaries
- Configured in
eslint.config.mjswith@nx/enforce-module-boundaries - No circular dependencies allowed
- Configured in
-
Tags: Use tags to organize projects
- Define in
project.jsonornx.json - Enforce dependency rules based on tags
- Define in
-
Imports: Libraries are local packages in this monorepo
// Import from ngx-lift library import {createAsyncState, poll} from 'ngx-lift'; // Import from clr-lift library import {AlertComponent, ToastService} from 'clr-lift'; // Path mappings defined in tsconfig.base.json
Code Generation
-
Generators: Use Nx generators for consistent structure
npx nx generate @nx/angular:library my-lib npx nx generate @nx/angular:component my-component --project=my-lib
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.
- 16d ago First seen · 163 lines · 1,267 tokens per session scan A 0846b49df332
nx is a cursor rule published in the GitHub repository wghglory/ngx-lift-workspace (7 stars, last pushed yesterday), licensed MIT. It adds 1,267 tokens to every session, about $0.0051 per session on Opus 5.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-10-02.
Other cursor rules, from other repositories
puppeteer
This guide provides opinionated, actionable best practices for writing robust, performant, and maintainable Puppeteer scripts for web scraping, automation, and testing. It emphasizes modern patterns like page.locator() and efficient resource management.
web-pages-e2e-test-maintenance
Keep web pages end-to-end coverage current.
local-compose-db-lifecycle-for-web-tests
Keep local compose DB lifecycle ready for web tests.
cypress-e2e-testing-cursorrules-prompt-file
Cursor rule "cypress-e2e-testing-cursorrules-prompt-file" from XD3an/awesome-ai-coding-all-in-one, covering persona, auto-detect typescript usage, end-to-end ui testing focus, best practices and input/output expectations.
vasu-playwright-utils
../../templates/cursor-rules/vasu-playwright-utils.mdc.
playwright
A set of guidelines for Playwright, a tool that controls a web browser to test websites and web applications.