[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CQ6BA4HS56YDH99Z0YVYHR":3,"skill-same:01M7CQ6BA4HS56YDH99Z0YVYHR":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7CQ6BA4HS56YDH99Z0YVYHR","native-sim",null,"Stream a live, interactive iOS Simulator of an Expo app from a free GitHub Actions macOS runner using @expo\u002Fserve-sim, tunnelled to a browser. Use when asked to preview an Expo\u002FReact Native app without a local Mac, to build iOS on GitHub Actions, to share a running simulator with someone, to set up PR simulator previews, or when debugging native-sim itself (workflow not registering, stream \"connecting\", slow builds, cache misses).","Online13\u002Faxiom","Online13","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F50442872?v=4","01M7CQ55NYW6H115AKFM0Y3FZV","Rayane Nekena Ratiarivelo","01M7CQ55PJ6V7Q0J0Q3T2NQSWM",1,"MIT","https:\u002F\u002Fgithub.com\u002FOnline13\u002Faxiom\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fnative-sim\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: native-sim\ndescription: Stream a live, interactive iOS Simulator of an Expo app from a free GitHub Actions macOS runner using @expo\u002Fserve-sim, tunnelled to a browser. Use when asked to preview an Expo\u002FReact Native app without a local Mac, to build iOS on GitHub Actions, to share a running simulator with someone, to set up PR simulator previews, or when debugging native-sim itself (workflow not registering, stream \"connecting\", slow builds, cache misses).\n---\n\n# native-sim\n\nPush an Expo app to GitHub, build it on a GitHub-hosted macOS runner, and stream the\nrunning iOS Simulator back to a browser. Public repos get unlimited Actions minutes,\nso this is free.\n\n## In the Axiom monorepo\n\nThe Expo apps are the demos under `apps\u002F`, and Bun dependencies are installed from\nthe repository root. Use the checked-in workflow and launcher from that root, and\npick the demo with `--app` (`stylesheet` is the default; `unistyles`, `nativewind`\nand `uniwind` are the others):\n\n```sh\nbun run sim:ios up --app unistyles --minutes 60\nbun run sim:ios status --app unistyles\nbun run sim:ios down --app unistyles\n```\n\nCommit and push the intended changes to `main` before `up`; the runner builds the\nGitHub commit. Open the URL on the `Simulator:` line, not the GitHub Actions URL.\nWait for `Install and launch app` to succeed. See [`apps\u002FNATIVE_SIM.md`](..\u002F..\u002F..\u002Fapps\u002FNATIVE_SIM.md) for the full procedure.\n\nDo not run the upstream `native-sim up` or `native-sim init` in this monorepo.\nThose commands assume the Expo app is at the Git root and may commit and push\nunrelated files. The `--agent` option is optional and requires `agent-device`;\nthe browser simulator works without it.\n\n## Quick start for a standalone Expo repository\n\n```sh\ncd my-expo-app\nnative-sim up --public --minutes 60      # push, build, stream; prints the URL\nnative-sim up --app \u003Curl> --public       # install an already-built simulator .app;\n                                      # no source is pushed to the repo\nnative-sim status                        # session state + stream URL\nnative-sim down                          # cancel latest session; stream dies with it\nnative-sim down --all                    # cancel every run still in flight\nnative-sim doctor                        # check prerequisites\nnative-sim r2                            # one-time R2 setup for hosting builds\nnative-sim upload .\u002FMyApp.app            # -> presigned URL for --app\n```\n\nPrerequisites: `gh` authenticated, Node 20+, an `expo` dependency in `package.json`.\n\n## Never build locally\n\nBuilding iOS on the developer's machine defeats the purpose of this tool. Use\n`native-sim up --public`, add `--export` to pull the finished archive down, or `--app \u003Curl>`\nto skip compiling entirely.\n\n## How it works\n\n1. Commits and pushes the app, creating the repo if needed.\n2. Pushes `.github\u002Fworkflows\u002Fnative-sim.yml` **in a second push** (see Gotchas).\n3. Dispatches the workflow with a session id and a per-session access key.\n4. Runner: fingerprint → restore cached `.app` → boot simulator → `serve-sim` →\n   auth gate → `cloudflared` → **publish URL** → build (only on cache miss) →\n   install + launch → hold.\n5. The URL is published as a **commit status**, the only GitHub surface readable\n   while a job is still running. The CLI polls it and opens the browser.\n\n## Expected timings\n\n|               | Cold    | Warm cache |\n| ------------- | ------- | ---------- |\n| Stream URL    | ~5 min  | ~3 min     |\n| App on screen | ~33 min | ~7 min     |\n\nThe native build is ~28 min. `@expo\u002Ffingerprint` keys the cached `.app`; it ignores\napp JS, so JS-only changes hit the cache and `expo export:embed` refreshes the bundle\ninside the cached binary. Native dependency or config-plugin changes force a rebuild.\n\n## Gotchas\n\n- **The first push to a brand-new empty repo is not scanned for workflows.** A workflow\n  shipped in `gh repo create --push` never registers and every dispatch 404s. Push the\n  app first, the workflow second, then poll `actions\u002Fworkflows` to confirm.\n- **`actionlint` does not catch delivery problems** — only file validity. To tell \"bad\n  YAML\" from \"bad delivery\", push a byte-identical copy under a new name and see if it\n  registers.\n- **GitHub Actions expressions have no arithmetic.** `${{ fromJSON(x) + 20 }}` fails at\n  runtime. Use fixed values plus per-step `timeout-minutes`.\n- **Never rewrite `Host` in a proxy in front of serve-sim.** It derives the URLs it hands\n  the browser from the request headers, so a rewritten Host makes the page open its\n  control WebSocket against the _viewer's_ `127.0.0.1:3200` — surfacing as\n  `control socket connect timeout` and endless \"connecting\". Forward the public Host\n  plus `X-Forwarded-Proto`\u002F`X-Forwarded-Host` instead.\n- **Runners must be arm64** (`macos-26`, `macos-15`). `serve-sim` ships arm64-only\n  binaries; `-large`\u002F`-intel` labels are x64 and will not work.\n- **Job logs are unavailable until the job completes.** Track progress via the steps API.\n\nSee the upstream [reference](https:\u002F\u002Fgithub.com\u002Fbidah\u002Fnative-sim\u002Fblob\u002Fmain\u002F.Codex\u002Fskills\u002Fnative-sim\u002FREFERENCE.md)\nfor architecture, measured data, and troubleshooting, and the\n[connection guide](https:\u002F\u002Fgithub.com\u002Fbidah\u002Fnative-sim\u002Fblob\u002Fmain\u002Fdocs\u002Fhow-the-connection-works.md)\nfor how the stream reaches the browser. The\n[prebuilt app guide](https:\u002F\u002Fgithub.com\u002Fbidah\u002Fnative-sim\u002Fblob\u002Fmain\u002Fdocs\u002Fprebuilt-app-flow.md)\ncovers a repo with no app source.\n","# native-sim\n\nPush an Expo app to GitHub, build it on a GitHub-hosted macOS runner, and stream the\nrunning iOS Simulator back to a browser. Public repos get unlimited Actions minutes,\nso this is free.\n\n## In the Axiom monorepo\n\nThe Expo apps are the demos under `apps\u002F`, and Bun dependencies are installed from\nthe repository root. Use the checked-in workflow and launcher from that root, and\npick the demo with `--app` (`stylesheet` is the default; `unistyles`, `nativewind`\nand `uniwind` are the others):\n\n```sh\nbun run sim:ios up --app unistyles --minutes 60\nbun run sim:ios status --app unistyles\nbun run sim:ios down --app unistyles\n```\n\nCommit and push the intended changes to `main` before `up`; the runner builds the\nGitHub commit. Open the URL on the `Simulator:` line, not the GitHub Actions URL.\nWait for `Install and launch app` to succeed. See [`apps\u002FNATIVE_SIM.md`](..\u002F..\u002F..\u002Fapps\u002FNATIVE_SIM.md) for the full procedure.\n\nDo not run the upstream `native-sim up` or `native-sim init` in this monorepo.\nThose commands assume the Expo app is at the Git root and may commit and push\nunrelated files. The `--agent` option is optional and requires `agent-device`;\nthe browser simulator works without it.\n\n## Quick start for a standalone Expo repository\n\n```sh\ncd my-expo-app\nnative-sim up --public --minutes 60      # push, build, stream; prints the URL\nnative-sim up --app \u003Curl> --public       # install an already-built simulator .app;\n                                      # no source is pushed to the repo\nnative-sim status                        # session state + stream URL\nnative-sim down                          # cancel latest session; stream dies with it\nnative-sim down --all                    # cancel every run still in flight\nnative-sim doctor                        # check prerequisites\nnative-sim r2                            # one-time R2 setup for hosting builds\nnative-sim upload .\u002FMyApp.app            # -> presigned URL for --app\n```\n\nPrerequisites: `gh` authenticated, Node 20+, an `expo` dependency in `package.json`.\n\n## Never build locally\n\nBuilding iOS on the developer's machine defeats the purpose of this tool. Use\n`native-sim up --public`, add `--export` to pull the finished archive down, or `--app \u003Curl>`\nto skip compiling entirely.\n\n## How it works\n\n1. Commits and pushes the app, creating the repo if needed.\n2. Pushes `.github\u002Fworkflows\u002Fnative-sim.yml` **in a second push** (see Gotchas).\n3. Dispatches the workflow with a session id and a per-session access key.\n4. Runner: fingerprint → restore cached `.app` → boot simulator → `serve-sim` →\n   auth gate → `cloudflared` → **publish URL** → build (only on cache miss) →\n   install + launch → hold.\n5. The URL is published as a **commit status**, the only GitHub surface readable\n   while a job is still running. The CLI polls it and opens the browser.\n\n## Expected timings\n\n|               | Cold    | Warm cache |\n| ------------- | ------- | ---------- |\n| Stream URL    | ~5 min  | ~3 min     |\n| App on screen | ~33 min | ~7 min     |\n\nThe native build is ~28 min. `@expo\u002Ffingerprint` keys the cached `.app`; it ignores\napp JS, so JS-only changes hit the cache and `expo export:embed` refreshes the bundle\ninside the cached binary. Native dependency or config-plugin changes force a rebuild.\n\n## Gotchas\n\n- **The first push to a brand-new empty repo is not scanned for workflows.** A workflow\n  shipped in `gh repo create --push` never registers and every dispatch 404s. Push the\n  app first, the workflow second, then poll `actions\u002Fworkflows` to confirm.\n- **`actionlint` does not catch delivery problems** — only file validity. To tell \"bad\n  YAML\" from \"bad delivery\", push a byte-identical copy under a new name and see if it\n  registers.\n- **GitHub Actions expressions have no arithmetic.** `${{ fromJSON(x) + 20 }}` fails at\n  runtime. Use fixed values plus per-step `timeout-minutes`.\n- **Never rewrite `Host` in a proxy in front of serve-sim.** It derives the URLs it hands\n  the browser from the request headers, so a rewritten Host makes the page open its\n  control WebSocket against the _viewer's_ `127.0.0.1:3200` — surfacing as\n  `control socket connect timeout` and endless \"connecting\". Forward the public Host\n  plus `X-Forwarded-Proto`\u002F`X-Forwarded-Host` instead.\n- **Runners must be arm64** (`macos-26`, `macos-15`). `serve-sim` ships arm64-only\n  binaries; `-large`\u002F`-intel` labels are x64 and will not work.\n- **Job logs are unavailable until the job completes.** Track progress via the steps API.\n\nSee the upstream [reference](https:\u002F\u002Fgithub.com\u002Fbidah\u002Fnative-sim\u002Fblob\u002Fmain\u002F.Codex\u002Fskills\u002Fnative-sim\u002FREFERENCE.md)\nfor architecture, measured data, and troubleshooting, and the\n[connection guide](https:\u002F\u002Fgithub.com\u002Fbidah\u002Fnative-sim\u002Fblob\u002Fmain\u002Fdocs\u002Fhow-the-connection-works.md)\nfor how the stream reaches the browser. The\n[prebuilt app guide](https:\u002F\u002Fgithub.com\u002Fbidah\u002Fnative-sim\u002Fblob\u002Fmain\u002Fdocs\u002Fprebuilt-app-flow.md)\ncovers a repo with no app source.\n",{"name":5,"description":7},"main","2f85e92dbbb44298ba2736a64ff82f52c51b2112",".agents\u002Fskills\u002Fnative-sim",0,"https:\u002F\u002Fgithub.com\u002FOnline13\u002Faxiom","https:\u002F\u002Faxiom.nekena-rayane.com","https:\u002F\u002Fgithub.com\u002FOnline13","https:\u002F\u002Fnekena-rayane.com\u002F","I am a software engineer, who always wants to surpass himself","2026-10-20 00:48:49",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add Online13\u002Faxiom --skill native-sim",{"tool":40,"command":41},"bunx","bunx skills add Online13\u002Faxiom --skill native-sim",{"tool":43,"command":44},"pnpm","pnpm dlx skills add Online13\u002Faxiom --skill native-sim","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FOnline13\u002Faxiom\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fnative-sim\u002FSKILL.md",true,[],[49],{"skillNo":50,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7CQ6FZ9TCBBH4FA5NZ5PZ7G","https:\u002F\u002Fgithub.com\u002FOnline13\u002Faxiom\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fnative-sim\u002FSKILL.md",[],[]]