Documentation Index
Fetch the complete documentation index at: https://docs.simular.ai/llms.txt
Use this file to discover all available pages before exploring further.
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 installedsimulib-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 simulib-js API docs for the installed version
- Write a TypeScript script
- Run it with
simulang run - Show you screenshots or results
Example Prompts
| Prompt | What Claude Does |
|---|---|
/simulang open safari and go to github.com | Opens browser, navigates to URL |
/simulang search for "Simular" on this page | Presses Cmd+F, types search term |
/simulang scroll down and take a screenshot | Scrolls, captures screen |
/simulang what's the version of simulang? | Runs simulang --version |
/simulang read the simulib-js API docs | Reads index.d.ts and CLAUDE.md |
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

