cursor
БесплатноБез исполняемых скриптовНе проверенControl Cursor AI code editor via CLI. Use when opening files, comparing diffs, managing extensions, or configuring Cursor as git editor.
Об этом скилле
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
| Command | Description |
|---|---|
cursor . |
Open current directory |
cursor file.ts:42 |
Open file at line |
cursor -n path |
Open in new window |
cursor -r path |
Reuse existing window |
cursor --diff a b |
Compare two files |
cursor --wait file |
Wait for close (scripting) |
cursor --add folder |
Add to current workspace |
Settings Locations
| File | macOS Path |
|---|---|
| User settings | ~/Library/Application Support/Cursor/User/settings.json |
| Keybindings | ~/Library/Application Support/Cursor/User/keybindings.json |
| File | Linux 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
| Topic | Reference |
|---|---|
| Full command reference | COMMANDS.md |
Установить cursor в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл cursor?
Control Cursor AI code editor via CLI. Use when opening files, comparing diffs, managing extensions, or configuring Cursor as git editor.
Как установить скилл cursor?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл cursor запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic