eas-simulator
它能做什么
EAS Simulator 让你可以运行基于云端的 iOS 模拟器或 Android 模拟器,并从自己的电脑上进行控制。当你无法在本地运行模拟器时,它就很有用,可以帮你在特定环境中测试应用。
适用场景
- ✓当你没有 Mac 电脑,无法运行 iOS 模拟器时。
- ✓当你使用的云环境或智能体不支持本地模拟器时。
- ✓当你想让 AI 智能体在真实设备上验证某项改动时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/eas-simulator/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“在云端 iOS 模拟器上运行我的应用,并展示它的界面效果。”
每周 5 个新技能,1 分钟读完。
工作原理
这项服务会在 Expo 的基础设施上运行模拟器或仿真器。你可以远程控制它,无需特定硬件就能验证应用中的改动。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
When to Use
- Use when this upstream workflow matches the user's stated goal.
- Use when the task requires the procedures documented in this skill.
EAS Simulator
EAS service - costs apply. EAS Simulator is a hosted EAS service. Session usage is subject to your account's pricing and limits. See https://expo.dev/pricing for current terms.
EAS Simulator runs a remote iOS simulator or Android emulator on EAS infrastructure that you drive from your machine — from the CLI, from an AI agent (via agent-device), and from a browser preview. It's the unlock for environments that can't run a simulator locally (Linux boxes, cloud/background agents like Cursor Cloud), and for letting an agent verify a change on a real device instead of only reasoning about code.
The simulator:* commands are experimental and hidden, and need a recent eas-cli (≥ 20.3.0 as of writing) — which is why this skill runs everything via npx --yes eas-cli@latest. Flags and verbs may change; the relevant subcommand's --help output is authoritative.
When to Use
The frontmatter description carries the trigger phrases. In short: use this to get a user's app onto a cloud simulator and interact with it — especially from a Mac-less or cloud/sandbox agent. Not for local sims (expo run:ios, Xcode, Android Studio), store builds/signing (that's EAS Build), or physical devices. For the macOS case, see Cloud vs local next.
Cloud vs local: decide this first
- Explicit cloud/remote/shareable request: use EAS Simulator after checking access, on any host.
- Generic simulator request: use a suitable local simulator when available. If the host cannot run the requested simulator (for example, iOS on Linux or a cloud sandbox), use EAS Simulator after checking access. A non-macOS host may still support a local Android emulator.
- Honor an explicit local choice; hand off to
expo run:ios/ Xcode / Android Studio as appropriate. Clarify only when the requested environment remains ambiguous and affects the task.
When the user requests EAS Simulator or a cloud simulator, proceed within that request and any stated budget. Explain applicable usage once and carry existing authorization through the session. Ask before exceeding a stated budget or expanding beyond the requested work.
Prerequisites
- Run every
eascommand vianpx --yes eas-cli@latest …— guarantees a CLI new enough to havesimulator:*(a globaleasis often too old), and--yesskips npx's prompt. (Bareeasis fine ifeas --versionis current.) - Authenticated. Interactive machine →
npx --yes eas-cli@latest login. Cloud sandbox / CI / headless agent has no browser login — setEXPO_TOKEN(expo.dev → Account → Access Tokens) in the env instead. Verify either way withnpx --yes eas-cli@latest whoami. - Run from an Expo project directory. A fresh app needs one-time setup:
npx --yes eas-cli@latest initto create/link the project (when there's noprojectId), and setios.bundleIdentifierin app config if it's missing — a freshcreate-expo-appoften has none, andprebuild/eas buildneed it (they prompt or fail without it; e.g.dev.<owner>.<slug>). Read current config withnpx expo config --json(it may live inapp.config.js). The first Mode-C run is slow (native build); later runs reuse it. - A controller to drive the device. This skill uses agent-device (open source, MIT), run on demand via
npx agent-device@latest— nothing globally installed. Appium and argent are alternative automation interfaces;web-preview-onlyhas no automation interface. See [references/controllers.md]. .env.eas-simulatoris written/managed by eas-cli (not this skill): it holds the session id (EAS_SIMULATOR_SESSION_ID) + the daemon URL/token, soget/stop/execdefault to that session (usually omit--id; pass--id <id>to target another). It carries a token → keep it gitignored (eas-cli marks it "do not commit" but may not add the ignore rule, and a fresh app's.gitignorewon't cover it — add.env.eas-simulatorif missing).- The command blocks assume a POSIX shell (bash/zsh) —
printf,lsof,$(seq …)loops won't run in cmd/PowerShell. On Windows, run them in WSL or Git Bash, or translate as you go (theeas-cli/agent-deviceinvocations themselves are cross-platform).
Session lifetime
…
常见问题
EAS Simulator 是免费的吗?
不是。EAS Simulator 是一项 Expo 付费服务,费用和使用限制取决于你的账户定价。详情请查看 expo.dev/pricing。
可以在我的电脑上运行 EAS Simulator 吗?
EAS Simulator 运行在 Expo 的云端。你可以通过自己的电脑进行控制,但模拟器本身并不在本地运行。
使用 EAS Simulator 需要安装什么东西吗?
你需要安装并更新 `eas-cli`。控制模拟器时会用到 `agent-device`,它会按需运行。
详情
作者的原始描述
Curated upstream guidance for Eas Simulator; use when the workflow matches the user goal.
热度
- GitHub 星标
- 48k
- 排名
- #4509
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。