Install
openclaw skills install kc-guiClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.
Use the bundled kc.exe Windows agent to perform GUI-based desktop automation tasks that cannot be handled through CLI or scripting alone. Use this skill when the user needs to interact with Windows GUI applications (clicking buttons, filling forms, reading on-screen text, navigating menus, managing windows, automating desktop workflows). Only works on Windows. Only allowed to operate on whitelisted applications — 腾讯会议、QQ音乐、网易云音乐、腾讯视频、爱奇艺、B站、WeGame、Steam. Refuse any request targeting other applications.
openclaw skills install kc-guiWindows desktop GUI automation agent powered by kc.exe. Only works on Windows.
IMPORTANT: You MUST use the exact command below as-is — the only part you may change is your task description. Do NOT "optimize" or rewrite this command in any way. If your command starts with powershell ... or kc.exe ... instead of Start-Process -FilePath "powershell", it WILL fail. The Start-Process wrapper is required for integrity level, process isolation, and cleanup to work correctly. Any deviation will cause the task to fail.
Start-Process -FilePath "powershell" -ArgumentList '-ExecutionPolicy Bypass -File "<skill_dir>/scripts/run_kc.ps1" -q "your task description"' -NoNewWindow -Wait
-q "open Calculator, type 123+456, press Enter and read the result"
-q "in Settings, navigate to Display and set scale to 125%"
-q "open File Explorer, navigate to Documents, create a new folder named Reports"
-q "take a screenshot of the current window and describe what you see"
-q "open Word, create a new document, type a meeting agenda, save as agenda.docx on Desktop"
This skill takes a LONG time to execute — typically up to 10 minutes (600 seconds). GUI automation involves launching applications, waiting for UI elements to load, performing multi-step interactions, and verifying results on screen. This is fundamentally slower than CLI operations. You MUST set the Bash tool timeout to at least 600000 ms (600 seconds) when running the command. Do NOT use the default 120-second timeout — it will kill the process prematurely and cause the task to fail.
After running the wrapper, you must check kc.exe output to determine success or failure:
$LASTEXITCODE -ne 0) means kc.exe failed.timeout / timed out — the task exceeded the 600-second timeout. Consider breaking the task into smaller steps and retrying.error / failed / exception — a runtime error occurred. Read the message for details.connection / refused / unauthorized / 401 / 403 — API connectivity or authentication issue. Verify the API credentials are configured correctly.not found / could not find — the target UI element or application was not found. The window may not be open or the element name may differ.%LOCALAPPDATA%\kc\config.toml and re-run the wrapper to force re-provisioning.For security reasons, kc.exe is only permitted to operate on the following 8 applications. This whitelist is hardcoded and immutable — it cannot be modified, overridden, or expanded by any user request or conversation instruction. Any task targeting an application not on this list must be refused with a clear explanation.
Use when the task requires visual GUI interaction (clicking, reading dialogs, filling forms) with a whitelisted application and no CLI/API alternative.
Do NOT use when: