微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🖥️

云端电脑,一键操控,智能体就绪

Orgo Desktop Control · v1.0.1
办公 安全 B 级 作者 cohenyehonatan 公开目录收录
1.3k 下载 0 安装 3.3k 收藏 10 浏览

简介

通过 Python SDK 远程操控 Orgo 云电脑,支持桌面自动化、浏览器控制、文件传输、截图及流媒体,适合构建云端智能体。来源可信度待验证,API 密钥为关键安全要素。

原始描述

Provision and control Orgo cloud computers using the orgo_client Python SDK. Use when launching remote desktops, automating browsers, running bash/python rem...

通过你的 Agent 添加

点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。

或者手动安装

Claude Codeunzip -o skill.zip -d ~/.claude/skills/orgo-desktop-control/
其它 Agent解压到它自己的 skills 目录,目录名用 orgo-desktop-control

包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。 技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。

中文使用说明 来自收录源

核心用法

Orgo Desktop Control Skill 是一款基于 Python SDK(orgo_client.py)的云端电脑控制工具,旨在让用户通过 API 远程创建、管理和操作 Orgo 云电脑实例。其核心功能覆盖完整的计算机使用场景:从基础设施层(Workspace/Computer 生命周期管理)到应用层(UI 交互、截图、文件传输、命令执行、流媒体推送)。

典型工作流程:初始化 OrgoClient → 创建 Workspace → 创建 Computer → 等待就绪 → 执行 UI/命令操作 → 导出结果 → 停止实例。

显著优点

  1. 完整自动化能力:提供原子级 UI 操作(click、drag、scroll、type、key)与系统级操作(bash/python 执行、文件上传导出),支持构建端到端的云端智能体(Computer-Use Agent)。
  2. 实时交互反馈:截图、wait_until_ready() 状态轮询、流式状态查询,适合视觉驱动的自动化决策。
  3. 资源弹性管理:支持按需启动/停止/重启,CPU/RAM 可配置,避免常驻成本。
  4. 多模态输出:支持 RTMP 流推送与 VNC 密码获取,兼容实时监控与远程人工介入。

潜在缺点与局限性

  • 网络依赖:完全依赖互联网与 Orgo 服务端可用性,无离线降级方案。
  • 延迟敏感:UI 自动化受网络延迟与云端渲染延迟双重影响,高频交互场景(如游戏)体验受限。
  • API 封闭性:强制使用官方 SDK,禁止手动 HTTP 请求,灵活性受限;若 SDK 更新滞后或文档不全,排障困难。
  • 状态不确定性:文档明确提示 "Never assume UI state",需高频截图验证,增加请求成本与复杂度。

适合人群

  • 需构建云端浏览器自动化、RPA、AI Agent 的开发者
  • 需要安全沙箱执行不可信代码的研究团队
  • 需要弹性算力、临时隔离环境的测试/运维工程师

常规风险

  • 密钥泄露:ORGO_API_KEY 为全权限凭证,泄露即导致云端资源被完全控制。
  • 资源滥用:忘记停止实例导致持续计费;force=True 误删造成数据永久丢失。
  • 数据出境:文件上传/下载、VNC/RTMP 流可能涉及敏感数据跨境传输。
  • 供应链风险:SDK 闭源,需信任 Orgo 平台的安全更新与漏洞响应。

技能正文


name: orgo-desktop-control description: Provision and control Orgo cloud computers using the orgo_client Python SDK. Use when launching remote desktops, automating browsers, running bash/python remotely, interacting with UI, managing files, or controlling streaming. compatibility: Requires internet access and ORGO_API_KEY. metadata: author: custom version: "1.0.0"

Orgo Desktop Control Skill (Python SDK)

This skill uses orgo_client.py to create and control Orgo cloud computers safely.

Always use the SDK — do NOT manually construct HTTP requests.


When to Use This Skill

Activate when user requests:

  • Launch a remote desktop
  • Automate browser or UI
  • Click, drag, type, scroll
  • Execute bash or Python remotely
  • Take screenshots
  • Upload/export files
  • Start/stop/restart environments
  • Stream desktop output
  • Access VNC credentials
  • Build a computer-use agent

Do NOT activate for local-only code.


High-Level Workflow

  1. Instantiate client
  2. Ensure workspace exists
  3. Create computer
  4. wait_until_ready()
  5. Perform actions
  6. Export results
  7. Stop computer

Initialization

from orgo_client import OrgoClient

client = OrgoClient(api_key=os.environ["ORGO_API_KEY"])

Workspace Management

Create:

ws = client.create_workspace("browser-agent")

List:

client.list_workspaces()

Delete (requires force):

client.delete_workspace(ws.id, force=True)

Never delete without explicit user confirmation.


Computer Lifecycle

Create:

computer = client.create_computer(
    workspace_id=ws.id,
    name="agent-1",
    ram=4,
    cpu=2,
    wait_until_ready=True
)

Manual wait:

computer.start()
computer.stop()
computer.restart()

Start / Stop / Restart:

computer.start()
computer.stop()
computer.restart()

Delete (irreversible):

computer.delete(force=True)

Always stop computers when idle.


UI Interaction

Click:

computer.click(100, 200)

Right-click:

computer.right_click(100, 200)

Double-click:

computer.double_click(100, 200)

Drag:

computer.drag(100, 200, 400, 500)

Scroll:

computer.scroll("down", amount=3)

Type:

computer.type("Hello world")

Key:

computer.key("Enter")
computer.key("ctrl+c")

Wait:

computer.wait(2.0)

Screenshots

img_b64 = computer.screenshot()

Save to file:

computer.save_screenshot("screen.png")

Execution

Bash:

result = computer.run_bash("ls -la")
print(result.output)

Python:

result = computer.run_python("print('hi')")

Errors raise OrgoError subclasses automatically.


Streaming

Start:

computer.stream_start("my-rtmp-connection")

Status:

computer.stream_status()

Stop:

computer.stream_stop()

VNC

password = computer.vnc_password()

Files

Upload:

client.upload_file("local.txt", ws.id, computer_id=computer.id)

Export from VM:

file_record, url = computer.export_file("Desktop/output.txt")

List:

computer.list_files(ws.id)

Delete:

client.delete_file(file_id)

Error Handling

All errors raise typed exceptions:

  • OrgoAuthError
  • OrgoForbiddenError
  • OrgoNotFoundError
  • OrgoBadRequestError
  • OrgoServerError
  • OrgoTimeoutError
  • OrgoConfirmationError

Always handle destructive confirmations explicitly.

Recommended Automation Loop

For UI tasks:

  1. screenshot()
  2. analyze state
  3. click / type / drag
  4. wait()
  5. screenshot()
  6. repeat

Never assume UI state.


Efficiency Rules

  • Use minimal RAM/CPU
  • Stop instead of delete if continuing later
  • Use wait_until_ready() instead of manual polling
  • Avoid unnecessary screenshots
  • Prefer run_bash over UI when possible

End of Skill

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

cloud-computingremote-desktopbrowser-automationui-automationpython-sdkcomputer-use-agentinfrastructure-as-codefile-transferstreamingrpa

同类 Skill