Installation
Install as Agent Plugin
Recommended
copilot plugin marketplace add samueltauil/skills-hub
copilot plugin install eas-update-insights@skills-hub
Works with GitHub Copilot CLI and VS Code (enable chat.plugins.enabled).
Plugin eas-update-insights v1.0.0 follows the Agent Plugins spec.
Install with the gh extension
gh skills-hub install eas-update-insights Don't have the extension? Run gh extension install samueltauil/skills-hub first.
Download and extract to your repository:
.github/skills/eas-update-insights/ Extract the ZIP to .github/skills/ in your repo. The folder name must match eas-update-insights for Copilot to auto-discover it.
Skill Files (4)
SKILL.md 12.8 KB
---
name: eas-update-insights
description: "Check the health of published EAS Update: crash rates, install/launch counts, unique users, payload size, and the split between embedded and OTA users per channel. Use when the user asks how an update is performing, whether a rollout is healthy, how many users are on the embedded build vs OTA, or wants to gate CI on update health."
license: MIT
allowed-tools: "Bash(npx --yes eas-cli@latest *), Bash(npx --yes @expo/agent-cli@latest *)"
---
# EAS Update Insights
> **EAS service - costs apply.** Insights cover updates published through EAS Update, a paid Expo Application Services product with free-tier limits. Update delivery and the data behind these commands count against your plan's EAS Update usage. Review https://expo.dev/pricing.
Query the health of published EAS Update directly from the CLI: launches, failed launches, crash rates, unique users, payload size, the embedded-vs-OTA user split per channel, and the most popular updates per runtime version. The data is the same data that powers the update and channel detail pages on expo.dev; these commands expose it in the terminal in human and JSON form.
## When to use this skill
Use this when the user wants to assess the health or adoption of a published EAS Update: crash rates, install counts, unique users, bundle size, or the split between embedded and OTA users on a channel.
Example prompts:
- "How is the latest update doing?"
- "Is the latest update healthy?"
- "Is the new release crashing more than the last one?"
- "How many users are on the latest update vs the embedded build?"
- "Which update is most popular on production right now?"
- "How big is our update bundle?"
Also fits: post-publish rollout monitoring and regression detection.
Don't use when the user needs per-user crash detail or device-level reporting; this skill only exposes aggregate EAS metrics.
## Prerequisites
- Run EAS commands with `npx --yes eas-cli@latest <command>` from Expo's official package. Check its resolved version and command help.
- Check the existing account with `npx --yes eas-cli@latest whoami`. If sign-in is needed, let the user complete `npx --yes eas-cli@latest login --browser`.
- For `channel:insights`: run from an Expo project directory (the command resolves the project ID from `app.json`). `update:insights` only needs a login.
## Commands at a glance
| Command | Purpose |
|---|---|
| `npx --yes eas-cli@latest update:list` | Discover recent update groups, their `group` IDs, and branch names |
| `npx --yes eas-cli@latest update:insights <groupId>` | Per-platform launches, failed launches, crash rate, unique users, payload size, daily breakdown |
| `npx --yes eas-cli@latest update:view <groupId> --insights` | Update group details + the same metrics appended |
| `npx --yes eas-cli@latest channel:insights --channel <name> --runtime-version <version>` | Embedded/OTA user counts, most popular updates, cumulative metrics for a channel + runtime |
All of these support `--json --non-interactive` for programmatic parsing.
## Discovering IDs
Before querying insights for an update group, you need its `group` ID. Use `npx --yes eas-cli@latest update:list` with either `--branch <name>` (updates on that branch) or `--all` (updates across all branches). Always pass `--json --non-interactive` when running non-interactively; without a branch/`--all` flag the command will otherwise prompt for a branch selection:
```bash
# Latest group id across all branches
npx --yes eas-cli@latest update:list --all --json --non-interactive | jq -r '.currentPage[0].group'
# Latest group id on a specific branch
npx --yes eas-cli@latest update:list --branch production --json --non-interactive | jq -r '.currentPage[0].group'
```
The JSON response has a `currentPage` array with one entry per update group (both platforms of the same publish are collapsed into one entry):
```json
{
"currentPage": [
{
"branch": "production",
"message": "\"Fix checkout crash\" (1 week ago by someone)",
"runtimeVersion": "1.0.6",
"group": "03d5dfcf-736c-475a-8730-af039c3f4d06",
"platforms": "android, ios",
"isRollBackToEmbedded": false
}
]
}
```
Entries also carry `codeSigningKey` and `rolloutPercentage`, but only when those features are in use for the group (undefined values are omitted from the JSON output).
When called with `--branch <name>`, the response also includes `name` (the branch name) and `id` (the branch ID) at the top level.
## `eas update:insights <groupId>`
Shows launches, failed launches, crash rate, unique users, launch asset count, and average payload size for a single update group, broken down **per platform** (iOS, Android), plus a daily breakdown of launches and failures.
### Basic use
```bash
npx --yes eas-cli@latest update:insights 03d5dfcf-736c-475a-8730-af039c3f4d06
```
### Flags
| Flag | Description |
|---|---|
| `--days <N>` | Look back N days. Default: **7**. Mutually exclusive with `--start`/`--end`. |
| `--start <iso-date>` / `--end <iso-date>` | Explicit time range, e.g. `--start 2026-04-01 --end 2026-04-15`. |
| `--platform <ios\|android>` | Filter to a single platform. Omit to see all platforms in the group. |
| `--json` | Machine-readable output. Implies `--non-interactive`. |
| `--non-interactive` | Required when scripting. |
### JSON output shape
Top level: `groupId`, `timespan` (`start`, `end`, `daysBack`), and `platforms[]` with one entry per platform the group was published to. Each platform entry has `updateId`, `totals` (`uniqueUsers`, `installs`, `failedInstalls`, `crashRatePercent`), `payload` (`launchAssetCount`, `averageUpdatePayloadBytes`), and a `daily[]` time series of `{ date, installs, failedInstalls }`.
For the complete schema and field reference, see [references/update-insights-schema.md](./references/update-insights-schema.md).
Fields that matter for health assessment:
- `platforms[].totals.crashRatePercent`, computed as `failedInstalls / (installs + failedInstalls) * 100`. Zero when there are no installs.
- `platforms[].totals.installs` and `uniqueUsers` give the adoption signal.
- `platforms[].daily` is a time series, useful for spotting a sudden spike in failures.
### Errors
- `Could not find any updates with group ID: "<id>"` — group doesn't exist or you lack access.
- `Update group "<id>" has no ios update (available platforms: android)` — `--platform ios` was used but the group wasn't published for iOS.
- `EAS Update insights is not supported by this version of eas-cli. Please upgrade ...` — retry with `npx --yes eas-cli@latest` from Expo's official package after checking its resolved version and command help; report the incompatibility if it persists.
## `eas update:view <groupId> --insights`
Extends the standard `update:view` output with the same per-platform insights, inline.
```bash
# Human-readable
npx --yes eas-cli@latest update:view 03d5dfcf-... --insights
npx --yes eas-cli@latest update:view 03d5dfcf-... --insights --days 30
# JSON: wrapped as { updates: [...], insights: {...} }
npx --yes eas-cli@latest update:view 03d5dfcf-... --json --insights
```
Without `--insights`, `update:view` behaves exactly as before — no JSON shape change for existing consumers. The `--days` / `--start` / `--end` flags only apply when `--insights` is set; passing them alone errors.
## `eas channel:insights --channel <name> --runtime-version <version>`
Shows, per channel, how many users are on the embedded build vs over-the-air updates and which updates are pulling the most traffic. Must be run from an Expo project directory.
### Basic use
```bash
npx --yes eas-cli@latest channel:insights --channel production --runtime-version 1.0.6
```
### Flags
| Flag | Description |
|---|---|
| `--channel <name>` | **Required.** The channel name (e.g. `production`, `staging`). |
| `--runtime-version <version>` | **Required.** Match exactly what was published. Check `runtimeVersion` values in `update:list`. |
| `--days <N>` | Look back N days. Default: **7**. |
| `--start` / `--end` | Explicit time range, like `update:insights`. |
| `--json` / `--non-interactive` | Machine-readable output. |
### JSON output shape
Top level: `channel`, `runtimeVersion`, `timespan`, `embeddedUpdateTotalUniqueUsers`, `otaTotalUniqueUsers`, `mostPopularUpdates[]` (each with `rank`, `groupId`, `message`, `platform`, `totalUniqueUsers`), `cumulativeMetricsAtLastTimestamp[]`, plus chart-shaped `uniqueUsersOverTime` and `cumulativeMetricsOverTime` objects with `labels` and `datasets`.
For the complete schema and field reference, see [references/channel-insights-schema.md](./references/channel-insights-schema.md).
Fields that matter:
- `embeddedUpdateTotalUniqueUsers` is the count of users running the embedded (binary-bundled) build.
- `mostPopularUpdates[]` is updates ranked by `totalUniqueUsers`. **Caveat**: this is the top-N the server returns; `otaTotalUniqueUsers` is a sum of that list and may undercount total OTA reach if more than top-N updates are active.
- `uniqueUsersOverTime` and `cumulativeMetricsOverTime` are daily data series for charting.
### Errors
- `Could not find channel with the name <name>` — typo or wrong account.
- "No update launches recorded" in the table / empty `mostPopularUpdates` in JSON — no OTA update has been launched for that channel + runtime yet. Usually means the channel is still serving the embedded build only.
## Common workflows
### Verify the update I just published is healthy
```bash
# 1. Grab the latest publish on production
GROUP_ID=$(npx --yes eas-cli@latest update:list --branch production --json --non-interactive \
| jq -r '.currentPage[0].group')
# 2. Give it some adoption time (minutes to hours), then check crash rate
npx --yes eas-cli@latest update:insights "$GROUP_ID" --json --non-interactive \
| jq '.platforms[] | {platform, installs: .totals.installs, crashRate: .totals.crashRatePercent}'
```
Compare the `crashRate` across platforms and against previous releases; sudden spikes or asymmetric behaviour (iOS spiking while Android is flat, or vice versa) is the signal to investigate.
### Compare adoption between two channels
```bash
for channel in production staging; do
echo "--- $channel ---"
npx --yes eas-cli@latest channel:insights --channel "$channel" --runtime-version 1.0.6 --json --non-interactive \
| jq '{
channel,
embedded: .embeddedUpdateTotalUniqueUsers,
ota: .otaTotalUniqueUsers,
topUpdate: .mostPopularUpdates[0]
}'
done
```
### Detect a rollout regression in the last 24 hours
```bash
npx --yes eas-cli@latest update:insights "$GROUP_ID" --days 1 --json --non-interactive \
| jq '.platforms[] | select(.totals.crashRatePercent > 1)'
```
### Summarize group metrics for release notes
```bash
npx --yes eas-cli@latest update:view "$GROUP_ID" --insights --days 30
```
Human-readable group details plus 30 days of launches/failures per platform — suitable for pasting into a changelog or incident review.
## Output tips
- Pipe JSON through `jq`; payloads are structured for easy filtering.
- `--json` implies `--non-interactive`, but passing both is explicit and scripting-friendly.
- Dates in `daily[].date` are UTC ISO timestamps; the human-readable table renders them as `YYYY-MM-DD` (UTC).
- The CLI table labels say "Launches" / "Crashes" while JSON uses `installs` / `failedInstalls`. Same field, different display name.
## Limitations
- **Unique users across platforms** may double-count users who run the same publish on both iOS and Android. The same caveat applies to `otaTotalUniqueUsers` in channel insights, which is a sum over `mostPopularUpdates`.
- **Fresh publishes** may show zeros for a short period while the metrics pipeline catches up.
- **Installs are downloads, not launches**: the `installs` / "Launches" field counts users who downloaded the manifest and launch asset. A confirmed run only registers on the user's *next* update check (typically up to 24h later, depending on the app's update policy). So metrics lag the real-world state slightly.
- **Crashes are self-reported**: `failedInstalls` / "Crashes" counts updates that errored during install/launch and were reported on the next update check. Crashes that don't trigger an update request (e.g. process kill before recovery) won't appear.
## Submitting Feedback
If this skill has an error, or misleading or outdated information, tell the user and offer to report it to Expo. A report is optional, and the user decides. Do not send a report before the user agrees.
The `feedback` command of the agent CLI sends a report. Its `--help` lists the categories (`skills` with the subject "eas-update-insights", `agent-cli` for a problem with the agent CLI, `evals` when an agent repeatedly fails at an Expo task) and the data that a report sends. Show the user the message, and tell the user that the report also carries project and environment details. If you cannot ask the user, put the command with your message in your final summary, so the user can send it. Do not include secrets or personal data.
agents/
openai.yaml 0.4 KB
interface:
display_name: "EAS Update Insights"
short_description: "Check EAS Update health, adoption, crash rates, launch counts, payload size, and OTA vs embedded usage"
default_prompt: "Use $eas-update-insights to inspect published EAS Update with eas-cli, compare rollout health, gather update or channel metrics, parse JSON output, and gate releases on aggregate update performance."
references/
channel-insights-schema.md 2.4 KB
# `npx --yes eas-cli@latest channel:insights` JSON schema
Complete JSON output shape returned by `npx --yes eas-cli@latest channel:insights --channel <name> --runtime-version <version> --json --non-interactive`.
```json
{
"channel": "production",
"runtimeVersion": "1.0.6",
"timespan": { "start": "...", "end": "...", "daysBack": 7 },
"embeddedUpdateTotalUniqueUsers": 2401,
"otaTotalUniqueUsers": 8312,
"mostPopularUpdates": [
{
"rank": 1,
"groupId": "abc123",
"message": "Fix checkout crash",
"platform": "ios",
"totalUniqueUsers": 4210
}
],
"cumulativeMetricsAtLastTimestamp": [
{ "id": "...", "label": "Embedded update", "data": 12345 },
{ "id": "...", "label": "Embedded update failed installs", "data": 0 }
],
"uniqueUsersOverTime": { "labels": ["..."], "datasets": [ { "id": "...", "label": "...", "data": [100, 200] } ] },
"cumulativeMetricsOverTime": { "labels": ["..."], "datasets": [ { "id": "...", "label": "...", "data": [10, 20] } ] }
}
```
## Field reference
| Path | Meaning |
|---|---|
| `channel` | The channel queried. |
| `runtimeVersion` | The runtime version filter used. Channel insights are always scoped to a single runtime. |
| `timespan.start` / `.end` / `.daysBack` | Window bounds (UTC ISO) and size in days. |
| `embeddedUpdateTotalUniqueUsers` | Distinct users running the embedded (binary-bundled) build in the window. |
| `otaTotalUniqueUsers` | Sum of `totalUniqueUsers` across `mostPopularUpdates`. May undercount if more than top-N updates are active (see caveat below). |
| `mostPopularUpdates[]` | Top-N updates ranked by `totalUniqueUsers`. Each entry has `rank`, `groupId`, `message`, `platform`, `totalUniqueUsers`. |
| `cumulativeMetricsAtLastTimestamp[]` | Snapshot totals at the end of the window, labelled (e.g., "Embedded update", "Embedded update failed installs"). |
| `uniqueUsersOverTime` | Chart-shaped object with `labels` (dates) and `datasets` for plotting unique users over time. |
| `cumulativeMetricsOverTime` | Chart-shaped object for plotting cumulative metrics over time. |
## Caveats
- `otaTotalUniqueUsers` is a sum of `mostPopularUpdates[].totalUniqueUsers`. If more OTA updates are active than the top-N the server returns, this figure undercounts true OTA reach.
- A user running the same publish on both iOS and Android may be counted on each platform. Don't treat `uniqueUsers` as cross-platform-deduped.
update-insights-schema.md 2.5 KB
# `npx --yes eas-cli@latest update:insights` JSON schema
Complete JSON output shape returned by `npx --yes eas-cli@latest update:insights <groupId> --json --non-interactive`.
```json
{
"groupId": "03d5dfcf-736c-475a-8730-af039c3f4d06",
"timespan": {
"start": "2026-04-10T00:00:00.000Z",
"end": "2026-04-17T00:00:00.000Z",
"daysBack": 7
},
"platforms": [
{
"platform": "android",
"updateId": "019d72ca-...",
"totals": {
"uniqueUsers": 500,
"installs": 990,
"failedInstalls": 10,
"crashRatePercent": 1.0
},
"payload": {
"launchAssetCount": 4,
"averageUpdatePayloadBytes": 1115771
},
"daily": [
{ "date": "2026-04-10T00:00:00.000Z", "installs": 182, "failedInstalls": 2 },
{ "date": "2026-04-11T00:00:00.000Z", "installs": 195, "failedInstalls": 1 }
]
},
{
"platform": "ios",
"updateId": "019d72ca-...",
"totals": { "uniqueUsers": 100, "installs": 1, "failedInstalls": 0, "crashRatePercent": 0 },
"payload": { "launchAssetCount": 4, "averageUpdatePayloadBytes": 1115771 },
"daily": [ { "date": "2026-04-10T00:00:00.000Z", "installs": 1, "failedInstalls": 0 } ]
}
]
}
```
## Field reference
| Path | Meaning |
|---|---|
| `groupId` | The update group queried. |
| `timespan.start` / `.end` | UTC ISO timestamps bounding the window. |
| `timespan.daysBack` | Convenience field: size of the window in days. |
| `platforms[]` | One entry per platform the group was published to (`ios`, `android`). |
| `platforms[].updateId` | Platform-specific update ID (distinct from the group ID). |
| `platforms[].totals.uniqueUsers` | Distinct users who ran this update in the window. |
| `platforms[].totals.installs` | Launches / successful installs in the window. |
| `platforms[].totals.failedInstalls` | Crashes / failed installs in the window. |
| `platforms[].totals.crashRatePercent` | `failedInstalls / (installs + failedInstalls) * 100`. Zero when no installs. |
| `platforms[].payload.launchAssetCount` | Number of assets the manifest references. |
| `platforms[].payload.averageUpdatePayloadBytes` | Mean bundle size for the window. |
| `platforms[].daily[]` | Per-day time series of installs and failed installs. |
## `eas update:view <groupId> --insights --json`
The `update:view --insights --json` command wraps the same insights payload:
```json
{
"updates": [ /* standard update:view entries */ ],
"insights": { /* same shape as npx --yes eas-cli@latest update:insights above */ }
}
```
License (MIT)
View full license text
The MIT License (MIT) Copyright (c) 2025-present 650 Industries, Inc. (aka Expo) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.