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/sonisoft-cnanda/now-sdk-ext-mcp/cursorrulesgit clone --depth 1 https://github.com/sonisoft-cnanda/now-sdk-ext-mcpWhat 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.02588 | $0.02588 |
| Opus 5 | $0.01294 | $0.01294 |
| Sonnet 5 | $0.00518 | $0.00518 |
| Haiku 4.5 | $0.00259 | $0.00259 |
Grade A, and why
cursorrules 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 2d 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 — 230 lines — stays where its author put it; the contents beside it link to each section on GitHub.
NEX MCP Server Rules — ServiceNow Platform Automation
You have access to the now-sdk-ext-mcp MCP server for ServiceNow platform operations. Use these rules when interacting with ServiceNow instances.
Authentication
Every tool accepts an optional instance parameter (auth alias). If omitted, the SN_AUTH_ALIAS environment variable is used. If neither is available, the tool returns an error.
Encoded Query Syntax
Most query tools accept a query parameter using ServiceNow encoded query format:
=,!=,>,<,>=,<=— comparisonsLIKE,STARTSWITH,ENDSWITH— string matchingIN,NOT IN— list membership:stateIN1,2,3ISEMPTY,ISNOTEMPTY— null checksINSTANCEOF— table hierarchy:sys_class_nameINSTANCEOFtask^— AND:active=true^priority=1^OR— OR:priority=1^ORpriority=2ORDERBY<field>/ORDERBYDESC<field>— sorting
Tool Reference
Query & Data
| Tool | Description | Key Parameters |
|---|---|---|
query_table |
Query any table | table, query, fields, limit, display_value |
count_records |
Count records (efficient) | table, query |
aggregate_query |
Stats (AVG/MIN/MAX/SUM) | table, count, avg_fields, sum_fields |
aggregate_grouped |
Grouped aggregates | table, group_by, count, having |
query_syslog |
Query system logs | level, source, limit |
Schema & Discovery
| Tool | Description | Key Parameters |
|---|---|---|
lookup_table |
Search for tables | search_term |
lookup_columns |
List table columns | table, search_term |
discover_table_schema |
Full table schema | table, include_choices, include_business_rules |
explain_field |
Explain a field | table, field |
list_instance_tables |
List tables | name_prefix, scope |
list_plugins |
List plugins | name_prefix, active_only |
Script Execution
| Tool | Description | Key Parameters |
|---|---|---|
execute_script |
Run JS via Scripts - Background | script, scope (default: global), params |
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.
- 2d ago First seen · 230 lines · 2,588 tokens per session scan A 331773b778ff
cursorrules is a cursor rule published in the GitHub repository sonisoft-cnanda/now-sdk-ext-mcp (16 stars, last pushed 4d ago), licensed MIT. It adds 2,588 tokens to every session, about $0.0129 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
cursorrules
This repo has a GraphPilot structural code-graph available via MCP. Use it before grep on structural questions.
cursorrules
You have access to a ServiceNow MCP server (latest release, 80+ tools).
cursorrules
When the user asks about social media, use social-media-ai-mcp tools: schedulepost, generatehashtags, analyzeengagement, plancontentcalendar, getaudienceinsights.
websocket-implementation
This guide provides instructions for replacing the current polling mechanism with WebSocket communication.
terminal-commands
Guidelines for generating terminal commands that ensure outputs are readable by Cursor agents.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.