computer-uselisted
Install: claude install-skill 851-labs/codevisor
# Computer Use
Use Computer Use when the task requires reading or operating a desktop app. Prefer a purpose-built integration or Browser Use when it can operate the target semantically.
Codevisor exposes the native Computer Use contract on the code-mode `tools` object. The only namespace difference is that native `sky.method(args)` becomes `tools["computer.method"](args)`:
```js
await tools["computer.list_apps"]({})
await tools["computer.get_app_state"]({ app, disableDiff: true })
await tools["computer.click"]({ app, element_index })
await tools["computer.click"]({ app, x, y })
await tools["computer.drag"]({ app, from_x, from_y, to_x, to_y })
await tools["computer.perform_secondary_action"]({ app, element_index, action })
await tools["computer.press_key"]({ app, key })
await tools["computer.scroll"]({ app, element_index, direction, pages })
await tools["computer.select_text"]({
app,
element_index,
text,
prefix,
suffix,
selection_type: "text"
})
await tools["computer.set_value"]({ app, element_index, value })
await tools["computer.type_text"]({ app, text })
```
The methods and arguments above intentionally match native Computer Use. `app` may be a display name, app path, or bundle identifier. `get_app_state` launches the app when it is not already running, so call it directly instead of opening the app through Finder, Spotlight, a shell, or another app. Use `list_apps` only when the app identity is unclear; it lists installed apps and reports `isRunning`. `pres