cursor-cli
Installation
SKILL.md
What is Cursor CLI
Cursor CLI brings the full Cursor IDE agent experience to the terminal. It supports cloud agent handoff (start locally, continue remotely), works with any model in your Cursor subscription, and provides the same powerful coding capabilities as the Cursor editor.
When to delegate to Cursor CLI
Use Cursor CLI when you need to:
- Perform IDE-grade code generation and editing from the terminal
- Hand off long-running tasks to cloud agents
- Rapidly prototype features with multi-model support
- Work on tasks that benefit from Cursor's proprietary model routing
- Use plan mode to get implementation strategies before coding
- Run background coding tasks while you work on other things
How to invoke Cursor CLI
Non-interactive (recommended for delegation)
Use the -p flag for non-interactive print mode: