🛠️ Axe Ios Simulator
iPhoneなどのアプリ開発で使うiOSシミュ
📺 まず動画で見る(YouTube)
▶ 【衝撃】最強のAIエージェント「Claude Code」の最新機能・使い方・プログラミングをAIで効率化する超実践術を解説! ↗
※ jpskill.com 編集部が参考用に選んだ動画です。動画の内容と Skill の挙動は厳密には一致しないことがあります。
📜 元の英語説明(参考)
Use when automating iOS Simulator interactions, capturing screenshots/video, or inspecting accessibility via AXe CLI.
🇯🇵 日本人クリエイター向け解説
iPhoneなどのアプリ開発で使うiOSシミュ
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o axe-ios-simulator.zip https://jpskill.com/download/4022.zip && unzip -o axe-ios-simulator.zip && rm axe-ios-simulator.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/4022.zip -OutFile "$d\axe-ios-simulator.zip"; Expand-Archive "$d\axe-ios-simulator.zip" -DestinationPath $d -Force; ri "$d\axe-ios-simulator.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
axe-ios-simulator.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
axe-ios-simulatorフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-17
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
💬 こう話しかけるだけ — サンプルプロンプト
- › Axe Ios Simulator を使って、最小構成のサンプルコードを示して
- › Axe Ios Simulator の主な使い方と注意点を教えて
- › Axe Ios Simulator を既存プロジェクトに組み込む方法を教えて
これをClaude Code に貼るだけで、このSkillが自動発動します。
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
[Skill 名] axe-ios-simulator
AXe iOS Simulator オートメーション
AXe は、Apple の Accessibility API と HID を介して iOS Simulator を自動化するための単一バイナリ CLI です。
インストール
brew install cameroncooke/axe/axe
クイックスタート
# シミュレーターの UDID を取得
axe list-simulators
UDID="<simulator-udid>"
# 基本的な操作
axe tap -x 100 -y 200 --udid $UDID
axe tap --label "Safari" --udid $UDID
axe type 'Hello World!' --udid $UDID
axe gesture scroll-down --udid $UDID
axe button home --udid $UDID
axe screenshot --udid $UDID
タッチとジェスチャー
# 座標をタップ
axe tap -x 100 -y 200 --udid $UDID
# アクセシビリティ識別子またはラベルでタップ
axe tap --id "myButton" --udid $UDID
axe tap --label "Submit" --udid $UDID
# タイミング制御あり
axe tap -x 100 -y 200 --pre-delay 1.0 --post-delay 0.5 --udid $UDID
# スワイプ
axe swipe --start-x 100 --start-y 300 --end-x 300 --end-y 100 --udid $UDID
axe swipe --start-x 50 --start-y 500 --end-x 350 --end-y 500 --duration 2.0 --delta 25 --udid $UDID
# 低レベルのタッチ制御
axe touch -x 150 -y 250 --down --udid $UDID
axe touch -x 150 -y 250 --up --udid $UDID
axe touch -x 150 -y 250 --down --up --delay 1.0 --udid $UDID
ジェスチャーのプリセット
| プリセット | ユースケース |
|---|---|
scroll-up |
コンテンツのナビゲーション |
scroll-down |
コンテンツのナビゲーション |
scroll-left |
水平スクロール |
scroll-right |
水平スクロール |
swipe-from-left-edge |
戻るナビゲーション |
swipe-from-right-edge |
進むナビゲーション |
swipe-from-top-edge |
閉じる/解除 |
swipe-from-bottom-edge |
開く/表示 |
axe gesture scroll-down --udid $UDID
axe gesture swipe-from-left-edge --udid $UDID
axe gesture scroll-up --screen-width 430 --screen-height 932 --udid $UDID
axe gesture scroll-down --pre-delay 1.0 --post-delay 0.5 --udid $UDID
テキスト入力
# 直接テキスト入力 (特殊文字にはシングルクォートを使用)
axe type 'Hello World!' --udid $UDID
# stdin から (自動化に最適)
echo "Complex text" | axe type --stdin --udid $UDID
# ファイルから
axe type --file input.txt --udid $UDID
# HID キーコードによる個別のキープレス
axe key 40 --udid $UDID # Enter キー
axe key 42 --duration 1.0 --udid $UDID # Backspace を長押し
# キーシーケンス
axe key-sequence --keycodes 11,8,15,15,18 --udid $UDID # "hello"
ハードウェアボタン
axe button home --udid $UDID
axe button lock --duration 2.0 --udid $UDID
axe button side-button --udid $UDID
axe button siri --udid $UDID
axe button apple-pay --udid $UDID
スクリーンショットとビデオ
# スクリーンショット (ファイル名を自動生成)
axe screenshot --udid $UDID
# 特定のパスにスクリーンショット
axe screenshot --output ~/Desktop/screenshot.png --udid $UDID
# MP4 へのビデオ録画
axe record-video --udid $UDID --fps 15 --output recording.mp4
axe record-video --udid $UDID --fps 10 --quality 60 --scale 0.5 --output low-bandwidth.mp4
# MJPEG ストリーム
axe stream-video --udid $UDID --fps 10 --format mjpeg > stream.mjpeg
# ffmpeg にパイプ
axe stream-video --udid $UDID --fps 30 --format ffmpeg | \
ffmpeg -f image2pipe -framerate 30 -i - -c:v libx264 -preset ultrafast output.mp4
録画を停止するには Ctrl+C を押してください。AXe は MP4 を確定し、パスを標準出力に出力します。
アクセシビリティ検査
# 全画面のアクセシビリティツリー
axe describe-ui --udid $UDID
# 特定のポイントのアクセシビリティ情報
axe describe-ui --point 100,200 --udid $UDID
自動化パターン
待機してからタップするパターン
axe tap --label "Continue" --pre-delay 2.0 --udid $UDID
要素を見つけるまでスクロールする
for i in {1..5}; do
axe describe-ui --udid $UDID | grep -q "targetElement" && break
axe gesture scroll-down --udid $UDID
done
axe tap --label "targetElement" --udid $UDID
フォーム入力
axe tap --label "Email" --udid $UDID
axe type 'user@example.com' --udid $UDID
axe tap --label "Password" --udid $UDID
axe type 'secret123' --udid $UDID
axe tap --label "Sign In" --udid $UDID
アクション後のスクリーンショット
axe tap --label "Submit" --post-delay 1.0 --udid $UDID
axe screenshot --output result.png --udid $UDID 📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
AXe iOS Simulator Automation
AXe is a single-binary CLI for iOS Simulator automation via Apple's Accessibility APIs and HID.
Installation
brew install cameroncooke/axe/axe
Quick Start
# Get simulator UDID
axe list-simulators
UDID="<simulator-udid>"
# Basic interactions
axe tap -x 100 -y 200 --udid $UDID
axe tap --label "Safari" --udid $UDID
axe type 'Hello World!' --udid $UDID
axe gesture scroll-down --udid $UDID
axe button home --udid $UDID
axe screenshot --udid $UDID
Touch & Gestures
# Tap at coordinates
axe tap -x 100 -y 200 --udid $UDID
# Tap by accessibility identifier or label
axe tap --id "myButton" --udid $UDID
axe tap --label "Submit" --udid $UDID
# With timing controls
axe tap -x 100 -y 200 --pre-delay 1.0 --post-delay 0.5 --udid $UDID
# Swipe
axe swipe --start-x 100 --start-y 300 --end-x 300 --end-y 100 --udid $UDID
axe swipe --start-x 50 --start-y 500 --end-x 350 --end-y 500 --duration 2.0 --delta 25 --udid $UDID
# Low-level touch control
axe touch -x 150 -y 250 --down --udid $UDID
axe touch -x 150 -y 250 --up --udid $UDID
axe touch -x 150 -y 250 --down --up --delay 1.0 --udid $UDID
Gesture Presets
| Preset | Use Case |
|---|---|
scroll-up |
Content navigation |
scroll-down |
Content navigation |
scroll-left |
Horizontal scrolling |
scroll-right |
Horizontal scrolling |
swipe-from-left-edge |
Back navigation |
swipe-from-right-edge |
Forward navigation |
swipe-from-top-edge |
Dismiss/close |
swipe-from-bottom-edge |
Open/reveal |
axe gesture scroll-down --udid $UDID
axe gesture swipe-from-left-edge --udid $UDID
axe gesture scroll-up --screen-width 430 --screen-height 932 --udid $UDID
axe gesture scroll-down --pre-delay 1.0 --post-delay 0.5 --udid $UDID
Text Input
# Direct text (use single quotes for special characters)
axe type 'Hello World!' --udid $UDID
# From stdin (best for automation)
echo "Complex text" | axe type --stdin --udid $UDID
# From file
axe type --file input.txt --udid $UDID
# Individual key press by HID keycode
axe key 40 --udid $UDID # Enter key
axe key 42 --duration 1.0 --udid $UDID # Hold Backspace
# Key sequence
axe key-sequence --keycodes 11,8,15,15,18 --udid $UDID # "hello"
Hardware Buttons
axe button home --udid $UDID
axe button lock --duration 2.0 --udid $UDID
axe button side-button --udid $UDID
axe button siri --udid $UDID
axe button apple-pay --udid $UDID
Screenshot & Video
# Screenshot (auto-generates filename)
axe screenshot --udid $UDID
# Screenshot to specific path
axe screenshot --output ~/Desktop/screenshot.png --udid $UDID
# Video recording to MP4
axe record-video --udid $UDID --fps 15 --output recording.mp4
axe record-video --udid $UDID --fps 10 --quality 60 --scale 0.5 --output low-bandwidth.mp4
# Stream MJPEG
axe stream-video --udid $UDID --fps 10 --format mjpeg > stream.mjpeg
# Pipe to ffmpeg
axe stream-video --udid $UDID --fps 30 --format ffmpeg | \
ffmpeg -f image2pipe -framerate 30 -i - -c:v libx264 -preset ultrafast output.mp4
Press Ctrl+C to stop recording. AXe finalizes MP4 and prints path to stdout.
Accessibility Inspection
# Full screen accessibility tree
axe describe-ui --udid $UDID
# Accessibility info at specific point
axe describe-ui --point 100,200 --udid $UDID
Automation Patterns
Wait-then-tap pattern
axe tap --label "Continue" --pre-delay 2.0 --udid $UDID
Scroll to find element
for i in {1..5}; do
axe describe-ui --udid $UDID | grep -q "targetElement" && break
axe gesture scroll-down --udid $UDID
done
axe tap --label "targetElement" --udid $UDID
Form filling
axe tap --label "Email" --udid $UDID
axe type 'user@example.com' --udid $UDID
axe tap --label "Password" --udid $UDID
axe type 'secret123' --udid $UDID
axe tap --label "Sign In" --udid $UDID
Screenshot after action
axe tap --label "Submit" --post-delay 1.0 --udid $UDID
axe screenshot --output result.png --udid $UDID