← 返回 Skills 市场
Cursor CLI Agent
作者
swiftlysingh
· GitHub ↗
· v2.1.0
12724
总下载
17
收藏
0
当前安装
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 acting on repositories where you run it. Prefer a verifiable installer or package-manager path, avoid `--force` unless changes are reviewed and reversible, and do not automate workspace trust 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 is to help users install and operate Cursor CLI for software engineering workflows, and the documented capabilities fit that purpose, but they can modify repositories, use API keys, load project rules, and enable MCP servers.
Instruction Scope
The skill documents auto-applying changes with `--force` and gives a tmux automation sequence that sends the key to trust a workspace without a human decision; this is high-impact and under-scoped for untrusted repositories.
Install Mechanism
The primary install path in both README.md and SKILL.md is `curl https://cursor.com/install -fsS | bash`, which is disclosed but runs a remote installer without checksum, signature, or inspect-first guidance. A Homebrew alternative is listed for macOS.
Credentials
Project access, Cursor authentication, local rules files, and MCP configuration are expected for this integration, but users should understand that running the CLI can expose or act on local project context.
Persistence & Privilege
The skill instructs PATH changes, software installation, sudo-based tmux installation on Linux, and a persistent tmux session; these are disclosed, but automated workspace trust increases privilege and persistence risk in unreviewed workspaces.
如何使用
- 确保已安装 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 插件,目前累计下载 12724 次。
如何安装 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