Appium Troubleshootingのロゴ

Appium Troubleshooting

組織
appium
appium-troubleshooting

Diagnose existing UiAutomator2 session-startup, app-activity, adb transport, helper-server, native or hybrid locator failures, and XCUITest WebDriverAgent, session-startup, app install or launch, device or simulator state, alert, element-source, or locator failures. Use when a session or command under one of those drivers already fails. Do not use for first-time setup, pre-failure real-device provisioning, or Espresso, Chromium, Gecko, Safari, or Mac2 failures.

概要

公開者appium
リポジトリskills
スキル名appium-troubleshooting
スター
21
フォーク
6
同梱ファイル
指示のみ
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    appiumがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルAppium TroubleshootingをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/appium/skills/tree/main/skills/appium-troubleshooting
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/appium/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/appium-troubleshooting .claude/skills/appium-troubleshooting
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでAppium Troubleshootingを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にAppium Troubleshootingを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Appium Troubleshootingは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Appium Troubleshooting Workflow

Troubleshooting routing and handoffs

Lock each run to UiAutomator2 or XCUITest. If the driver is unknown, capture capabilities or the Appium log line that identifies it before proceeding. For another driver, stop and report that this repository has no implemented troubleshooting route for it.

When evidence identifies a prerequisite, installation, or doctor failure, finish the current troubleshooting handoff and continue with the exact setup Skill:

  • UiAutomator2: skills/setup-uiautomator2/SKILL.md
  • XCUITest: skills/setup-xcuitest/SKILL.md

For real-device signing, provisioning, or WDA deployment, the XCUITest setup Skill owns the only continuation to skills/xcuitest-real-device-config/SKILL.md.

Required inputs

Confirm the exact failing command and error, driver, target platform, global appium or explicitly requested local npx appium mode, host OS, device or simulator state, relevant capabilities, recent server or device logs, smallest reproduction, and permissions for rerunning checks.

Decision logic

  • UiAutomator2 session startup, wrong activity, early drop, socket hang up, helper-server, or adb transport symptoms use the declared UiAutomator2 session-startup reference.
  • UiAutomator2 native or hybrid locator symptoms use the declared UiAutomator2 locator reference.
  • XCUITest WDA startup, install, reachability, app launch, or device/simulator state symptoms use the declared XCUITest troubleshooting reference.
  • XCUITest element lookup or locator symptoms use the declared XCUITest element-lookup and locator references together.
  • Load the shared capabilities Context only when capability values are part of the suspected cause.
  • Use the community-search Context only after the matching official reference does not explain the exact symptom.

Workflow outline

  1. Resolve command mode once. Use global appium by default; for explicitly selected local mode, run from the project root and replace Appium commands with npx --no-install appium.
  2. Capture the exact error, platform, driver, relevant capabilities, and smallest reproduction before changing anything.
  3. Record supplied Appium and driver versions. Run version, installed-list, connectivity, or doctor checks only when required evidence is missing or the symptom warrants them.
  4. Load the matching driver profile and only the selected symptom references. Load a matching example only when it clarifies the reproduction.
  5. If a prerequisite or doctor check fails, continue with the exact driver-specific setup Skill before deeper troubleshooting.
  6. For a fix request, apply one targeted reversible change and rerun the smallest failing command, session start, WDA check, or locator lookup. For a diagnosis-only request, stop after evidence-backed cause isolation and present the targeted change as the next action.
  7. Use official Appium and driver documentation first and community guidance only as a validated fallback.

Troubleshooting safety and approval constraints

  • Start with targeted evidence and the smallest reversible change.
  • Request approval before a broad reset, reinstall, device erase, signing change, trust change, or unrelated capability change.
  • Preserve global command mode unless local mode was explicitly requested.
  • Keep global and local command modes separate. If local Appium is missing, report that blocker instead of allowing npx to download a package.
  • Apply setup or real-device approval gates before crossing into installation, privileged, signing, trust, or provisioning changes.
  • Require a reproduced symptom or passing re-check for success. When evidence remains incomplete, report a hypothesis and the next discriminating check.

Completion criteria

Report a fix request as passed when the failing check passes after a verified fix. Otherwise report blocked with command evidence and a concrete next action; isolating a manual blocker does not mean the failure is fixed. Complete a diagnosis-only request when matching evidence isolates the cause and the smallest proposed fix or discriminating next check is reported without changing state.

Evidence boundary

Report the selected driver and symptom route, commands and results, any change, the smallest re-check, and any driver-specific setup continuation. Treat optional doctor warnings as non-blocking and report a setup or real-device continuation as a handoff that still requires workflow selection.

Self-Improvement Prompt

Before the final response, report any missing, ambiguous, outdated, or retry-causing troubleshooting instruction with its asset path and proposed wording. Leave unrelated assets unchanged.

Evidence

Example input: Diagnose why my UiAutomator2 session fails during startup with this server log and desired capabilities. Verify the suspected failure class against logs, capabilities, device state, and driver-specific checks before recommending a fix.

よくある質問

AIスキル「Appium Troubleshooting」では何ができますか?

Diagnose existing UiAutomator2 session-startup, app-activity, adb transport, helper-server, native or hybrid locator failures, and XCUITest WebDriverAgent, session-startup, app install or launch, device or simulator state, alert, element-source, or locator failures. Use when a session or command under one of those drivers already fails. Do not use for first-time setup, pre-failure real-device provisioning, or Espresso, Chromium, Gecko, Safari, or Mac2 failures.

TypingMindでAppium Troubleshootingを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Appium Troubleshootingはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにAppium Troubleshootingをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/appium/skills/tree/main/skills/appium-troubleshootingを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Appium Troubleshootingを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Appium Troubleshootingは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもAppium Troubleshootingを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Appium Troubleshooting」は無料ですか?

はい。appiumがGitHubでApache-2.0ライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