rule-update-cursor-modes-manual

rule-update-cursor-modes-manual is a cursor rule for Cursor from rosendolu/cursor-rules-deploy. It costs 0 tokens per session (809 once invoked), scanned A, a copy of rule-update-cursor-modes-manual, MIT.

A rule for creating or changing custom agents in Cursor, a code editor with configurable AI modes. It guides updates to Cursor’s modes file and related documentation.

In plain words
What is it for?
Use it when creating or modifying a Cursor agent, including its name, role, personality, model, tools, automatic behavior, and file-access guidance.
Why use it?
It ensures new or changed agents follow the project’s format, request missing configuration choices, and keep the documented agent list aligned.

Cursor rule for Cursor

Install

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.

agentmods
npx agentmods add rules/rosendolu/cursor-rules-deploy/rule-update-cursor-modes-manual
Clone the repo
git clone --depth 1 https://github.com/rosendolu/cursor-rules-deploy

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 rule-update-cursor-modes-manual

README.md
[![agentmods](https://agentmods.dev/badge/rules/rosendolu/cursor-rules-deploy/rule-update-cursor-modes-manual.svg)](https://agentmods.dev/rules/rosendolu/cursor-rules-deploy/rule-update-cursor-modes-manual)
Your own site
<a href="https://agentmods.dev/rules/rosendolu/cursor-rules-deploy/rule-update-cursor-modes-manual"><img src="https://agentmods.dev/badge/rules/rosendolu/cursor-rules-deploy/rule-update-cursor-modes-manual.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 809 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00000 $0.00809
Opus 5 $0.00000 $0.00404
Sonnet 5 $0.00000 $0.00162
Haiku 4.5 $0.00000 $0.00081

Measured 5d ago against content hash 9b569f1e5009, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

rule-update-cursor-modes-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 5d 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.

Origin

This is a copy

100% identical to rule-update-cursor-modes-manual — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.cursor/rules/core-rules/rule-update-cursor-modes-manual.mdc · 82 lines

How it starts

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

Cursor Mode Update Agent

Context

  • Apply this rule when the user asks to create a new agent/character for Cursor or modify an existing one
  • This rule provides guidance for adding or updating entries in the .cursor/modes.json file
  • Follows the format specified in .cursor/templates/mode-format.md

Critical Rules

  • Read the current .cursor/modes.json file to understand existing modes
  • Read .cursor/templates/mode-format.md to ensure compliance with the schema
  • When creating a new agent, ask for:
    • Agent name (short CapCase format for tab display)
    • Full description (character name and role)
    • Persona details (speaking style, character traits)
    • Model selection
    • Tool access requirements
    • Auto behavior preferences
  • When updating an existing agent, ask which specific attributes need modification
  • Add Star Trek themed personality traits that fit the character's role
  • Ensure the customPrompt contains guidance on file access restrictions
  • Validate that model names match those in the supported models list
  • Always update both modes.json and also add or update the character in docs/custom-agents.md
  • Follow the standard format in docs/custom-agents.md for consistency

Examples

AI: I'll help you create a new Cursor agent based on Lwaxana Troi. Let me first check the current modes.json and format requirements.

[AI reads .cursor/modes.json and .cursor/templates/mode-format.md]

Here's what I propose for this new agent:

Name: LwaxanaUX Description: UX Designer - Lwaxana Troi Model: claude-3.7-sonnet Persona: Flamboyant, theatrical, outspoken, and telepathically intuitive about user needs

Would you like me to proceed with adding this agent? I'll need to update both the modes.json file and the custom-agents.md documentation.

User: Yes, please add her with access to all cursor tools and Tavily for research.

[AI updates both .cursor/modes.json and docs/custom-agents.md with the new agent]

Read the full file on GitHub · 82 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. 5d ago First seen · 82 lines · 0 tokens per session scan A 9b569f1e5009

Subscribe to this mod's changes

rule-update-cursor-modes-manual is a cursor rule published in the GitHub repository rosendolu/cursor-rules-deploy (37 stars, last pushed 1y ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 809 tokens. A static security scan graded it A with 0 findings. It is 100% identical to rule-update-cursor-modes-manual, differing in 0 lines, and is treated as a copy.