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 rules/rosendolu/cursor-rules-deploy/lib-generating-agent-manualgit clone --depth 1 https://github.com/rosendolu/cursor-rules-deployWhat 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.00006 | $0.00619 |
| Opus 5 | $0.00003 | $0.00309 |
| Sonnet 5 | $0.00001 | $0.00124 |
| Haiku 4.5 | $0.00001 | $0.00062 |
Grade A, and why
lib-generating-agent-manual 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 3d 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 — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.
📦 Library and Dependency Management Guidelines
Critical Rules
-
🔍 Dependency Analysis
- Extract and analyze all dependencies from
package.json - Check Node.js version from
.nvmrcfirst, fallback topackage.jsonengines field - Maintain a clear understanding of each dependency's purpose and version constraints
- Track peer dependencies and their compatibility
- Extract and analyze all dependencies from
-
🚀 Node.js Version Management
- Always respect the Node.js version specified in
.nvmrcorpackage.json - Utilize latest ECMAScript features available for the specified Node.js version
- Document any version-specific features or syntax being used
- Ensure all dependencies are compatible with the specified Node.js version
- Always respect the Node.js version specified in
-
📊 Version Compatibility
- Implement features based on the available dependency versions
- Check API compatibility before using new features from dependencies
- Follow semantic versioning guidelines for dependency updates
- Document any breaking changes or version-specific implementations
Examples
.nvmrc
18.19.0
package.json
{ "name": "my-project", "engines": { "node": ">=18.19.0" }, "dependencies": { "express": "^4.18.0", "typescript": "^5.0.0" } }
Implementation using Node.js 18 features
const data = await fetch('https://api.example.com/data'); const result = await data.json();
// Using Express 4.18 features app.use(express.json({ limit: '10mb' }));
// Using TypeScript 5.0 features const config = { port: 3000, host: 'localhost' } as const;
.nvmrc
16.14.0
package.json
{ "name": "my-project", "engines": { "node": ">=16.14.0" }, "dependencies": { "express": "^4.17.0", "typescript": "^4.5.0" } }
Implementation using incompatible features
// ❌ Using fetch without polyfill (not available in Node.js 16) const data = await fetch('https://api.example.com/data');
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.
- 3d ago First seen · 94 lines · 6 tokens per session scan A 2b85b4c44799
lib-generating-agent-manual is a cursor rule published in the GitHub repository rosendolu/cursor-rules-deploy (37 stars, last pushed 1y ago), licensed MIT. It adds 6 tokens to every session and 619 once invoked, about $0.0000 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 cursor rules, from other repositories
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.
cli-error-handling
CLI command error handling patterns.
prefer-direct-imports-over-module-mocks
Prefer extracting a testable core over vi.mock / vi.resetModules when unit tests need to reach production logic entangled with config, env, or singletons.
control-plane-descriptors
Control plane descriptor and instance implementation patterns.
family-instance-domain-actions
Family instance domain action implementation patterns.