computer-use
Installation
SKILL.md
node_repl + @oai/sky (Computer Use)
- Use
node_repl(JavaScript) for all Computer Use actions. - You may use any technology that completes the task, including
node_repl(JavaScript), AppleScript,osascript, JXA, System Events, or CGEvent synthesis when those are more direct. - 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.
node_replstate is persistent across calls- For text output, use
nodeRepl.write(...).nodeRepl.write(...)takes a string. If you would like to read a whole object, wrap with withJSON.stringify(...).
Bootstrap
Import the bundled @oai/sky package directly once per fresh node_repl session:
globalThis.sky = (await import("@oai/sky")).sky;