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/adonai-labs/agent-runwayWrote 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/adonai-labs/agent-runway/node)<a href="https://agentmods.dev/rules/adonai-labs/agent-runway/node"><img src="https://agentmods.dev/badge/rules/adonai-labs/agent-runway/node/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/adonai-labs/agent-runway/node"><img src="https://agentmods.dev/badge/rules/adonai-labs/agent-runway/node.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.00000 | $0.00372 |
| Opus 5 | $0.00000 | $0.00186 |
| Sonnet 5 | $0.00000 | $0.00074 |
| Haiku 4.5 | $0.00000 | $0.00037 |
Grade A, and why
node 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 7d 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.
What it actually says
Node.js Best Practices
Use these directives for Node.js services, APIs, workers, and CLIs.
Configuration and Environment
- Validate required environment variables at startup and fail fast when missing.
- Keep secrets out of source control and logs.
- Use explicit defaults only for non-sensitive optional config.
- Keep runtime config typed and centralised in one module.
Error Handling and Reliability
- Handle promise rejections explicitly; avoid fire-and-forget without supervision.
- Map unexpected errors to safe external responses; never leak stack traces to clients.
- Use structured error classes or error codes for predictable handling.
- Add timeout and retry policy for outbound calls where retries are safe.
Process Lifecycle
- Handle
SIGTERMandSIGINTfor graceful shutdown. - Stop accepting new work before shutting down dependencies.
- Close DB connections, message consumers, and HTTP servers cleanly.
- Exit with non-zero code on unrecoverable startup failures.
Observability
- Use structured logs (JSON or key-value) with consistent fields.
- Include correlation/request IDs across async boundaries.
- Emit health and readiness endpoints for services.
- Track latency, error rates, and saturation for critical paths.
Security Basics
- Validate all external input at boundaries.
- Apply strict CORS, auth, and rate limiting for public endpoints.
- Avoid dynamic code execution (
eval,new Function) in production paths. - Keep dependencies updated and review high/critical vulnerabilities.
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.
- 7d ago First seen · 56 lines · 0 tokens per session scan A c917887575d3
node is a cursor rule published in the GitHub repository adonai-labs/agent-runway (2 stars, last pushed 21d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 372 tokens. 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-09-03.
Other cursor rules, from other repositories
go-backend-scalability-cursorrules-prompt-file
Cursor rules for Go development with backend scalability.
cloudflare-email-telegram-cursorrules-prompt-file
Cursor rules for setting up email-to-Telegram forwarding via Cloudflare Email Routing and Workers using the mail2tg CLI.
sveltekit-typescript-guide-cursorrules-prompt-file
Cursor rules for SvelteKit development with TypeScript integration.
python
Python best practices and patterns for modern software development with Flask and SQLite.
react-query-cursorrules-prompt-file
Cursor rules for React development with React Query integration.
kotlin-springboot-rules
A set of coding rules for Kotlin applications built with Spring Boot, a Java-based framework for web services. It covers project layout, naming, Kotlin style, and common design patterns.