skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations86 installs

cursor

Control Cursor AI code editor via CLI. Use when opening files, comparing diffs, managing extensions, or configuring Cursor as git editor.

How do I install this agent skill?

npx skills add https://github.com/dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations --skill cursor
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    This skill provides a comprehensive guide for using the Cursor AI code editor's command-line interface. It includes instructions for opening files at specific lines, comparing files, managing extensions, and configuring settings. No security risks were identified; the skill functions as a standard developer tool reference.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

  • Runlayerpass

    1 file scanned · No issues

What does this agent skill do?

<!-- TOC: Quick Start | THE EXACT PROMPT | Commands | Settings | References -->

Cursor CLI

Core Capability: Control the Cursor AI-powered code editor (VS Code fork) from the command line.

Quick Start

# Open current directory
cursor .

# Open file at specific line
cursor /path/to/file.ts:42

# Compare two files
cursor --diff file1.ts file2.ts

# Use as git editor
git config --global core.editor "cursor --wait"

THE EXACT PROMPT — Open Files

# Open file
cursor /path/to/file.ts

# Open at specific line
cursor /path/to/file.ts:42

# Open at line and column
cursor /path/to/file.ts:42:10

# Open multiple files
cursor file1.ts file2.ts file3.ts

# Open in new window
cursor -n /path/to/project

# Reuse existing window
cursor -r /path/to/file

THE EXACT PROMPT — Diff and Wait

# Compare two files
cursor --diff file1.ts file2.ts
cursor -d file1.ts file2.ts

# Wait for file to close (scripts/git)
cursor --wait /path/to/file
cursor -w /path/to/file

# Use as git editor
git config --global core.editor "cursor --wait"

THE EXACT PROMPT — Extensions

# List installed extensions
cursor --list-extensions

# Install extension
cursor --install-extension <extension-id>

# Uninstall extension
cursor --uninstall-extension <extension-id>

# Disable all extensions
cursor --disable-extensions

Essential Commands

CommandDescription
cursor .Open current directory
cursor file.ts:42Open file at line
cursor -n pathOpen in new window
cursor -r pathReuse existing window
cursor --diff a bCompare two files
cursor --wait fileWait for close (scripting)
cursor --add folderAdd to current workspace

Settings Locations

FilemacOS Path
User settings~/Library/Application Support/Cursor/User/settings.json
Keybindings~/Library/Application Support/Cursor/User/keybindings.json
FileLinux Path
User settings~/.config/Cursor/User/settings.json
Keybindings~/.config/Cursor/User/keybindings.json

Portable Mode

# Custom user data directory
cursor --user-data-dir /path/to/data

# Custom extensions directory
cursor --extensions-dir /path/to/extensions

Piping Input

# Read from stdin
echo "console.log('hello')" | cursor -

# Pipe file contents
cat script.ts | cursor -

Debugging

# Show version
cursor --version

# Show help
cursor --help

# Verbose output
cursor --verbose /path/to/file

# Inspect extensions
cursor --inspect-extensions

References

TopicReference
Full command referenceCOMMANDS.md

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations/cursor">View cursor on skillZs</a>