Using Simulang with Claude Code
Simulang is a Claude Code skill for desktop automation on macOS. You describe the task in natural language (open apps, click controls, type text, scroll, capture screenshots, inspect the accessibility tree); Claude looks up the installedsimulang-js API, writes a TypeScript script, and runs it with the Simulang CLI—same building blocks as the Simulang Primer.
Setup
-
Install simulang CLI globally:
-
Install the Claude Code skill:
-
(Optional) Enable the log viewer for visual debugging:
Then tell Claude:
/simulang enable log view in all scripts
Usage
Invoke the skill with/simulang followed by what you want to do:
- Look up the simulang-js API docs for the installed version
- Write a TypeScript script
- Run it with
simulang run - Show you screenshots or results
Example Prompts
Tips
- Be specific — “click the blue Submit button” works better than “click submit”
- Ask for screenshots — Claude can capture and view what’s on screen
- Use grounding models — For visual element finding, set
OPENROUTER_API_KEY - Enable log viewer — Helps when the terminal is hidden behind automated apps
Requirements
- Node.js >= 22.18
- macOS: Grant Accessibility and Screen Recording permissions when prompted

