Token导航 LogoToken导航

Agent Skill · 开发

cursor-cloud-agent(Cursor cloud Agent 部署)

cursor-cloud-agent 用于辅助部署、云资源、容器和基础设施运维,适合在 OpenClaw 中需要检查配置、整理部署步骤或排查环境问题时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

cursor-cloud-agent 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 3,411。

总安装 11,524周安装 485GitHub Stars 公开资料未说明下载 4,035核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.1.0

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install cursor-cloud-agent

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

cursor-cloud-agent 通过官方 API 启动和管理 Cursor Cloud Agents 完成云端编码任务。适用于 OpenClaw 中部署容器化开发环境或利用弹性算力加速构建流程。自动创建 Pull Request 并推送至远端仓库,简化协作发布环节。

使用前需申请 API 访问权限并绑定有效的 Cursor 账户与组织身份。云资源成本由 Cursor 承担,但仍需监控任务耗时以防意外长时间运行产生费用。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install cursor-cloud-agent;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

cursor-cloud-agent 怎么安装?

在终端执行 openclaw skills install cursor-cloud-agent。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

cursor-cloud-agent 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

cursor-cloud-agent 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

cursor-cloud-agent 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

cursor-cloud-agent 用的人多吗?

公开数据是累计安装 11,524 次,近一周安装 485 次,下载 4,035 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

cursor-cloud-agent 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
cursor-cloud-agent

Cursor cloud Agent 部署 · 本页

11,524—接触敏感数据MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
cursor-agent
description
>-

Cursor Cloud Agent Skill

Manages Cursor Cloud Agents via the official API v0 (api.cursor.com). Cloud Agents run in isolated cloud VMs, onboard to your codebase, write code, test it, and deliver merge-ready PRs.

Quick Start

SKILL=~/.openclaw/workspace/skills/cursor-agent/scripts/cursor_bga.py

# First-time setup: get your API key
python3 $SKILL setup

# Launch an agent and wait for it to finish
python3 $SKILL create \
  --repo owner/repo-name \
  --prompt "Add unit tests for the auth module, run tests, submit PR" \
  --auto-pr --wait

# Launch without waiting (returns immediately)
python3 $SKILL create \
  --repo owner/repo-name \
  --prompt "Refactor utils module" \
  --auto-pr

# List recent agents
python3 $SKILL list

# Check agent details (one-time query)
python3 $SKILL get --agent-id <ID>

# Poll agent until finished (blocks, prints summary when done)
python3 $SKILL check --agent-id <ID> --interval 15 --timeout 600

# Send follow-up instructions
python3 $SKILL followup --agent-id <ID> --message "Also add integration tests"

# Stop a running agent
python3 $SKILL stop --agent-id <ID>

# List available models
python3 $SKILL models

# List accessible repos
python3 $SKILL repos

Authentication

API key is read from (in priority order):

  1. --api-key KEY argument
  2. CURSOR_API_KEY environment variable
  3. ~/.cursor_api_key file (recommended)
# Save API key
echo 'your_api_key_here' > ~/.cursor_api_key
chmod 600 ~/.cursor_api_key

Get your key at: https://cursor.com/dashboard → Integrations → Generate API Key

Commands

CommandDescription
createLaunch a new Cloud Agent (--wait to block until done, --no-direct to skip auto-execute hint)
listList recent agents (filter by PR URL, limit)
getGet agent details (status, summary, PR info)
checkPoll agent until finished, print final summary
conversationView full agent conversation history
followupSend additional instructions to a running agent
stopPause a running agent
deletePermanently remove an agent
modelsList available LLM models
reposList accessible GitHub repositories (outputs owner/repo format for --repo)
setupPrint API key setup instructions

API Details

  • Base URL: https://api.cursor.com/v0
  • Auth: Basic Authentication (API key as username, empty password)
  • Docs: https://cursor.com/docs/cloud-agent/api/endpoints

Workflow

When user asks to delegate a task to Cursor Cloud Agent:

Phase 1: Pre-flight Check (automatic)

The create command now runs automatic pre-flight checks before launching an agent:

  1. API Key — Validates key by calling /models endpoint
  2. Repo Access — Verifies the repo is in Cursor's accessible repo list
  3. PR Permissions (when --auto-pr) — Checks GitHub push/admin access via gh CLI

