Token导航 LogoToken导航TokenDH.com
AI 工具权限需确认github未标认证来源可访问clear审计通过

cursorCursor 命令行

Agent Skill

cursor 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,842

周安装

76

GitHub Stars

63

下载量

602
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:cursor(Cursor 命令行)
来源仓库:https://github.com/dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations
仓库路径:skills/cursor
安装命令:
npx skills add https://github.com/dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations --skill cursor
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations --skill cursor

简介

cursor 用于控制Cursor AI代码编辑器,支持打开文件、文件夹和管理窗口实例。

  • 适用于通过命令行快速启动编辑会话、定位代码行和多文件协同处理。
  • 需指定文件或目录路径,系统将调用本地Cursor客户端执行相应操作。
  • 安装前请确认已安装Cursor IDE并配置好CLI环境,避免路径解析错误。
  • cursor 属于AI 工具类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Cursor Skill

Use the cursor CLI to control the Cursor AI-powered code editor (VS Code fork).

CLI Location

/usr/local/bin/cursor

Opening Files and Folders

Open current directory:

cursor .

Open specific file:

cursor /path/to/file.ts

Open file at specific line:

cursor /path/to/file.ts:42

Open file at line and column:

cursor /path/to/file.ts:42:10

Open folder:

cursor /path/to/project

Open multiple files:

cursor file1.ts file2.ts file3.ts

Window Options

Open in new window:

cursor -n /path/to/project

Open in new window (alias):

cursor --new-window /path/to/project

Reuse existing window:

cursor -r /path/to/file

Reuse existing window (alias):

cursor --reuse-window /path/to/file

Diff Mode

Compare two files:

cursor -d file1.ts file2.ts

Diff (alias):

cursor --diff file1.ts file2.ts

Wait Mode

Wait for file to close (useful in scripts):

cursor --wait /path/to/file

Short form:

cursor -w /path/to/file

Use as git editor:

git config --global core.editor "cursor --wait"

Adding to Workspace

Add folder to current workspace:

cursor --add /path/to/folder

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

Verbose and Debugging

Show version:

cursor --version

Show help:

cursor --help

Verbose output:

cursor --verbose /path/to/file

Open developer tools:

cursor --inspect-extensions

Settings

User settings location:

~/Library/Application Support/Cursor/User/settings.json

Keybindings location:

~/Library/Application Support/Cursor/User/keybindings.json

Portable Mode / Profiles

Specify user data directory:

cursor --user-data-dir /path/to/data

Specify extensions directory:

cursor --extensions-dir /path/to/extensions

Piping Input

Read from stdin:

echo "console.log('hello')" | cursor -

Remote Development

Cursor supports remote development similar to VS Code. SSH remotes are configured in:

~/.ssh/config

Then use command palette or remote explorer in the GUI.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

30.79%
按下载量换算185

Gemini CLI

23.28%
按下载量换算140

OpenCode

17.53%
按下载量换算106

Antigravity

14.52%
按下载量换算87

Codex

8.44%
按下载量换算51

Cursor

3.75%
按下载量换算23

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills