A simple tool that automatically clicks the "resume the conversation" link when Cursor IDE hits its API rate limits.
This tool is created with the intention of helping developers maintain their workflow efficiency while using Cursor IDE. It is designed to automate a manual action that Cursor explicitly allows (clicking the "resume conversation" link) and does not attempt to bypass or circumvent any actual rate limits or security measures.
We respect Cursor's services and their need for rate limiting. This tool:
- Only automates an action that users are explicitly allowed to perform
- Maintains the same cooldown periods as manual clicking
- Does not attempt to bypass actual API limits or quotas
- Simply reduces the manual interruption of having to click the resume link
The goal is to enhance developer productivity while working within Cursor's intended usage patterns.
When using Cursor's AI features extensively during development, you often hit rate limits after about 25 tool calls. Normally, you'd see a message like this:
Note: we default stop the agent after 25 tool calls. You can resume the conversation.
This tool automatically detects this message and clicks the "resume the conversation" link for you, allowing you to maintain focus on your development tasks without manual interruption.
- Auto-click: Automatically clicks the "resume the conversation" link when rate limits appear
- Anti-spam: 3-second cooldown between clicks to prevent issues
Permanent installation:
- Install Custom CSS and JS Loader
- Clone this repo to your home directory
- Add this to your
settings.json
:
"vscode_custom_css.imports": [
"file://${userHome}/cursor-auto-resume/cursor-auto-resume.js"
]
- Restart Cursor with proper permissions to modify itself (your user should own it)
- Activate command "Reload Custom CSS and JS"
- Reload window
Step 5 + 6 must be repeated on each Cursor update.
One time installation:
- In Cursor, click "Help" in the menu bar and select "Toggle Developer Tools"
- Click the "Console" tab
- Copy the entire code from cursor-auto-resume.js
- Paste it into the console and press Enter
- Close DevTools by clicking the X in the corner (optional)
The script will now automatically click the "resume the conversation" link whenever it appears.
The script:
- Monitors the page for specific rate limit messages
- When found, looks for the exact "resume the conversation" link
- Clicks the link automatically (with a 3-second cooldown)
Yes, the script only runs in your Cursor IDE and only clicks the specific "resume the conversation" link when rate limits are hit. It doesn't modify any core functionality or bypass any security measures.
As long as Cursor continues to use similar rate limit messages and "resume the conversation" links, the script should continue to work. If Cursor's interface changes, we'll update the tool to maintain compatibility while respecting their service.
Close and reopen Cursor IDE, or refresh the window.
No. This tool only automates clicking the "resume the conversation" link that Cursor explicitly provides. It respects all cooldown periods and doesn't bypass any actual API limits. It simply automates an action that users are already permitted to perform manually.
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a pull request. When contributing, please maintain the tool's core principle of respecting Cursor's service while helping developers be more productive.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request