Agent skill

iOS Rebuild Dev

by termio-sh in termio-sh/termio

Rebuild TermioMobile and install + relaunch it on the connected iPhone (or the booted simulator with 'sim'), pointed at this Mac's companion server.

MITAuto-check passedMobile

Install iOS Rebuild Dev

skills CLI
$ npx skills add termio-sh/termio --skill ios-rebuild-dev -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install termio-sh/termio ios-rebuild-dev --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/termio-sh/termio.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ios-rebuild-dev .claude/skills/ios-rebuild-dev && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ios-rebuild-dev
GitHub stars
540
Token cost
~1.2k tokens
SKILL.md length
489 words
Files
1
Skills in repo
19
Repo updated
First seen
Licence
MIT

At a glance

Rebuild TermioMobile and install + relaunch it on the connected iPhone (or the booted simulator with 'sim'), pointed at this Mac's companion server.

  • Works in 5 steps: Decide the target. Default is a physical… → Run the dev script from the repo root.… → Triage the common failures instead of… → …
  • Says rebuild ios
  • SKILL.md covers Instructions and Notes
  • Calls xcrun and xcodebuild

What it does

iOS Rebuild Dev is an agent skill from termio-sh/termio. Rebuild TermioMobile and install + relaunch it on the connected iPhone (or the booted simulator with 'sim'), pointed at this Mac's companion server. Invoke when the user says 'rebuild ios', 'rebuild the iphone app', 'run on my phone', 'preview on iphone', 'ios rebuild', '重新编译 ios', or '装到手机上'.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Mobile, covering iOS development. It works with iOS and Xcode. The repository describes itself as: A terminal-first agentic development environment for agentic coding. Build for CLI/TUI agent. Runtime for Coding Agent, Tmux alternative. The licence is MIT.

When your agent uses it

  • Says rebuild ios
  • Rebuild the iphone app
  • Run on my phone
  • Preview on iphone

Example prompts

  • “), pointed at this Mac”
  • “rebuild ios”
  • “rebuild the iphone app”
  • “/ios-rebuild-dev”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Decide the target. Default is a physical iPhone. If the user said
  2. Run the dev script from the repo root. Show the tail of the output; on
  3. Triage the common failures instead of retrying blindly
  4. Simulator fallback (only when asked or when no device is available).
  5. Report the result: device (name/UDID) or simulator, build outcome, and

What it can do on your machine

Read from SKILL.md and the folder at commit af3b35b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • xcrun
    • xcodebuild

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

iOS Rebuild Dev loads about 1.2k tokens when it runs. Until then it costs about 78 tokens; SKILL.md has 489 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~78
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from termio-sh/termio at commit af3b35b, republished under its MIT licence (© termio-sh). 489 words, ~1,230 tokens.

Download SKILL.mdSave it as .claude/skills/ios-rebuild-dev/SKILL.md (or your agent's skills folder).
name
ios-rebuild-dev
description
Rebuild TermioMobile and install + relaunch it on the connected iPhone (or the booted simulator with 'sim'), pointed at this Mac's companion server. Invoke when the user says 'rebuild ios', 'rebuild the iphone app', 'run on my phone', 'preview on iphone', 'ios rebuild', '重新编译 ios', or '装到手机上'.

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:

    bash
    ./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.
  4. Simulator fallback (only when asked or when no device is available). Pick the booted simulator if one exists, otherwise the first available iPhone from xcrun simctl list devices available:

    bash
    cd ios
    SIM=$(xcrun simctl list devices available | grep -m1 'iPhone.*Booted' \
        | sed -E 's/.*\(([0-9A-F-]+)\).*/\1/')
    [[ -n "$SIM" ]] || SIM=$(xcrun simctl list devices available | grep -m1 'iPhone' \
        | sed -E 's/.*\(([0-9A-F-]+)\).*/\1/')
    xcodebuild -project TermioMobile.xcodeproj -scheme TermioMobile \
        -configuration Debug -destination "platform=iOS Simulator,id=${SIM}" \
        -derivedDataPath build build 2>&1 | tail -12
    xcrun simctl boot "$SIM" 2>/dev/null || true
    open -a Simulator
    xcrun simctl install "$SIM" build/Build/Products/Debug-iphonesimulator/TermioMobile.app
    # The companion server refuses unauthenticated sockets after a 10s grace
    # window, so the roster URL MUST carry the pairing token (?t=…) or the app
    # loops "connected → unauthorized → reconnect" forever. Token lives in the
    # Mac app's defaults (readable by design), same as dev-run.sh.
    TOKEN=$(defaults read sh.termio.app companion.pairingToken 2>/dev/null || true)
    xcrun simctl launch --terminate-running-process "$SIM" sh.termio.mobile \
        -roster-url "ws://127.0.0.1:8787${TOKEN:+/?t=${TOKEN}}"

    In the simulator the Mac is 127.0.0.1, not the en0 IP. Remember: simulator UserDefaults overrides only work via launch arguments, not simctl defaults write (see the ios-sim-defaults memory).

  5. Report the result: device (name/UDID) or simulator, build outcome, and whether the app launched. If it built and launched, remind the user the app is pointed at ws://<Mac IP>:8787 and needs the Mac termio app running.

Show full SKILL.md (78 more words)Show less

Notes

  • Device builds require the iPhone unlocked during install; devicectl errors out on a locked passcode-protected phone.
  • The script builds Debug — fine for previewing; there is no separate release/bundle step like the Mac app's icon dance.
  • Do NOT modify ios/dev-run.sh or the pbxproj as part of a rebuild.
  • After a UI change lands on the simulator, screenshots can be taken with xcrun simctl io booted screenshot /tmp/ios.png; on a physical phone, ask the user for a screenshot instead.

© termio-sh, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/ios-rebuild-dev of termio-sh/termio.

Open the folder on GitHubat commit af3b35b

Compare with similar skills

iOS Rebuild Dev next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

iOS Rebuild Dev compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
iOS Rebuild Dev this skilltermio-sh/termio540—~1.2kAutomated safety check: PassMIT
Orca iOS Simulator Controlstablyai/orca87k1 repos~584Automated safety check: PassApache-2.0
Apple Crash Log .NET Symbolicationdotnet/skills5.6k1 repos~2.4kAutomated safety check: PassMIT
Update Swiftui APIsAvdLee/SwiftUI-Agent-Skill3.7k—~1.2kAutomated safety check: PassMIT
iOS Simulator Skillconorluddy/ios-simulator-skill1.3k—~5.7kAutomated safety check: PassMIT
Macios Xcode Beta Updatedotnet/macios2.9k—~1.8kAutomated safety check: PassCustom licence

Similar skills

  • iOS Simulator control from inside Orca, with the live device view in Orca's emulator pane. Use when driving a booted Apple Simulator on macOS: taps, gestures…

    87k GitHub starsUsed in 1 repo~584 tokens
    MobileAuto-check passed
  • Official

    Resolves .NET runtime frames in Apple .ips crash logs to function names, source files and line numbers using dSYM symbols, atos and the Microsoft symbol server.

    5.6k GitHub starsUsed in 1 repo~2.4k tokens
    MobileAuto-check passed
  • Update Swiftui APIs

    AvdLee/SwiftUI-Agent-Skill

    Scan Apple's SwiftUI documentation for deprecated APIs and update the SwiftUI Expert Skill with modern replacements.

    3.7k GitHub stars~1.2k tokensUpdated 2 days ago
    MobileAuto-check passed
  • iOS Simulator Skill

    conorluddy/ios-simulator-skill

    29 production-ready scripts for iOS app testing, building, and automation.

    1.3k GitHub stars~5.7k tokensUpdated 2 days ago
    MobileAuto-check passed
  • Official

    Update dotnet/macios to a new Xcode beta and validate it end-to-end.

    2.9k GitHub stars~1.8k tokensUpdated today
    MobileAuto-check passed
  • Odevio

    Odevio/Odevio-CLI

    Take a Flutter project to an iPhone or the App Store with Odevio - build, sign and publish iOS apps from Windows, Linux or macOS with no Mac and no Xcode.

    423 GitHub stars~7.6k tokensUpdated 14 days ago
    MobileAuto-check passed

More from termio-sh/termio

All 19 skills in this repo
  • Termio Bug Report

    termio-sh/termio

    Diagnose a termio hang, beachball, crash, or 'it froze again' from the evidence macOS and termio actually leave behind — live process samples, crash and CPU-burn reports, the unified log, the…

    540 GitHub stars~1.9k tokensUpdated yesterday
    Auto-check passed
  • App Screenshot Debug

    termio-sh/termio

    Drive the running termio app via AppleScript / System Events to reach a UI state (focus the window, click a sidebar project, a terminal pane, a control), capture a pixel-accurate screenshot of just…

    540 GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Dia Source Analysis

    termio-sh/termio

    Analyze / reverse-engineer the locally installed Dia Browser mac app (The Browser Company; bundle id company.thebrowser.dia; shares ArcCore with Arc).

    540 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • Asc

    termio-sh/termio

    Drive App Store Connect from the terminal with the asc CLI — TestFlight builds, groups, testers and What to Test notes; App Store versions, metadata, keywords, screenshots and release notes…

    540 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Issue Creator

    termio-sh/termio

    Turn vague customer or user feedback from pasted text, chat excerpts, or screenshots into a clear, evidence-backed GitHub issue without inventing requirements.

    540 GitHub stars~1.7k tokensUpdated yesterday
    Auto-check passed
  • Og Generation

    termio-sh/termio

    Regenerate the landing site's OG/social card (web/landing/public/og.webp) by rendering a temporary in-app route with the real hero WebGL aurora and screenshotting it with headless Chrome.

    540 GitHub stars~1k tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about iOS Rebuild Dev

What does iOS Rebuild Dev do?

Rebuild TermioMobile and install + relaunch it on the connected iPhone (or the booted simulator with 'sim'), pointed at this Mac's companion server. iOS Rebuild Dev is an agent skill from termio-sh/termio. Rebuild TermioMobile and install + relaunch it on the connected iPhone (or the booted simulator with 'sim'), pointed at this Mac's companion server.

When should I use iOS Rebuild Dev?

iOS Rebuild Dev fits situations like: says rebuild ios; rebuild the iphone app; run on my phone; preview on iphone.

How do I install iOS Rebuild Dev in Claude Code?

Run `npx skills add termio-sh/termio --skill ios-rebuild-dev -a claude-code`. Or copy the skill folder (skills/ios-rebuild-dev in termio-sh/termio) into .claude/skills/ios-rebuild-dev in your project. Claude Code loads it when a task matches its description.

How do I install iOS Rebuild Dev in Codex?

Run `npx skills add termio-sh/termio --skill ios-rebuild-dev -a codex`. Or copy the skill folder (skills/ios-rebuild-dev in termio-sh/termio) into .agents/skills/ios-rebuild-dev in your project. Codex loads it when a task matches its description.

Can I use iOS Rebuild Dev in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add termio-sh/termio --skill ios-rebuild-dev -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ios-rebuild-dev, .gemini/skills/ios-rebuild-dev, .github/skills/ios-rebuild-dev and .opencode/skills/ios-rebuild-dev in your project.

What does iOS Rebuild Dev need to run?

Going by SKILL.md and its folder, iOS Rebuild Dev needs the command-line tools its instructions call (xcrun and xcodebuild).

Does iOS Rebuild Dev access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is iOS Rebuild Dev safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does iOS Rebuild Dev use?

iOS Rebuild Dev is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does iOS Rebuild Dev use?

About 1.2k tokens (SKILL.md is roughly 4.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to iOS Rebuild Dev?

Skills that share tags, products or a category with iOS Rebuild Dev: Orca iOS Simulator Control (stablyai/orca, 87k stars), Apple Crash Log .NET Symbolication (dotnet/skills, 5.6k stars), Update Swiftui APIs (AvdLee/SwiftUI-Agent-Skill, 3.7k stars) and iOS Simulator Skill (conorluddy/ios-simulator-skill, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains iOS Rebuild Dev?

termio-sh (a GitHub organization) maintains it in termio-sh/termio, which has 540 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on October 7, 2026.

Source: termio-sh/termio on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.