promptgarten 🌱

Command reference Β· Cursor CLI

/rules

Interactive browser for viewing and editing the loaded Cursor rules.

/rules is – alongside /update – one of two genuine slash commands in this group: an interactive command within a running Cursor CLI session, not a terminal subcommand. It opens an interactive browser for the currently loaded Cursor rules with inline editing, right from within the chat. Officially, /rules is so far only documented in the changelog (January 2026, together with the related /commands browser for custom commands), not in the separate slash command reference table – which currently lists around 30 commands, with /rules and /commands missing from it. This is a gap in the reference page compared to the changelog, not an uncertainty about the command itself. Rules live on the project side as .mdc files under .cursor/rules. With /rules you can see at a glance which of them are actually loaded and active in the current session, and edit them directly without having to manually open the file in the editor.

πŸ”„ THE SAME TASK (β€œEDIT PROJECT CONFIG/INSTRUCTIONS”) ON OTHER PLATFORMS

Compare all 28 tasks β†’

βœ… WHEN TO USE IT?

Check active rules before a task

Open /rules before starting a new task to see which project conventions currently apply

Quickly adjust a rule directly

Open /rules and correct a loaded .mdc rule via inline editing, without opening the file in the editor

β›” WHEN NOT TO?

Looking for skills or commands

/rules shows only Cursor rules, not skills or custom commands.

Better: Use /skills or /commands

SOURCES

MORE COMMANDS Β· Cursor CLI

/commands/changesagent [prompt...]agent loginagent logoutagent status | agent whoamiagent aboutagent modelsagent mcpagent sandboxagent workeragent acp

All commands Β· Cursor CLI β†’

Share:𝕏inπŸ’¬