ios-rebuild-dev

ios-rebuild-dev is a skill for Claude Code, Codex from termio-sh/termio. It costs 84 tokens per session (1,331 once invoked), scanned A, original, MIT.

A development workflow for rebuilding the TermioMobile iOS app and launching it on a connected iPhone or simulator. It connects the app to the companion server running on the Mac.

In plain words
What is it for?
Use it when testing iOS changes on a physical iPhone or simulator, including the app's connection to its Mac companion server.
Why use it?
It shortens the edit-and-test cycle by building, installing, and reopening the app through one scripted process.

Skill for Claude CodeCodex

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 skills/termio-sh/termio/ios-rebuild-dev
Any agent
npx skills add termio-sh/termio --skill ios-rebuild-dev
Clone the repo
git clone --depth 1 https://github.com/termio-sh/termio

Made for: Claude Code, Codex.

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 ios-rebuild-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/termio-sh/termio/ios-rebuild-dev.svg)](https://agentmods.dev/skills/termio-sh/termio/ios-rebuild-dev)
Your own site
<a href="https://agentmods.dev/skills/termio-sh/termio/ios-rebuild-dev"><img src="https://agentmods.dev/badge/skills/termio-sh/termio/ios-rebuild-dev.svg" alt="Measured on agentmods" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,331 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00084 $0.01331
Opus 5 $0.00042 $0.00665
Sonnet 5 $0.00017 $0.00266
Haiku 4.5 $0.00008 $0.00133

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

Security

Grade A, and why

ios-rebuild-dev 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 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.

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.

skills/ios-rebuild-dev/SKILL.md · 90 lines

How it starts

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

Rebuild iOS App (local development)

Build TermioMobile, install it on the user's iPhone, and relaunch it connected to this Mac's companion server — the iOS equivalent of macos-rebuild-dev.

Everything is already scripted in ios/dev-run.sh: it finds the first connected iPhone via xctrace, builds Debug with xcodebuild (automatic provisioning, derived data in ios/build/), installs with devicectl, and launches sh.termio.mobile with -roster-url ws://<this Mac's en0 IP>:8787 so the app talks to the companion server in the running Mac termio. --terminate-existing kills the previous instance, so rerunning the script IS the edit-preview loop.

Instructions

When invoked, execute these steps sequentially:

  1. Decide the target. Default is a physical iPhone. If the user said "sim"/"simulator" (or no iPhone is reachable and they agree to fall back), use the simulator path in step 4 instead.

  2. Run the dev script from the repo root. Show the tail of the output; on build failure show the error and stop — do NOT install/launch:

    ./ios/dev-run.sh 2>&1 | tail -20
    

    Pass a custom roster URL through as ./ios/dev-run.sh ws://host:8787 only if the user asked for one.

  3. Triage the common failures instead of retrying blindly:

    • "No iPhone found" — the phone must be plugged in (or Wi-Fi paired) and have trusted this Mac. Show the xcrun xctrace list devices output the script printed and ask the user to connect/trust, or offer the simulator.
    • Provisioning/signing errors — the first device build needs Xcode signed into the personal team; tell the user to open ios/TermioMobile.xcodeproj once in Xcode and fix Signing & Capabilities, don't try to edit the pbxproj.
    • Install OK but launch fails / app crashes on open — iOS 16+ needs Developer Mode on (Settings ▸ Privacy & Security ▸ Developer Mode), and the developer certificate must be trusted (Settings ▸ General ▸ VPN & Device Management).
    • App launches but shows no sessions — the Mac termio app must be running (companion server on :8787) and the phone on the same network. Offer to run the macos-rebuild-dev skill to (re)start the Mac app.

Read the full file on GitHub · 90 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 · 90 lines · 84 tokens per session scan A 195c39ba053c

Subscribe to this mod's changes

ios-rebuild-dev is a skill published in the GitHub repository termio-sh/termio (405 stars, last pushed today), licensed MIT. It adds 84 tokens to every session and 1,331 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

argent-device-interact

Interact with an iOS simulator, Android emulator, or Chromium (CDP) app using argent MCP tools. Use when tapping UI elements, performing gestures, scrolling/swiping, typing text, pressing hardware buttons, launching apps, opening URLs, taking screenshots, waiting for an element to appear or disappear, or checking…

software-mansion/argent · 73 tokens

argent-metro-debugger

Debug a JS runtime via CDP using argent debugger tools. Primary path is React Native via Metro (iOS / Android / Vega); a subset of the tools (debugger-connect, debugger-status, debugger-evaluate, debugger-log-registry) also drive a Chromium (CDP) app's renderer (an Electron app, or any Chromium browser exposing CDP)…

software-mansion/argent · 104 tokens

argent-settings-permissions

Grant, deny, or reset an app's runtime permissions (camera, microphone, photos, contacts, notifications, calendar, location, location-always, media-library, motion, reminders) on an iOS simulator or Android device using the argent settings-permissions tool - without navigating the system Settings UI. Use when the…

software-mansion/argent · 140 tokens

argent-test-ui-flow

Autonomously test an app UI (iOS or Android) by running interact-screenshot-verify loops using argent MCP tools. Use when testing UI flows, verifying login works, testing navigation, running end-to-end UI test scenarios, manual QA steps, visible UI changes, or visual behavior.

software-mansion/argent · 64 tokens

argent-react-native-optimization

Optimizes a React Native app by profiling first to find real bottlenecks, then sweeping for mechanical issues. Entry-point for all performance work. Use when the app feels slow, user asks to optimize, fix re-renders, reduce jank, or improve startup. Delegates to argent-react-native-profiler for measurement.

software-mansion/argent · 71 tokens

mobile-app

像素级 iPhone 15 Pro 边框, 一屏 app 截图.

nexu-io/html-anything · 21 tokens