agent-tools: Cursor rule for Cursor

.cursorrules

cursorrules is a cursor rule for Cursor from adadiamonds/agent-tools. It costs 446 tokens per session, scanned B, original, MIT.

A set of instructions for working with Ada Diamonds' agent plugin, including its API, MCP servers, shopping, and checkout workflows. MCP is a way for an AI agent to use external tools through a standard interface.

In plain words
What is it for?
Use it when an agent needs to query Ada Diamonds services, use its MCP servers, work with the API, or explain diamond and engagement-ring purchases.
Why use it?
It keeps answers tied to the company's current documentation and helps prevent made-up endpoints, prices, parameters, or checkout details.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions Cursor.

This is adadiamonds/agent-tools's own configuration. It tells Cursor how to work on agent-tools itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agent-tools configures →

Reuse

Borrowing it

Nothing to install: this file belongs to adadiamonds/agent-tools. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/adadiamonds/agent-tools/main/.cursorrules
Clone the repo
git clone --depth 1 https://github.com/adadiamonds/agent-tools

Made for: Cursor.

Wrote 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.

agentmods badge for cursorrules

README.md
[![agentmods](https://agentmods.dev/badge/rules/adadiamonds/agent-tools/cursorrules/github.svg)](https://agentmods.dev/rules/adadiamonds/agent-tools/cursorrules)
Your own site
<a href="https://agentmods.dev/rules/adadiamonds/agent-tools/cursorrules"><img src="https://agentmods.dev/badge/rules/adadiamonds/agent-tools/cursorrules/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.

agentmods 80×15 button for cursorrules

Your own site · 80×15
<a href="https://agentmods.dev/rules/adadiamonds/agent-tools/cursorrules"><img src="https://agentmods.dev/badge/rules/adadiamonds/agent-tools/cursorrules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 446 This file is loaded in full into every session.
When invoked 446 The same file — it is already loaded in full.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00446 $0.00446
Opus 5.5 $0.00178 $0.00178
Sonnet 5.5 $0.00089 $0.00089
Haiku 4.5 $0.00045 $0.00045

Measured 2mo ago against content hash 31ce90fbf402, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

cursorrules scanned grade B with 1 finding 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 2mo 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.

Reads MCP configurationmediumAgent snooping

mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.

- mcp.json servers need a type and an absolute https url; no secrets in headers.
.cursorrules · 21 lines

What it actually says

Cursor rules for adadiamonds/agent-tools

This repository is the official public Ada Diamonds plugin for AI agents: an Agent Plugins 1.0.0 manifest (plugin.json), the MCP server list (mcp.json: https://www.adadiamonds.com/mcp and https://www.adadiamonds.com/mcp/docs), and four Agent Skills under skills/ (ada-diamonds-shopping, ada-diamonds-api, ada-diamonds-mcp, ada-diamonds-commerce). There is no application code.

Source of truth for every fact: https://www.adadiamonds.com/developers (markdown via Accept: text/markdown), https://www.adadiamonds.com/openapi.json, https://www.adadiamonds.com/agents.md. If a skill disagrees with the live docs, fix the skill.

When asked about Ada Diamonds' API, MCP servers, or checkout, read the relevant skills//SKILL.md first and answer from it, not from memory.

Editing rules:

  • Never invent endpoints, parameters, scopes, or prices.
  • Prices are US dollars as decimals, never cents.
  • An engagement ring is a setting plus a loose diamond, priced separately; ring examples show both numbers and the sum.
  • SKILL.md frontmatter: name equals the directory name; description non-empty, max 1024 chars, says what the skill does and when to use it; keep license: MIT and metadata.homepage; single-line values only.
  • Keep SKILL.md under 500 lines; long tables go in references/ inside the skill and are linked relatively.
  • plugin.json may only contain: $schema, name, version, description, author, homepage, repository, license, keywords, extensions. Never declare skills or MCP servers inline in plugin.json.
  • mcp.json servers need a type and an absolute https url; no secrets in headers.
  • No em dashes in prose; use commas, periods, or parentheses.
  • Bump plugin.json version and add a CHANGELOG.md line for user-visible changes.

Validate before committing: node scripts/validate.mjs (exit 0 = valid). CI runs the same script.

Changes

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.

  1. 2mo ago First seen · 21 lines · 446 tokens per session scan B 31ce90fbf402

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository adadiamonds/agent-tools (2 stars, last pushed 2mo ago), licensed MIT. It adds 446 tokens to every session, about $0.0018 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads mcp configuration). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

cursorrules compared with cursor rules from other repositories

cursorrules next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cursorrulesadadiamonds/agent-toolsCursor rule22mo agoMITB446Cursor
extension-developmentbiswajitpanday/OptiviseCursor rule01y agononeA0Cursor
project-structurebiswajitpanday/OptiviseCursor rule01y agononeA561Cursor
ponytailDietrichGebert/ponytailCursor rule185k8d agoMITA604Cursor
angular-20angular/angularCursor rule101kyesterdayMITA0Cursor
dev-standardapache/supersetCursor rule75kyesterdayApache-2.0A1,147Cursor
prefer-assertions-over-defensive-checksprisma/ormCursor rule48kyesterdayApache-2.0A0Cursor