Delegate code changes to Cursor as a background task
Delegates code changes to Cursor AI for background execution with full file access.
/plugin marketplace add glekner/cursor-opinion-marketplace/plugin install cursor-opinion@cursor-opinion-marketplace[task description]The user wants Cursor AI to make code changes in the current project.
$ARGUMENTS
Cursor will be given full access to read and modify files in the current working directory. This is a SLOW operation - expect 2-5 minutes.
When calling Bash, you MUST set a long timeout:
timeout: 600000 (10 minutes) for the Bash tool callIdentify the Task: Determine what code changes the user wants made.
Gather Context: Collect relevant context including:
Build a Comprehensive Prompt: Create a detailed, actionable prompt that tells Cursor exactly what changes to make. Include:
Execute Delegation: Call the delegate script with the working directory.
CRITICAL: Set timeout to 600000ms (10 minutes) because Cursor uses a slow model:
# timeout: 600000
"${CLAUDE_PLUGIN_ROOT}/scripts/delegate-cursor.sh" "YOUR_COMPREHENSIVE_PROMPT" "$(pwd)"
Report Results: When Cursor completes, summarize:
$(pwd))agent command is not found, they need to install the Cursor CLI