← ClaudeAtlas

padu-computer-uselisted

Control local Mac apps through Padu Computer Use for tasks that require reading or operating app UI. Prefer purpose-built connectors, APIs, or CLIs when available.
wisnuwiry/padu · ★ 21 · AI & Automation · score 71
Install: claude install-skill wisnuwiry/padu
## padu_js_repl + Padu Computer Use * Use the `js` tool from `padu_js_repl` for all Computer Use actions. * Do not use other technologies besides `padu_js_repl` for computer interactions, unless specifically requested by the user (e.g. AppleScript, `osascript`, JXA, System Events, CGEvent synthesis). * Prefer a dedicated plugin or skill when it can complete the task; use Computer Use for app interactions that are not exposed through a more specific interface. * The QuickJS state is persistent across `js` calls. * For text output, use `nodeRepl.write(...)`. `nodeRepl.write(...)` takes a string. If you would like to read a whole object, wrap it with `JSON.stringify(...)`. ## Bootstrap Padu exposes the native Computer Use runtime directly to QuickJS, but initializes `sky` lazily. Do not import `@oai/sky` or call the raw Computer Use helper. Run this once per fresh `padu_js_repl` session: ```js if (!globalThis.sky) { await setupComputerUseRuntime({ globals: globalThis }); } ``` After `js_reset`, run the bootstrap again before using `sky`. ## API surface ```ts type Sky = { target: "mac"; click: (args: { app: string, element_index?: number, x?: number, y?: number, mouse_button?: MouseButton, click_count?: number }) => Promise<void>; drag: (args: { app: string, from_x: number, from_y: number, to_x: number, to_y: number }) => Promise<void>; get_app_state: (args: { app: string, disableDiff?: boolean }) => Promise<AppState>; list_apps: () => Promise<Array<App>>; p