argent-ios-device-setup — Claude Code skill: how to install
Guides coding agents through setting up a cabled physical iPhone for argent automation. Essential when testing on real hardware instead of an iOS simulator.
npx skills add software-mansion/argent --skill argent-ios-device-setup -a claude-codeWhat argent-ios-device-setup does
This skill guides the agent through preparing a physical iPhone connected via USB cable for argent automation runs. It applies strictly to hardware devices recognized by list-devices with the device kind; never run it against a simulator. The device must stay unlocked with Developer Mode enabled before proceeding.
Calling launch-app registers the application, while the first gesture or screenshot triggers building and signing the on-device Argent Runner. Cold builds cap at 15 minutes, and runner readiness takes up to 120 seconds. Once installed, the Argent Runner app appears on the home screen and requires manual developer trust confirmation in iOS settings.
Free developer accounts frequently trigger bundle identifier registration caps, forcing either a multi-day wait or a paid team configuration. The skill provides remediation commands for keychain failures like errSecInternalComponent via security set-key-partition-list. Raw build failures can be inspected directly in ~/.argent/ios-device-runner/logs/runner-<udid8>.log.
What it helps with
- configure a cabled physical iPhone for argent automation
- resolve the
errSecInternalComponentkeychain signing failure - build and sign the Argent Runner app on real iOS hardware
- diagnose xcodebuild errors using local runner log files
Example prompts for the agent
- Set up my cabled iPhone for argent automation
- Troubleshoot the xcodebuild signing error for Argent Runner
- Check if my connected iOS device is ready for argent gestures
How to install argent-ios-device-setup
1Skills CLI (Vercel)
npx skills add software-mansion/argent --skill argent-ios-device-setup -a claude-code2Manually: put the files in place
~/.claude/skills/argent-ios-device-setup/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/argent-ios-device-setup/
1Skills CLI (Vercel)
npx skills add software-mansion/argent --skill argent-ios-device-setup -a codex2Manually: put the files in place
.agents/skills/argent-ios-device-setup/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add software-mansion/argent --skill argent-ios-device-setup -a cursor2Manually: put the files in place
.cursor/skills/argent-ios-device-setup/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install software-mansion/argent argent-ios-device-setup2Manually: put the files in place
.github/skills/argent-ios-device-setup/SKILL.md1Skills CLI (Vercel)
npx skills add software-mansion/argent --skill argent-ios-device-setup -a gemini-cli2Platform CLI
gemini skills install https://github.com/software-mansion/argent --path packages/skills/skills/argent-ios-device-setupManually: put the files in place
.devin/skills/argent-ios-device-setup/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add software-mansion/argent --skill argent-ios-device-setup -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set15
The whole set →Similar
Questions about argent-ios-device-setup
How to install argent-ios-device-setup in Claude Code?
Run npx skills add software-mansion/argent --skill argent-ios-device-setup -a claude-code in your terminal.
What does argent-ios-device-setup do?
It provides step-by-step procedures to cable and unlock an iPhone, compile the Argent Runner, and troubleshoot code signing issues.
Does argent-ios-device-setup work with iOS simulators?
No, it is designed exclusively for physical iPhone hardware. For simulator setups, use argent-ios-simulator-setup.
Source text
SKILL.md · Apache-2.0
--- name: argent-ios-device-setup description: Set up a cabled physical iPhone for argent. Use when a physical iPhone is involved (a list-devices iOS entry with kind "device") and ONLY then; never for a simulator. --- # Physical iPhone setup Read this only for a physical iPhone. Simulators use `argent-ios-simulator-setup`. ## First run 1. Cable the phone, unlock it, keep the screen awake, and turn on Developer Mode (Settings > Privacy & Security > Developer Mode). `list-devices` must show it `connected`. 2. `launch-app` only registers the app. The first `describe`, gesture or `screenshot` builds, signs and starts the on-device runner: minutes cold, tens of seconds from cache or after a tool-server restart. Build cap 15 min, runner ready 120 s. 3. On the first install the phone asks to trust the developer (Settings > General > VPN & Device Management), and an **Argent Runner** app appears on the home screen. Tell the user it is argent's automation runner and must stay installed. ## Signing and failures Signing needs no configuration. The first phone call of a tool-server process carries a note naming the team picked and the `ARGENT_IOS_TEAM_ID` override (tool-server environment; a change forces a cold rebuild). Cable, lock, trust, expired-profile and missing-certificate errors name their fix: apply it, retry the same call. Also: `errSecInternalComponent`: run `security set-key-partition-list -S apple-tool:,apple:,codesign: -s ~/Library/Keychains/login.keychain-db` (asks the user's login password), retry. `team has no devices`: keep the phone cabled, retry. Bundle id registration failed: free-team app-id cap, wait days or sign under a paid team. Any other xcodebuild failure prints raw `error:` lines: read `~/.argent/ios-device-runner/logs/runner-<udid8>.log`. `RUNNER_WEDGED`: `stop-simulator-server` for the udid, retry. Then read `argent-ios-device-interact`.
© software-mansion · Apache-2.0 · software-mansion/argent