remote-desktop-testing-windows
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "remote-desktop-testing-windows":https://skillpi.com/zh/skills/deepskill-787d5f0e72d6853ef96fc719195e4cf3fd57123db79247cda1af4905cecb9001。安装前核对上游来源和版本:https://github.com/letta-ai/skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
在 Daytona Windows 远程桌面沙箱中测试任何 GUI 应用或更改。可用于启动 GUI 程序、同步本地项目、截取屏幕截图、录制视频,或与队友共享可点击的实时桌面链接。通用型工具——唯一依赖是 Daytona。对于 Linux 系统,请使用 remote-desktop-testing-linux。
介绍来源: third_party · letta-ai · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 适合谁
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: remote-desktop-testing-windows
description: Test any GUI app or change on a Daytona Windows remote desktop sandbox. Use to launch a GUI program, sync a local project, take a screenshot, record a video, or share a clickable live-desktop link with a teammate. Generic — the only dependency is Daytona. For Linux, use remote-desktop-testing-linux.Remote Desktop Testing on Windows
Overview
Generic Daytona Windows sandbox driver. It creates (or reuses) a Windows sandbox whose desktop is streamed over noVNC, and provides the primitives for visual testing of any GUI app: sync code, run PowerShell, launch GUI programs in the interactive desktop session, screenshot, record video, and mint a clickable desktop link a teammate can open to drive the app.
When to Use
- Demo or visually verify a GUI app (Electron, browser, native Win32) on Windows without a local Windows machine
- Produce a screenshot + video + clickable live-desktop link for a teammate
- Debug Windows-specific desktop behavior of a cross-platform app
- Run throwaway desktop sessions that are fully disposable (stop with
cleanup)
Usage
Run the bundled script with Node from the skill directory:
node scripts/remote-desktop.mjs <command> [options]
Credentials: DAYTONA_API_KEY (and optionally DAYTONA_API_URL/DAYTONA_TARGET) from the
environment or a dotenv file — ./.env by default, override with --env-path <file>.
The script auto-installs @daytona/sdk under ~/.letta/skill-state/remote-desktop-testing-windows/
on first use and remembers the active sandbox id there, so later commands don't need --sandbox.
Typical flow
# 1. Start (or reuse) a Windows sandbox (default snapshot: "windows", the stock Daytona one)
node scripts/remote-desktop.mjs start
# 2. (Optional) push a local project to C:\Users\Public\remote-desktop\workspace
node scripts/remote-desktop.mjs sync --project-path ~/repos/my-app --sync-mode working_tree
# 3. Set up / build with PowerShell commands
node scripts/remote-desktop.mjs shell \
--command "Set-Location C:\Users\Public\remote-desktop\workspace; npm install"
# 4. Launch the GUI app in the interactive desktop session and verify its window appeared
node scripts/remote-desktop.mjs launch \
--command "my-app.exe --some-flag" --label my-app --wait-window "My App"
# 5. Deliverables: screenshot, video, and a clickable live-desktop link
node scripts/remote-desktop.mjs screenshot --output /tmp/demo.png
node scripts/remote-desktop.mjs record --output /tmp/demo.mp4 --mp4 --duration 12
node scripts/remote-desktop.mjs preview
Always confirm the result visually (open the screenshot, or check windows / --wait-window)
before reporting success — never report success from process existence alone. When sharing with
a teammate, send the desktopUrl from preview (signed noVNC link, expires ~6h; re-run
preview to refresh). Pass --port <n> to preview to also mint a signed URL for an app's
HTTP port.
Commands
| Command | What it does |
|---|---|
start |
Create/reuse a sandbox and start the desktop stream. --fresh forces a new one. |
sync |
Sync --project-path to C:\Users\Public\remote-desktop\workspace (git_archive = committed HEAD, working_tree = uncommitted too; robocopy /MIR preserving remote node_modules). |
shell --command PS |
Run PowerShell. --timeout <s> for long ones. |
launch --command CMD |
Launch a GUI command in the interactive desktop session via schtasks /IT (logged to C:\Users\Public\remote-desktop\launch-<label>.log). --wait-window <regex> verifies a matching window title appears. |
windows |
List visible desktop windows. |
screenshot |
Save a PNG of the full desktop locally. |
preview |
Print signed desktopUrl (noVNC), plus appUrl if --port given. |
record |
Record the live desktop via Playwright + local Chrome (--duration <s>, --mp4). |
recording-start/stop/download |
Native Daytona recording — unreliable on Windows (recordings can silently vanish); prefer record. |
snapshot --snapshot <name> |
Bake the sandbox into a snapshot (Daytona snapshots Windows from STOPPED; stops, snapshots, restarts). |
cleanup |
Stop the active sandbox. |
Snapshots
Cold Windows boxes are slow to set up. After installing your toolchain/deps once, bake a
prepared snapshot so future start --snapshot <name> runs skip setup:
node scripts/remote-desktop.mjs snapshot --snapshot my-app-windows-dev-v1
Revert throwaway edits before baking. Keep install-skip markers or caches outside the
workspace directory (e.g. directly under C:\Users\Public\remote-desktop\) — sync mirrors
with robocopy /MIR, which deletes anything in the workspace not present locally.
Gotchas
- Daytona shell/process commands run as SYSTEM. GUI apps launched from
shellcan run invisibly.launchexists precisely for this: it wraps the command in a.cmdand runs it viaschtasks /IT /RU Administrator, which puts the window in the interactive session that the noVNC link shows. Always uselaunch(notshell) to start GUI apps. - Verify with
--wait-windoworwindows+screenshot— a running process is not a visible window. - For the shareable link, send
desktopUrl(the interactive desktop), not a raw app-port URL. recordruns Playwright locally: it resolvesplaywright/playwright-corefrom--project-pathfirst, else auto-installsplaywright-coreinto skill state, and drives the local Chrome binary (--chrome-path, default macOS Chrome).--mp4needs local ffmpeg.- Maintainer note: the launch
.cmdgeneration usesString.raw— keep it that way. A plain template literal turns Windows path backslashes (\node_modules,\bin) into JS escapes (\n,\b) and silently corrupts the launcher. - Native
schtasks /Deleteon a missing task writes to stderr, which PowerShell's$ErrorActionPreference='Stop'escalates — the script routes it throughcmd.exe /cto swallow that; do the same for any other best-effort native command you add.
当前收录版本
0.0.1
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 解决跨平台开发中Windows GUI测试的核心痛点
- 提供完整的视觉验证工作流:同步代码->构建->启动->验证->产出物
亮点
- 清晰区分Windows/Linux版本,避免误用
- description完整覆盖主要功能和使用场景
待提升项
-
When to Use章节标题格式 原报告严重程度:轻微
When to Use内容存在但未使用标准Markdown二级标题格式
改进建议:建议将'When to Use'改为'## When to Use'以保持文档结构一致性
亮点
- 文档结构完整,包含从概述到高级用法的完整流程
- 提供端到端示例和详细命令说明
亮点
- 详细说明SYSTEM权限与GUI交互的关键差异
- 覆盖schtasks错误处理等边缘情况
- 自动依赖管理机制提升首次使用体验
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
安装或获取外部依赖
使用官方来源并锁定版本,在隔离环境检查安装脚本。当前文档检查不覆盖后续下载的代码。
主文档提及 · 第 46 行 -
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 30 行 -
管理员或提升权限
确认确有必要再提升权限;不要关闭防护、绕过证书验证或扩大整个系统的访问权限。
主文档提及 · 第 97 行
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。