If any check fails, the script exits with a clear error message before incurring API costs.

Use --skip-preflight to bypass these checks if needed.

You still need to confirm with the user:

  • Task Prompt — Must be clear and specific enough for an agent to execute independently
  • Branch/Ref — If user wants changes on a specific branch (not default)

Phase 2: Execute

  1. Run create --wait --auto-pr with the confirmed repo and prompt
  2. The script auto-appends a "execute directly" instruction to prevent agent from asking for confirmation (use --no-direct to disable)
  3. --wait blocks until agent finishes and prints a full summary including conversation excerpt

Phase 3: Post-check

  1. If check reports --auto-pr was set but no PR URL, it will print the gh pr create command as fallback — run it
  2. Use followup to refine instructions if agent output needs adjustment
  3. Report results back to user

Agent Status Values

  • CREATING — Agent is being set up
  • RUNNING — Agent is actively working
  • FINISHED — Agent has completed the task
  • FAILED / STOPPED — Agent terminated abnormally

Constraints

  • Repo 格式 — --repo 必须为 owner/repo 格式,不支持完整 URL 或纯仓库名
  • Repo 权限 — 只能操作 Cursor GitHub App 已授权的仓库,未授权仓库会返回 404
  • 并发限制 — 同一账号同时运行的 Agent 数量受 Cursor 计划限制(Trial 通常为 1 个)
  • 执行时长 — 单个 Agent 任务通常在 2-5 分钟完成,复杂任务可能更长;check 默认超时 600 秒
  • 用量计费 — 每次 create 都会产生 API 用量费用,请勿重复创建相同任务
  • Prompt 语言 — Agent 支持中英文 prompt,但代码注释和 commit message 默认跟随 prompt 语言
  • Auto-PR 不保证 — --auto-pr 依赖 Cursor GitHub App 权限,可能静默失败(无报错),需在 Post-check 阶段处理

Troubleshooting

1. 认证失败 (401)

[ERROR] Authentication failed (401). Check your API key.

原因:API Key 无效、过期或格式错误

解决:

  1. 检查 ~/.cursor_api_key 文件内容是否以 crsr_ 开头,无多余空格或换行
  2. 到 https://cursor.com/dashboard → Integrations 重新生成 Key
  3. python3 $SKILL models 验证新 Key 是否生效

2. 权限不足 (403)

[ERROR] Forbidden (403). Your plan may not support this feature.

原因:当前 Cursor 计划不支持 Cloud Agent API,或未开启 Usage-based pricing

解决:到 Cursor Dashboard 确认计划类型,确保已开启 Usage-based pricing

3. 仓库未找到 (404)

[ERROR] Not found (404): /agents

原因:仓库名格式错误,或 Cursor GitHub App 未授权该仓库

解决:

  1. 确认 --repo 为 owner/repo 格式(如 siaslfs/ai-xxx)
  2. 到 GitHub → Settings → Applications → Cursor 检查仓库授权

4. 请求限流 (429)

[ERROR] Rate limited (429). Please wait and try again.

原因:短时间内请求过多

解决:等待 1-2 分钟后重试。避免频繁调用 create 或短间隔轮询(check --interval 建议 ≥ 10 秒)

5. Agent 空转(只输出方案不执行)

现象:Agent 状态 FINISHED,但 filesChanged 为 0,对话记录显示 Agent 在等待确认

原因:Prompt 被 Agent 理解为需要先确认再执行

解决:

  1. 默认已自动追加"直接执行"指令,正常情况不会发生
  2. 如果使用了 --no-direct,去掉该参数重试
  3. 也可以用 followup --message "直接执行,不需要确认" 追加指令

6. Auto-PR 未生效

现象:Agent FINISHED,有代码变更,但无 PR URL

原因:Cursor GitHub App 缺少创建 PR 的权限

解决:check 会自动输出 gh pr create 回退命令,直接执行即可。或到 GitHub 手动创建 PR

Requirements

  • Active Cursor account with Trial or Paid plan
  • Usage-based pricing enabled
  • GitHub account connected with repository permissions

平台分布

OpenClaw

83.79%
按下载量换算3,381

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills