true-yolo-cursor-auto-accept-full-agentic-mode
Cursor Auto Accept Code (TRUE YOLO MODE) & all RUN commands / just sit and relax
Install / Use
npx skills add ivalsaraj/true-yolo-cursor-auto-accept-full-agentic-modeInstalls into whichever agent you are using.
.cursorrules
Cursor IDE rules (legacy)
Quality Score
Category
AutomationSupported Platforms
Skill content
View source on GitHubTRUE YOLO MODE - Cursor Auto-Accept & Analytics Script
‼️ DO NOT USE IT, AI LLM MODELS CAN MAKE MISTAKES, THIS WORKS FOR SMALL PROJECTS BUT FOR LARGE PROJECTS ALWAYS REVIEW THE CODE, VERIFY THE CODE OF LLM, DON'T BLINDLY TRUST LLM MODEL
TRUST, BUT VERIFY!
Why can't Cursor work fully-agentic like Bolt, Loveable, or v0 even with high efficient models? Like "Prompt to Production" or "True Yolo Mode", Here is the answer of "How to make it"!
🪄 Automagically clicks "Accept", "Accept All", "Run", "Resume Conversation" Cursor AI suggestions with comprehensive analytics, conversation analysis, and ROI tracking.
<div align="center"> <img src="autoclickdemo.png" alt="Auto Accept Demo" width="200"/> <img src="demo1.png" alt="App Demo" width="200"/> <img src="analytics.png" alt="Analytics Demo" width="200"/> <img src="analytics-2.png" alt="Analytics Demo" width="200"/> </div>🎯 What This Does
This advanced script automatically clicks "Accept", "Accept All", "Run", "Resume Conversation", and similar buttons in Cursor IDE, eliminating manual clicking during AI-assisted coding sessions. It provides comprehensive analytics on files modified, conversation analysis, separated button type tracking, and calculates precise time savings with ROI metrics.
⚡ Key Features
🤖 Smart Automation
- Multi-IDE Support: Works with both Cursor and Windsurf IDEs with automatic detection
- Universal Button Detection: Accept, Run, Apply, Execute, Resume Conversation
- Conversation-Based File Detection: Finds files from latest diff blocks in conversation
- Universal File Support: Works with ANY file type (JS, CSS, Python, SQL, etc.)
- Resume Conversation Auto-Click: Automatically continues when hitting 25 tool call limit
- Connection Failure Support: Auto-clicks Resume/Try again during connection issues
- Zero Interruption: Works silently in background maintaining development flow
📊 Advanced Analytics
- Separated Button Analytics: Color-coded tracking for different button types
- 🟢 Accept/Accept All: Standard file acceptances
- 🟠 Run/Run Command: Command executions
- 🔵 Resume Conversation: Session continuations
- 🔴 Connection Resume/Try Again: Connection failure recovery
- 🟣 Apply/Execute: Other actions
- File Change Tracking: Lines added/deleted per file with timestamps
- Conversation Analysis: Diff block detection and development progress monitoring
- Session Statistics: Duration, clicks, files modified, productivity metrics
⚡ ROI & Time Tracking
- Precise Time Calculations: Based on complete AI workflow automation
- Productivity Gain: Real percentage increases in coding efficiency
- Button-Specific Savings: Different time values for different action types
- Session Projections: Daily/weekly/monthly time savings estimates
🎮 Interactive Control Panel
- Draggable Interface: Position anywhere on screen
- Three-Tab Layout: Main controls, Analytics, ROI tracking
- Real-Time Updates: Live activity logs and status indicators
- Configuration Controls: Enable/disable specific button types
- Data Export: Download complete analytics as JSON
🔍 Conversation Intelligence
- Diff Block Analysis: Automatically detects code changes in conversation
- File Change Monitoring: Tracks modifications across development session
- Recent Activity Analysis: Configurable time windows for activity tracking
- Development Progress Insights: Understand coding velocity and patterns
🚀 Installation
Method 1: Copy & Paste (Recommended)
- Copy entire content from
cursor-auto-accept-simple.js(or use minifiedcursor-auto-accept-simple.min.js) - Open Cursor or Windsurf → Help → Toggle Developer Tools
- Go to Console tab
- Type
allow pastingand press Enter (if prompted) - Paste script content and press Enter
- Script loads with
[autoAcceptAndAnalytics] SCRIPT LOADED AND ACTIVE! (IDE detected)message
This is important step (STEP 4 above)

Method 2: Direct Download
- Download
cursor-auto-accept-simple.jsfrom repository - Follow console steps above
Method 3: Bookmarklet
Create browser bookmark with script content for easy loading.
Method 4: Minified Version
For faster loading, use the professionally minified version:
- Use
cursor-auto-accept-simple.min.jsinstead of the full version - 53%+ smaller file size (133KB → 62KB) for faster loading
- Terser-optimized with preserved function names and syntax validation
- Same functionality, professionally compressed
- Rebuild with
npm run buildornode build.jsafter making changes
📖 Usage Guide
🎮 Basic Controls
// Start automation (also available as global shortcut)
startAccept()
// Stop automation
stopAccept()
// Check current status
acceptStatus()
// Show control panel
globalThis.simpleAccept.showControlPanel()
⚙️ Configuration
// Enable only specific button types
enableOnly(['accept', 'run', 'resume'])
// Enable/disable individual types
enableButton('accept')
disableButton('execute')
toggleButton('apply')
// Enable/disable all button types
enableAll()
disableAll()
Supported Types: accept, acceptAll, run, runCommand, apply, execute, resume, connectionResume, tryAgain
📊 Analytics & Data
// Show analytics in control panel
showAnalytics()
// Export complete analytics data
exportAnalytics()
// Clear all analytics data
clearAnalytics()
// Validate data integrity
validateData()
// Clear all storage and reset
clearStorage()
🔍 Conversation Analysis
// Find all diff blocks in conversation
findDiffs()
// Get conversation overview with file changes
getContext()
// Log detailed conversation activity
logActivity()
// Find recent diff blocks (default 30 seconds)
recentDiffs()
recentDiffs(60000) // Custom time window in milliseconds
🐛 Debug Controls
// Enable detailed file extraction logging
enableDebug()
// Disable debug logging
disableDebug()
// Toggle debug mode
toggleDebug()
// Manual button search for troubleshooting
debugAccept()
⚡ ROI Calibration
// Calibrate workflow timing (default: 30 seconds manual workflow)
calibrateWorkflow(30)
// Custom calibration with manual and automated times
calibrateWorkflow(25, 100) // 25s manual, 100ms automated
🎛️ Control Panel Features
📊 Main Tab
- Start/Stop Controls: Large visual buttons with status indicators
- Real-Time Counter: Shows current session clicks
- Activity Log: Timestamped log with file names and button types
- Configuration Checkboxes: Individual button type toggles
- Status Display: Running/Stopped with session duration
📈 Analytics Tab
- Session Overview: Duration, total clicks, files modified
- 🎯 Button Types: Color-coded breakdown of button usage
- Accept/Accept All (Green)
- Run/Run Command (Orange)
- Resume Conversation (Blue)
- Apply/Execute (Purple)
- 📁 File Activity: Individual file modification history
- Export/Clear Controls: Data management functions
⚡ ROI Tab
- Complete Workflow ROI: Time savings from full AI workflow automation
- Session Metrics: Total time saved, productivity gain percentage
- Performance Analysis: Average time per click, efficiency calculations
- Impact Projections: Estimated daily/weekly/monthly savings
- Workflow Explanation: Understanding of measurement methodology
🤖 Resume Conversation Feature
Automatic Session Continuation
- 25 Tool Call Limit Detection: Automatically detects when Cursor reaches limit
- Auto-Click Resume Links: Finds and clicks "Resume Conversation" markdown links
- Seamless Workflow: Maintains development momentum during long sessions
- Analytics Integration: Tracks resume actions separately with blue color coding
- Configuration Control: Can be enabled/disabled like other button types
Technical Implementation
// Target elements for resume detection
'.markdown-link[data-link="command:composer.resumeCurrentChat"]'
// Enable/disable resume functionality
enableButton('resume')
disableButton('resume')
🌐 Connection Failure Support
Automatic Connection Recovery
- Connection Failed Detection: Automatically detects connection failure dropdowns
- Auto-Click Resume/Try Again: Finds and clicks connection recovery buttons
- Internet/VPN Issues: Handles "check your internet connection or VPN" scenarios
- Seamless Recovery: Maintains workflow during network interruptions
- Separate Analytics: Tracks connection recovery actions with red color coding
Supported Connection Scenarios
- Slow Internet: Auto-clicks "Resume" when connection is slow
- No Internet: Auto-clicks "Try again" when connection fails
- VPN Issues: Handles VPN-related connection problems
- Network Timeouts: Automatically retries failed requests
Technical Implementation
// Target elements for connection failure detection
'.bg-dropdown-background' // Connection failure dropdown containers
'.anysphere-secondary-button' // Resume/Try again buttons
// Enable/disable connection failure support
enableButton('connectionResume')
enableButton('tryAgain')
disableButton('connectionResume')
disableButton('tryAgain')
Configuration Control
// Enable only connection failure buttons
enableOnly(['connectionResume', 'tryAgain'])
// Check current configuration
acceptStatus()
🔄 Multi-IDE Support
Automatic IDE Detection
- Smart Detection: Automatically detects whether running in Cursor or Windsurf
- Adaptive Selectors: Uses IDE-specific DOM selectors and button patterns
- Seamless Experience: Same functionality across both IDEs
- Debug Information: Shows detected IDE in startup message and logs
Supported IDEs
- Cursor IDE: Full support with original selectors and patterns
- Windsurf IDE: Complete support with Windsurf-specific class detection
- Automatic Fallback: Global button search if IDE detection fails
IDE-Specific Features
Cursor IDE
- Uses
div.full-input-boxas anchor point - Targets
.anysphere-*button classes - Supports
.composer-code-block-containerfile detection
Windsurf IDE
- Uses
.bg-ide-editor-backgroundcontainers - Targets
.bg-ide-button-backgroundand.text-ide-button-colorclasses - Supports both
buttonandspanclickable elements
Technical Implementation
// IDE detection method
detectIDE() {
// Checks for IDE-specific DOM elements and classes
// Returns 'cursor' or 'windsurf'
}
// IDE-specific button detection
if (this.ideType === 'windsurf') {
return this.isWindsurfAcceptButton(element);
} else {
return this.isCursorAcceptButton(element);
}
Debug IDE Detection
// Check detected IDE
console.log(globalThis.simpleAccept.ideType);
// Enable debug mode to see IDE-specific detection logs
enableDebug()
📁 Universal File Detection
Conversation-Based Approach
- Latest Message Analysis: Searches most recent conversation messages by
data-message-index - Diff Block Detection: Finds code blocks in
div.conversationscontainer - Universal File Support: Detects ANY file type through pattern matching
- Fallback System: Multiple detection methods for reliability
File Types Supported
- Programming:
.js,.ts,.py,.java,.cpp,.c,.cs,.go,
Truncated for display — read the full file on GitHub.
Related Skills
Agent-Reach
84.4kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
ruflo
73.0k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
nanobot
48.5kUltra-lightweight, open-source, self-hosted personal AI agent framework in Python with WebUI, tools, memory, MCP, multi-agent workflows, automation, and chat apps
Scrapling
82.8k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ
Languages
Security Score
Audited on Jun 27, 2025
