computer-uselisted
Install: claude install-skill CavinHuang/lume
# Computer Use
Use this skill for native desktop applications. Browser pages should use the Browser or Chrome capability when it is available.
Treat connection setup as internal. Do not mention Node REPL, JavaScript sessions, module imports, or `sky` in user-facing updates unless the user asks about the implementation.
Before the first desktop action in a task, bootstrap the trusted client through `mcp__node_repl__js` using the absolute path of this plugin's `scripts/computer-use-client.mjs`:
```js
if (!globalThis.sky) {
const { setupComputerUseRuntime } = await import("${PLUGIN_DIR}/scripts/computer-use-client.mjs");
await setupComputerUseRuntime({ globals: globalThis });
}
```
Then read the runtime guidance, exact API, and confirmation policy once:
```js
globalThis.computerUseGuidance = await sky.documentation("guidance")
globalThis.computerUseApi = await sky.documentation("api")
globalThis.computerUseConfirmations = await sky.documentation("confirmations")
nodeRepl.write(`${computerUseGuidance}\n\n${computerUseApi}\n\n${computerUseConfirmations}`)
```
The Node tool only returns string values passed to `nodeRepl.write`. Bare final expressions are invisible; use `nodeRepl.write(JSON.stringify(value))` for structured output.
Use the exact snake_case Window2 methods from the API. Start discovery with `await sky.list_apps()`; do not translate method names to `listApplications`, `focusApplication`, or `observe`.
`list_apps()` returns application descriptors, not Win