Cursor Skill Use the CLI to control the Cursor AI-powered code editor (VS Code fork). CLI Location Opening Files and Folders Open current directory: Open specific file: Open file at specific line: Open file at line and column: Open folder: Open multiple files: Window Options Open in new window: Open in new window (alias): Reuse existing window: Reuse existing window (alias): Diff Mode Compare two files: Diff (alias): Wait Mode Wait for file to close (useful in scripts): Short form: Use as git editor: Adding to Workspace Add folder to current workspace: Extensions List installed extensions: Inβ¦