Cursor/command
Add a command
Creates a reusable command in the project's .cursor/commands directory.
Format
cursor://anysphere.cursor-deeplink/command?name={name}&text={text}web
https://cursor.com/link/command?name={name}&text={text}Try it
cursor://anysphere.cursor-deeplink/command?name=debug-api&text=Add%20console.log%20statements%20to%20debug%20API%20responsesOpenWhat you supply
{name}Identifier for the command. Becomes its filename under
.cursor/commands.{text}The command's instructions.
URL-encode it. The whole link, encoded, must stay under 8,000 characters.
This one writes a file into the reader's working tree, so it asks first. Cursor shows what the command contains and creates it only on confirmation.
Useful for onboarding: a link in a project's README can hand a new contributor the same command everyone else on the team already has, without them copying files around.