cursor_rules_sync_requirement

cursor_rules_sync_requirement is a cursor rule for Cursor from markmhendrickson/neotoma. It costs 32 tokens per session (1,268 once invoked), scanned A, original, MIT.

A workflow rule that requires copying edited coding-agent rules and commands into the project’s local configuration immediately after changes.

In plain words
What is it for?
Keeping agent instructions synchronized after editing them.
Why use it?
It prevents the source files and the copies used by the agent from getting out of sync.

Cursor rule for Cursor

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

Not installable on its own: it runs a file from its repository that does not travel with it. Clone the repository, or install whatever ships that file. The line is ./foundation/scripts/setup_cursor_copies.sh.

Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

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 cursor_rules_sync_requirement

README.md
[![agentmods](https://agentmods.dev/badge/rules/markmhendrickson/neotoma/cursor_rules_sync_requirement.svg)](https://agentmods.dev/rules/markmhendrickson/neotoma/cursor_rules_sync_requirement)
Your own site
<a href="https://agentmods.dev/rules/markmhendrickson/neotoma/cursor_rules_sync_requirement"><img src="https://agentmods.dev/badge/rules/markmhendrickson/neotoma/cursor_rules_sync_requirement.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,268 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00032 $0.01268
Opus 5 $0.00016 $0.00634
Sonnet 5 $0.00006 $0.00254
Haiku 4.5 $0.00003 $0.00127

Measured 2d ago against content hash e14867b6b8d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

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

.cursor/rules/cursor_rules_sync_requirement.mdc · 156 lines

How it starts

The opening of the file, as written. The whole thing — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.

⚠️ DO NOT EDIT THIS FILE DIRECTLY

This is a copy of: foundation/agent_instructions/cursor_rules/cursor_rules_sync_requirement.mdc

Source of truth: foundation/agent_instructions/cursor_rules/cursor_rules_sync_requirement.mdc

To edit this rule:

1. Edit the source file: foundation/agent_instructions/cursor_rules/cursor_rules_sync_requirement.mdc

2. Run '/setup_cursor_copies' to sync changes

This file will be overwritten when running setup_cursor_copies.

Cursor Rules Sync Requirement Rule

Purpose

Ensures agents ALWAYS run /setup_cursor_copies immediately after updating any rule or command file, ensuring changes are synced to .cursor/ directory in the same conversation/workflow.

Scope

This document covers:

  • Mandatory requirement to run /setup_cursor_copies after rule/command updates
  • When this requirement applies
  • Validation requirements

This document does NOT cover:

  • How to edit rules (see cursor_rules_editing.mdc)
  • Foundation vs repository rule locations (see cursor_rules_editing.mdc)

Trigger Patterns

Agents MUST run /setup_cursor_copies immediately after:

  • Editing any file in docs/ that is a rule source (files matching *_rules.mdc or *_rules.md)
  • Editing any file in docs/ that is a command source (files matching *_command.md)
  • Editing any file in foundation/agent_instructions/cursor_rules/
  • Editing any file in foundation/agent_instructions/cursor_commands/
  • Updating rule documentation
  • Creating new rule files
  • Modifying existing rule files

Mandatory Requirement

MANDATORY: After editing ANY rule or command source file, agents MUST:

  1. Immediately run /setup_cursor_copies in the same conversation/workflow
  2. Do NOT defer this step to a later conversation
  3. Do NOT mark rule updates complete without running /setup_cursor_copies
  4. Verify the sync succeeded by checking script output

Agent Actions

Step 1: Edit Source File

  1. Identify the source file location:
    • Repository rules: docs/{subdirectory}/{name}_rules.mdc or docs/{subdirectory}/{name}_rules.md
    • Foundation rules: foundation/agent_instructions/cursor_rules/{name}.mdc
    • Commands: docs/{subdirectory}/{name}_command.md or foundation/agent_instructions/cursor_commands/{name}.md

Read the full file on GitHub · 156 lines

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. 2d ago First seen · 156 lines · 32 tokens per session scan A e14867b6b8d0

Subscribe to this mod's changes

cursor_rules_sync_requirement is a cursor rule published in the GitHub repository markmhendrickson/neotoma (31 stars, last pushed 3d ago), licensed MIT. It adds 32 tokens to every session and 1,268 once invoked, about $0.0002 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-09-03.