Install
npx skillscat add dicklesworthstone/agent-flywheel-clawdbot-skills-and-integrations/cursor Install via the SkillsCat registry.
Cursor Skill
Use the cursor CLI to control the Cursor AI-powered code editor (VS Code fork).
CLI Location
/usr/local/bin/cursorOpening Files and Folders
Open current directory:
cursor .Open specific file:
cursor /path/to/file.tsOpen file at specific line:
cursor /path/to/file.ts:42Open file at line and column:
cursor /path/to/file.ts:42:10Open folder:
cursor /path/to/projectOpen multiple files:
cursor file1.ts file2.ts file3.tsWindow Options
Open in new window:
cursor -n /path/to/projectOpen in new window (alias):
cursor --new-window /path/to/projectReuse existing window:
cursor -r /path/to/fileReuse existing window (alias):
cursor --reuse-window /path/to/fileDiff Mode
Compare two files:
cursor -d file1.ts file2.tsDiff (alias):
cursor --diff file1.ts file2.tsWait Mode
Wait for file to close (useful in scripts):
cursor --wait /path/to/fileShort form:
cursor -w /path/to/fileUse as git editor:
git config --global core.editor "cursor --wait"Adding to Workspace
Add folder to current workspace:
cursor --add /path/to/folderExtensions
List installed extensions:
cursor --list-extensionsInstall extension:
cursor --install-extension <extension-id>Uninstall extension:
cursor --uninstall-extension <extension-id>Disable all extensions:
cursor --disable-extensionsVerbose and Debugging
Show version:
cursor --versionShow help:
cursor --helpVerbose output:
cursor --verbose /path/to/fileOpen developer tools:
cursor --inspect-extensionsSettings
User settings location:
~/Library/Application Support/Cursor/User/settings.jsonKeybindings location:
~/Library/Application Support/Cursor/User/keybindings.jsonPortable Mode / Profiles
Specify user data directory:
cursor --user-data-dir /path/to/dataSpecify extensions directory:
cursor --extensions-dir /path/to/extensionsPiping Input
Read from stdin:
echo "console.log('hello')" | cursor -Remote Development
Cursor supports remote development similar to VS Code. SSH remotes are configured in:
~/.ssh/configThen use command palette or remote explorer in the GUI.