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.
npx agentmods add skills/termio-sh/termio/ios-rebuild-devnpx skills add termio-sh/termio --skill ios-rebuild-devgit clone --depth 1 https://github.com/termio-sh/termioWrote 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.
[](https://agentmods.dev/skills/termio-sh/termio/ios-rebuild-dev)<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>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.
| Model | Per session | Once 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 |
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.
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:
-
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.
-
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 -20Pass a custom roster URL through as
./ios/dev-run.sh ws://host:8787only if the user asked for one. -
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 devicesoutput 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.xcodeprojonce 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-devskill to (re)start the Mac app.
- "No iPhone found" — the phone must be plugged in (or Wi-Fi paired) and
have trusted this Mac. Show the
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.
- 5d ago First seen · 90 lines · 84 tokens per session scan A 195c39ba053c
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.
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…
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)…
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…
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.
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.
mobile-app
像素级 iPhone 15 Pro 边框, 一屏 app 截图.