update

update is a command for coding agents from rahulkeerthi/expo-toolkit. It costs 23 tokens per session (2,731 once invoked), scanned C, original, MIT.

A preparation command for Expo Application Services updates, which deliver app changes over the air to existing installs. It checks the update settings, runtime compatibility, environment variables, and pre-release conditions before giving you a command to run.

In plain words
What is it for?
Use it when preparing production, preview, or development updates and when you need a validated EAS Update command.
Why use it?
It helps catch configuration mistakes, incompatible app versions, and accidentally exposed secrets before an update reaches users.

Command

Part of the expo-toolkit plugin — 6 skills, 7 commands, 5 agents shipped together

Install

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.

agentmods
npx agentmods add commands/rahulkeerthi/expo-toolkit/update
Clone the repo
git clone --depth 1 https://github.com/rahulkeerthi/expo-toolkit

Or install expo-toolkit, the plugin that ships this one along with the rest of its 6 skills, 7 commands, 5 agents.

Wrote 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.

agentmods badge for update

README.md
[![agentmods](https://agentmods.dev/badge/commands/rahulkeerthi/expo-toolkit/update.svg)](https://agentmods.dev/commands/rahulkeerthi/expo-toolkit/update)
Your own site
<a href="https://agentmods.dev/commands/rahulkeerthi/expo-toolkit/update"><img src="https://agentmods.dev/badge/commands/rahulkeerthi/expo-toolkit/update.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,731 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00023 $0.02731
Opus 5 $0.00012 $0.01366
Sonnet 5 $0.00005 $0.00546
Haiku 4.5 $0.00002 $0.00273

Measured 5d ago against content hash 5480be10c0b3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

update scanned grade C with 1 finding 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 5d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf dist-check
commands/update.md · 481 lines

How it starts

The opening of the file, as written. The whole thing — 481 lines — stays where its author put it; the contents beside it link to each section on GitHub.

EAS Update Preparation

Prepare for an EAS Update (over-the-air update) by validating configuration, checking runtime version compatibility, and ensuring no sensitive data is included.

Workflow Overview

  1. Gather update parameters - Channel, message, branch
  2. Validate EAS Update configuration - updates URL, runtime version
  3. Check environment variables - Ensure no secrets leak
  4. Verify runtime version compatibility - Updates only work with matching runtime
  5. Run pre-flight checks - Expo doctor, bundle analysis
  6. Output ready-to-run command - With all validated parameters

Interactive Setup

Use AskUserQuestion to gather update parameters:

AskUserQuestion({
  questions: [
    {
      question: "Which update channel/branch are you targeting?",
      header: "Channel",
      options: [
        {
          label: "production",
          description: "Production users with production builds",
        },
        {
          label: "preview",
          description: "Preview/staging builds for internal testing",
        },
        {
          label: "development",
          description: "Development builds (dev clients)",
        },
      ],
      multiSelect: false,
    },
    {
      question: "What type of update is this?",
      header: "Type",
      options: [
        {
          label: "Bug fix",
          description: "Fixes issues without new features",
        },
        {
          label: "Feature update",
          description: "Adds new functionality",
        },
        {
          label: "Hotfix",
          description: "Critical fix that needs immediate rollout",
        },
        {
          label: "Content update",
          description: "Updates assets, copy, or configuration",
        },
      ],
      multiSelect: false,
    },
  ],
});

Pre-Flight Validation

1. EAS Update Configuration Check

Check app.config.js for updates configuration:

Read({ file_path: "app.config.js" });

Read the full file on GitHub · 481 lines

Changes

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.

  1. 5d ago First seen · 481 lines · 23 tokens per session scan C 5480be10c0b3

Subscribe to this mod's changes

update is a command published in the GitHub repository rahulkeerthi/expo-toolkit (5 stars, last pushed 3mo ago), licensed MIT. It adds 23 tokens to every session and 2,731 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.