What problem does it solve?
This Skill prevents Cursor CLI agent runs from hanging in automated or AI-agent environments by guiding you through correct installation, authentication, and a safe tmux-based execution workflow.
Core Features & Use Cases
- Installation & setup: Install Cursor CLI and configure PATH, then verify with version commands across macOS, Linux, and WSL.
- Authentication & updates: Log in via browser or set CURSOR_API_KEY, and keep the CLI current with upgrade commands.
- Command and workflow coverage: Use interactive and non-interactive modes, switch models, select context with file/folder mentions, and apply rules via loaded config files.
- Automation-ready execution (tmux): Provides a TTY-safe tmux approach for running Cursor from subprocesses, scripts, or agent orchestrations, including workspace trust handling.
Quick Start
Ask the agent to refactor and improve a file by running Cursor CLI from an interactive or tmux-backed environment: "Use Cursor to refactor src/utils.ts for readability and stronger TypeScript types."