remote-desktop-testing-windows

Test any GUI app or changes in a Daytona Windows remote-desktop sandbox. Can be used to launch GUI programs, sync local projects, capture screenshots, record video, or share clickable live-desktop links with teammates. General-purpose tool — the only dependency is Daytona. For Linux systems, use remote-desktop-testing-linux.

Last repository push
GitHub Stars
158
Forks
36
Issues / PRs
33

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "remote-desktop-testing-windows" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-787d5f0e72d6853ef96fc719195e4cf3fd57123db79247cda1af4905cecb9001. Verify the upstream source and version against https://github.com/letta-ai/skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Test any GUI app or changes in a Daytona Windows remote-desktop sandbox. Can be used to launch GUI programs, sync local projects, capture screenshots, record video, or share clickable live-desktop links with teammates. General-purpose tool — the only dependency is Daytona. For Linux systems, use remote-desktop-testing-linux.

0 Downloads

Introduction source: third_party · letta-ai · 0.0.1 Reference

SkillPi interpretation

Tasks
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.
Audience
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`)
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
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 shell can run invisibly. launch exists precisely for this: it wraps the command in a .cmd and runs it via schtasks /IT /RU Administrator, which puts the window in the interactive session that the noVNC link shows. Always use launch (not shell) to start GUI apps.
  • Verify with --wait-window or windows + screenshot — a running process is not a visible window.
  • For the shareable link, send desktopUrl (the interactive desktop), not a raw app-port URL.
  • record runs Playwright locally: it resolves playwright/playwright-core from --project-path first, else auto-installs playwright-core into skill state, and drives the local Chrome binary (--chrome-path, default macOS Chrome). --mp4 needs local ffmpeg.
  • Maintainer note: the launch .cmd generation uses String.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 /Delete on a missing task writes to stderr, which PowerShell's $ErrorActionPreference='Stop' escalates — the script routes it through cmd.exe /c to swallow that; do the same for any other best-effort native command you add.

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 解决跨平台开发中Windows GUI测试的核心痛点
  • 提供完整的视觉验证工作流:同步代码->构建->启动->验证->产出物
Trigger Precision90/100

Highlights

  • 清晰区分Windows/Linux版本,避免误用
  • description完整覆盖主要功能和使用场景
Structure and Standards95/100

Areas to improve

  • When to Use章节标题格式 Reported severity: Minor

    When to Use内容存在但未使用标准Markdown二级标题格式

    Recommendation: 建议将'When to Use'改为'## When to Use'以保持文档结构一致性

Highlights

  • 文档结构完整,包含从概述到高级用法的完整流程
  • 提供端到端示例和详细命令说明
Execution Reliability90/100

Highlights

  • 详细说明SYSTEM权限与GUI交互的关键差异
  • 覆盖schtasks错误处理等边缘情况
  • 自动依赖管理机制提升首次使用体验
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 46
  • Accounts, secrets or authorization

    Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.

    Mentioned in main document · lines 30
  • Administrator or elevated privileges

    Elevate only when necessary. Keep protection and certificate validation enabled and avoid broad system access.

    Mentioned in main document · lines 97

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.