cursor

Open files, folders, and specific lines in Cursor from the CLI.

70|13|Updated Jan 5, 2026
One-click install
npx skills add https://github.com/Dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations --skill cursor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cursor
Source: https://github.com/Dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations/tree/main/skills/cursor
Command: npx skills add https://github.com/Dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations --skill cursor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers frequently need to interact with the Cursor AI-powered code editor from the terminal to reduce context switching and speed up common editing tasks.

Core Features & Use Cases

  • Open files and folders from the CLI, with optional line and column navigation.
  • View and apply diffs directly in Cursor to review changes efficiently.
  • Manage extensions and workspace settings from the command line to streamline workflows.

Quick Start

Launch a file: cursor /path/to/file.ts Open a project folder: cursor /path/to/project Open a specific line: cursor /path/to/file.ts:42

Frequently Asked Questions about cursor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I open a file at a specific line number in Cursor from the terminal?

To open a file at a specific line in Cursor from the terminal, use the CLI syntax cursor /path/to/file.ts:42, appending the line number after a colon to navigate directly to that location in the code editor.

Can I open an entire project folder in the Cursor code editor using the command line?

Yes, you can open a project folder in the Cursor code editor from the command line by running cursor /path/to/project, which loads the directory into your workspace for local project workflows and multi-file edits.

What is the best way to view and apply diffs for code review without leaving the terminal?

Viewing and applying diffs directly in Cursor is the best way to review changes efficiently from a CLI workflow, allowing you to manage multi-file edits and review sessions without heavy context switching.

Can I manage Cursor extensions and workspace settings from the command line?

Yes, you can manage Cursor extensions and workspace settings from the command line, streamlining your development workflow by handling editor configurations and multi-file edits directly through simple CLI options.

Does the Cursor CLI support multi-file edits and local project workflows?

The Cursor CLI supports local project workflows and multi-file edits by allowing you to open files, folders, and specific line numbers from the terminal, accelerating code delivery and review sessions.