Cursor CLI
Use Cursor editor and Cursor agent for coding tasks
Latest: v1.1.1
Added
• Initial release of cursor-cli skill for OpenClaw • Support for Cursor editor and Cursor Agent integration • Documentation for main commands: cursor, cursor-agent
Commands
• cursor --goto file:line — open file at specific line • cursor-agent -p "question" — ask AI coding assistant • cursor --diff file1 file2 — compare two files
Notes
• Requires Cursor editor installed on system • Works best with Cursor Pro for full AI capabilities
Cursor CLI skill
Use this skill for coding tasks with Cursor editor.
Commands
1. Open file in Cursor
cursor --goto file.py:line
2. Use Cursor Agent (AI coding assistant)
cursor-agent -p "your question" --mode=ask --output-format text
3. Open diff between files
cursor --diff file1.py file2.py
Examples
Open file at specific line:
cursor --goto conftest.py:180
Ask Cursor AI:
cursor-agent -p "Explain what recursion is" --mode=ask --output-format text
Review code:
cursor-agent -p "Review this code for bugs" --output-format text
Notes
- Run from the project directory when possible
- Cursor agent may take 30-120 seconds for complex tasks
- Works best with Cursor Pro for full AI capabilities
