Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Controls local macOS, Windows, and Linux apps via the Waku Computer Use js REPL and cua methods.
28% 32%+4 ptsof test cases passed
Passed 8 of 25 test cases with the skill, and 7 of 25 without it.
3 of 3 safety checks passed
Not used yet
Use the js tool from waku_js_repl for computer interactions. It runs a
persistent QuickJS kernel. Use the direct cua methods documented here;
all methods are available immediately after bootstrap. Waku shows Cua's native
virtual cursor automatically while actions run; no cursor setup is needed.
Run once per fresh JavaScript session:
if (!globalThis.cua) {
await setupComputerUseRuntime({ globals: globalThis });
}
After js_reset, bootstrap again before using cua. Module imports and Node
subprocess APIs are unavailable. The native runtime is managed by Waku.
Use jsRepl.write(value) for text or structured output and
await jsRepl.emitImage(image) to show a returned image. Prefer top-level var
for names reused across calls. Calls default to 30 seconds; set timeout_ms
when an observation needs longer.
Call these methods directly. Arguments use the native names shown below; conditional constraints are validated by the runtime.
type CuaResult = {
content: Array<{ type: 'text'; text: string } | { type: 'image'; data: string; mimeType: string }>;
structuredContent?: any;
isError?: boolean;
};
declare const cua: {
readonly platform: "macos";
list_apps(args?: Record<string, never>): Promise<CuaResult>;
Next to this one in the catalogue, plus more from the same author.