Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/simular-ai/simulang-js/claude-mdgit clone --depth 1 https://github.com/simular-ai/simulang-jsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/simular-ai/simulang-js/claude-md)<a href="https://agentmods.dev/instructions/simular-ai/simulang-js/claude-md"><img src="https://agentmods.dev/badge/instructions/simular-ai/simulang-js/claude-md.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.01562 | $0.01562 |
| Opus 5 | $0.00781 | $0.00781 |
| Sonnet 5 | $0.00312 | $0.00312 |
| Haiku 4.5 | $0.00156 | $0.00156 |
Grade A, and why
simulang-js CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.
@simular-ai/simulang-js
Node.js bindings for the Rust simulang-rs crate (via napi-rs). Cross-platform
automation of desktops and Android devices: apps, windows, accessibility
trees, mouse/keyboard, screenshots, clipboard, audio, and VLM/LLM/STT model
access.
This file ships in the npm tarball alongside index.d.ts and is versioned
with it.
Where the API is documented
Read index.d.ts first — it is the source of truth. Every class,
function, and enum is fully typed (~2100 lines) and carries JSDoc covering
idioms, lifecycle rules, platform quirks, and inter-API trade-offs that types
alone can't express. The JSDoc is generated from doc comments,
so the per-symbol guidance there is authoritative — trust it over any
restatement elsewhere.
Mental model
Machineis the entry point.Machine.local()is the desktop this process runs on;Machine.android(endpoint)is an Android device driven over adb from the host. Apps, windows, and accessibility nodes are obtained from a machine and stay bound to it; mouse, keyboard, and clipboard access are flat methods on the machine itself (moveMouse,typeText,getClipboardString, …). The same code drives any backend — write againstMachineand the handles it returns, and only reach formachine.asAndroid()when an operation has no desktop counterpart.- Calls into the native module are synchronous. No Promises are returned;
Result::Erron the Rust side is translated to a thrown JS exception by napi-rs, so JS callerstry/catchas usual. - Many objects are handles to platform resources (windows, audio devices, accessibility trees, file/directory handles). Their lifetime matters; dropping them can free the underlying resource.
- Coordinates live on the global desktop: top-left origin at
(0, 0)on the primary monitor (on Android, the device screen), in OS-native units — the unit is not the same on every platform:- Windows / Linux / Android: physical pixels (raw hardware pixels).
- macOS: logical points — on a 2× Retina display one point spans two
hardware pixels, so a 1920×1080-logical screen is
1920×1080here, not3840×2160.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 126 lines · 1,562 tokens per session scan A 1153326f7a43
simulang-js CLAUDE.md is an instructions file published in the GitHub repository simular-ai/simulang-js (3 stars, last pushed 6d ago), licensed MIT. It adds 1,562 tokens to every session, about $0.0078 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
apple-browsers pixels.instructions.md
Instructions for duckduckgo/apple-browsers, a project described as: DuckDuckGo iOS & macOS browsers.
mcp CLAUDE.md
Claude Code instructions for webdriverio/mcp, covering claude.md, commands, architecture, session state and tool pattern.
rails-ai-bridge AGENTS.md
Instructions for igmarin/rails-ai-bridge, covering agents.md — rails-ai-bridge development guide, architecture, key design decisions, testing and conventions.
metamask-mobile CLAUDE.md
Claude Code instructions for MetaMask/metamask-mobile, a project described as: Mobile web browser providing access to websites that use the Ethereum blockchain.
native-devtools-mcp AGENTS.md
AGENTS.md instructions for vectora-foundry/native-devtools-mcp, covering agent context: native-devtools-mcp, 🧠 core reasoning loop, 🗺️ capabilities matrix (strategy guide), 🛠️ tool definitions & schemas and 1. vision & perception (the "eyes").
hinge-auto AGENTS.md
Instructions for houseunlimited/hinge-auto, covering agent instructions, what this project is, hard constraints (read before doing anything), setup flow (walk the user through this in order) and phase 1 — environment.