返回 Skills 目录
software-mansion/argent已通过检查

SKILL DETAIL

argent-ios-simulator-setup

software-mansion/argent/argent-ios-simulator-setup

此技能指导如何通过 argent MCP 工具设置并连接 iOS 模拟器。当开始新会话、启动 iOS 模拟器、获取 iOS UDID 或进行任何 iOS 模拟器交互任务之前,应使用此技能。 步骤包括:首先使用 `list-devices` 查找已启动的模拟器,筛选 `platform: "ios"` 条目,优先选择已启动的 iPhone;若无已启动设备,则使用 `boot-device` 并指定 UDID 启动。连接后,所有交互工具(如 `gesture-tap`、`gesture-swipe`、`gesture-custom` 等)会自动启动服务器(如果尚未运行)。注意 UDID 格式类似 `A1B2C3D4-E5F6-7890-ABCD-EF1234567890`。

安装量 · 345查看来源

Installation

npx skills add https://github.com/software-mansion/argent --skill argent-ios-simulator-setup

技能文件

SKILL.md

最近同步 · 2026年10月23日

SKILL.md›
---
name: argent-ios-simulator-setup
description: Set up and connect to an iOS simulator using argent MCP tools. Use when starting a new session, booting an iOS simulator, getting an iOS UDID, or before any iOS simulator interaction task.
---

## 1. Setup Steps

If you delegate simulator tasks to sub-agents, make sure they have MCP permissions.

1. **Find a booted simulator**
   Use `list-devices`. Filter for entries with `platform: "ios"` and skip any with `kind: "device"` (a physical iPhone, never a simulator target): booted simulators are listed first.
   If none are booted, call `boot-device` with `udid: <chosen UDID>`.

2. **Verify connection**
   All interaction tools (`gesture-tap`, `gesture-swipe`, `gesture-custom`, etc.) auto-start the server if not already running.

## 2. Notes

- UDIDs look like: `A1B2C3D4-E5F6-7890-ABCD-EF1234567890`