返回顶部
c

cursor-cliCursor编辑器

Use Cursor editor and Cursor agent for coding tasks

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.1.1
安全检测
已通过
1,865
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

cursor-cli

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

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部