← 返回 Skills 市场
Cursor CLI Agent
作者
swiftlysingh
· GitHub ↗
· v2.1.0
11844
总下载
17
收藏
94
当前安装
2
版本数
在 OpenClaw 中安装
/install cursor-agent
功能描述
A comprehensive skill for using the Cursor CLI agent for various software engineering tasks (updated for 2026 features, includes tmux automation guide).
安全使用建议
Install only if you are comfortable with Cursor CLI having broad access to the repository where you run it. Prefer a verifiable installer or package-manager install, avoid `--force` unless you have reviewed the target repo and can revert changes, and do not automate the workspace-trust prompt for untrusted or newly downloaded projects.
功能分析
Type: OpenClaw Skill
Name: cursor-agent
Version: 2.1.0
The skill is classified as suspicious due to high-risk installation methods and extensive shell automation instructions. The `SKILL.md` file instructs the OpenClaw agent to execute `curl https://cursor.com/install -fsS | bash` for installation, which is a direct execution of remote code and a significant supply chain risk. Furthermore, the skill provides detailed `tmux` automation instructions, including executing `sudo apt install tmux` and using `tmux send-keys` to bypass confirmation prompts (e.g., `tmux send-keys -t cursor "a"` to 'Trust workspace'), which, while explained as necessary for the tool's operation, represents risky capabilities and a form of prompt injection against the Cursor CLI itself, instructing the agent to perform actions without explicit user confirmation for that specific step.
能力评估
Purpose & Capability
The stated purpose matches the artifacts: it documents installing, authenticating, and using Cursor CLI for coding workflows. The capabilities are high impact because they can modify repositories, use API keys, enable MCP servers, and run automated code-review or refactoring tasks.
Instruction Scope
The skill documents `--force` for auto-applying changes and includes a tmux workflow that sends the key for trusting a workspace automatically. Those actions are purpose-related but lack clear human approval, repository trust checks, or rollback guidance.
Install Mechanism
The README and SKILL.md recommend `curl https://cursor.com/install -fsS | bash`, which is a disclosed install path but executes remote installer code without checksum, signature, or inspection guidance. A Homebrew alternative is also listed for macOS.
Credentials
Project-level access, API-key authentication, local rules files, and MCP configuration are expected for a Cursor CLI integration, but users should understand that this can expose or act on local project context.
Persistence & Privilege
The skill instructs installing software, changing shell PATH, installing tmux with sudo on Linux, and creating a persistent tmux session. These are disclosed, but the automated workspace-trust step raises the privilege and persistence risk in untrusted repositories.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install cursor-agent - 安装完成后,直接呼叫该 Skill 的名称或使用
/cursor-agent触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.1.0
Add tmux automation guide for AI agents - Cursor CLI requires real TTY for automated execution
v2.0.0
Initial public release - Cursor CLI skill for software engineering tasks
元数据
常见问题
Cursor CLI Agent 是什么?
A comprehensive skill for using the Cursor CLI agent for various software engineering tasks (updated for 2026 features, includes tmux automation guide). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 11844 次。
如何安装 Cursor CLI Agent?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install cursor-agent」即可一键安装,无需额外配置。
Cursor CLI Agent 是免费的吗?
是的,Cursor CLI Agent 完全免费(开源免费),可自由下载、安装和使用。
Cursor CLI Agent 支持哪些平台?
Cursor CLI Agent 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Cursor CLI Agent?
由 swiftlysingh(@swiftlysingh)开发并维护,当前版本 v2.1.0。
推荐 Skills