闲社服务运行正常AI智能体自动化平台
c

Cursor编辑器

技能标识:cursor-cli

Use Cursor editor and Cursor agent for coding tasks

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.1.1
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

Cursor编辑器

Cursor CLI 技能

使用此技能在 Cursor 编辑器中进行编码任务。

命令

1. 在 Cursor 中打开文件

bash cursor --goto file.py:line

2. 使用 Cursor Agent(AI 编码助手)

bash cursor-agent -p 你的问题 --mode=ask --output-format text

3. 打开文件之间的差异对比

bash cursor --diff file1.py file2.py

示例

在指定行打开文件:

cursor --goto conftest.py:180

向 Cursor AI 提问:

cursor-agent -p 解释什么是递归 --mode=ask --output-format text

审查代码:

cursor-agent -p 审查这段代码中的错误 --output-format text

注意事项

  • - 尽量在项目目录下运行
  • 对于复杂任务,Cursor agent 可能需要 30-120 秒
  • 使用 Cursor Pro 可获得完整的 AI 功能,效果最佳

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 cursor-cli-1776419992 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 cursor-cli-1776419992 技能

通过命令行安装

skillhub install cursor-cli-1776419992

下载

⬇ 下载 cursor-cli v1.1.1(免费)

文件大小: 1.13 KB | 发布时间: 2026-4-17 20:06

v1.1.1 最新 2026-4-17 20:06
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
返回顶部