ios-device-build-run

ios-device-build-run is a skill for Codex from jeffy-w/AgentSkills. It costs 85 tokens per session (1,889 once invoked), scanned A, original, MIT.

A workflow for building an iOS app, installing it on a real iPhone or iPad, launching it, and reading its build and device logs. It includes a check for the development environment and can select a connected device.

In plain words
What is it for?
Use it to test iOS apps on physical devices, inspect build failures, capture runtime logs, and search recent device or build output.
Why use it?
It brings the separate build, installation, launch, and log-reading steps into one repeatable process, while helping avoid problems caused by an app that is already running.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: reads ~/.codex paths; mentions Codex.

Good fit Use it to test iOS apps on physical devices, inspect build failures, capture runtime logs, and search recent device or build output.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jeffy-w/agentskills/ios-device-build-run
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.

Any agent
npx skills add jeffy-w/AgentSkills --skill ios-device-build-run
Clone the repo
git clone --depth 1 https://github.com/jeffy-w/AgentSkills

Made for: 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-device-build-run

README.md
[![agentmods](https://agentmods.dev/badge/skills/jeffy-w/agentskills/ios-device-build-run/github.svg)](https://agentmods.dev/skills/jeffy-w/agentskills/ios-device-build-run)
Your own site
<a href="https://agentmods.dev/skills/jeffy-w/agentskills/ios-device-build-run"><img src="https://agentmods.dev/badge/skills/jeffy-w/agentskills/ios-device-build-run/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ios-device-build-run

Your own site · 80×15
<a href="https://agentmods.dev/skills/jeffy-w/agentskills/ios-device-build-run"><img src="https://agentmods.dev/badge/skills/jeffy-w/agentskills/ios-device-build-run.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,889 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00085 $0.01889
Opus 5.5 $0.00034 $0.00756
Sonnet 5.5 $0.00017 $0.00378
Haiku 4.5 $0.00009 $0.00189

Measured 2mo ago against content hash f8ea6a52254f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ios-device-build-run 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/ios_device_build_run.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

ios-device-build-run/SKILL.md · 155 lines

How it starts

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

iOS Device Build Run

Use the bundled script for repeatable real-device build/run/log workflows:

python3 ios-device-build-run/scripts/ios_device_build_run.py <subcommand> [options]

The script stores durable sessions under:

~/.codex/ios-device-build-run/sessions/<timestamp>-<scheme>/

Each session may contain build.raw.log, build.pretty.log, install.log, run.log, device.log, metadata.json, events.jsonl, pids.json, and devicectl JSON outputs.

Workflow

  1. Run doctor if the environment is unknown:
    python3 ios-device-build-run/scripts/ios_device_build_run.py doctor
    
  2. Prefer build-run for the normal path:
    python3 ios-device-build-run/scripts/ios_device_build_run.py build-run
    
  3. Device auto-selection prefers wired USB devices. If exactly one wired device is connected, it is used automatically; otherwise pass --device <udid-or-name>.
  4. Read logs through the script instead of dumping whole files:
    python3 ios-device-build-run/scripts/ios_device_build_run.py logs --session latest --file build --tail 200
    python3 ios-device-build-run/scripts/ios_device_build_run.py logs --session latest --file device --grep EffectEngine --tail 300
    python3 ios-device-build-run/scripts/ios_device_build_run.py logs --session latest --file all --search 'error|fatal|crash' --ignore-case --context 3
    
  5. Stop background runtime logging when done:
    python3 ios-device-build-run/scripts/ios_device_build_run.py stop-log --session latest
    

Subcommands

  • doctor: verify xcodebuild, xcrun, optional idevicesyslog, optional xcbeautify, and connected physical devices.
  • devices: list available physical iOS devices; simulators are excluded.
  • build: build only, create a session, locate the .app, and read CFBundleIdentifier from Info.plist.
  • install: install an existing or latest-session .app onto a physical device.
  • run: launch an already-installed app from a session or explicit --bundle-id.
  • build-run: build, locate app, install, start runtime log stream, then launch.
  • log-stream: start only runtime log capture for a session.
  • logs: filter/search/tail persisted logs.
  • stop-log: terminate the background runtime log process recorded in pids.json.
  • sessions: list recent sessions.

Read the full file on GitHub · 155 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 155 lines · 85 tokens per session scan A f8ea6a52254f

Subscribe to this mod's changes

ios-device-build-run is a skill published in the GitHub repository jeffy-w/AgentSkills (2 stars, last pushed 4mo ago), licensed MIT. It adds 85 tokens to every session and 1,889 once invoked, about $0.0003 per session on Opus 5.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-31.

Related

ios-device-build-run compared with skills from other repositories

ios-device-build-run next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ios-device-build-runjeffy-w/AgentSkillsSkill24mo agoMITA85Codex
orca-emulator-androidstablyai/orcaSkill117kyesterdayMITA102Claude Code, Codex
glance-canonical-layoutsandroid/skillsSkill10kyesterdayApache-2.0A56Claude Code
android-tombstone-symbolicationdotnet/skillsSkill5.8kyesterdayMITA176Claude Code
dogfoodcallstack/agent-deviceSkill5.3kyesterdayMITA55Claude Code
winapp-mauimicrosoft/winappCliSkill1.4kyesterdayMITA68Claude Code
app_remixrome-os/romeSkill889yesterdayMITA50Claude Code, Codex