Commands – Specify Agent Mode & AI Model

Feature request for product/service

Cursor IDE

Describe the request

Currently, Commands in Cursor allow users to create custom slash (/) commands to quickly trigger actions.
The proposed enhancement is to extend this feature by enabling users to define, per command, both the agent mode and the AI model to use.

Goals

Increased flexibility: allow users to specify whether a command should run in Chat mode, Inline Edit, Terminal Assistant, or any other available mode.

AI model control: give users the option to associate a specific model (claude-4-sonnet, gpt-5, grok-code-fast-1, gemini-2.5-pro, etc.) depending on the task.

Example: a lightweight, fast model for documentation or text cleanup, and a more advanced model for complex code generation.

Benefits

Productivity: saves time by avoiding manual reconfiguration of the agent or model before each use.

Context adaptation: each command can be optimized for its intended purpose (speed, precision, creativity, etc.).

Personalization: teams can standardize certain commands with models tailored to their internal needs

6 Likes

I need this so much!

Same! Wondering if this was implemented