Prowl Uiのロゴ

Prowl Ui

コミュニティ
onevcat
prowl-ui

Explicitly inspect, operate, and iteratively improve the native Prowl Debug UI verification surface with agent-ctrl on macOS. Use only when the user asks to verify or drive Prowl UI behavior, especially Settings, sheets, menus, popovers, view switching, repository selection, and Active Agents. When a run exposes a high-confidence Prowl accessibility metadata gap, make a narrow repair and report the before-and-after evidence; report lower-confidence or backend limitations without speculative changes. Do not invoke automatically after implementation, and use prowl-cli instead for tabs, panes, terminal content, command routing, or agent sessions.

概要

公開者onevcat
リポジトリProwl
スキル名prowl-ui
スター
647
フォーク
66
同梱ファイル
3
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 3個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

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

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

スキルの指示

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

Prowl UI

Scope

Use agent-ctrl as the semantic macOS UI surface for an exact Prowl Debug process. Keep the workflow exploratory: choose the shortest interaction that proves the declared behavior, while applying the Prowl-specific constraints below.

This skill is explicit-only. Do not run it merely because Prowl code changed. When called from self-verify-prowl, run the preflight before loading this file so a missing tool or permission becomes a cheap SKIPPED result.

Split responsibility by surface:

  • Use prowl-cli for repositories and worktrees as data, tabs, panes, terminal input and output, task state, and agent sessions. Read its skill before writing commands.
  • Use agent-ctrl for native windows, Settings, sheets, menus, popovers, sidebar disclosure, and other AppKit or SwiftUI controls.
  • Use a PID-scoped screenshot only for visual assertions such as selection appearance, geometry, clipping, or hierarchy.

Do not use Accessibility to type into Ghostty terminal surfaces or infer terminal state from pixels.

Preflight Without Prompting

Run the bundled script before opening an AX session:

bash
.claude/skills/prowl-ui/scripts/preflight.sh

It checks command -v agent-ctrl, requires version 0.1.4 or newer, inspects info --json, and runs doctor --json --quick. Its contract is:

  • Exit 0 with {"status":"READY",...} when the macOS AX surface and Accessibility permission are ready.
  • Exit 2 with {"status":"SKIPPED",...} when the binary, compatible version, JSON parser, AX surface, or permission is unavailable.

On SKIPPED, stop this UI scenario immediately. Do not install the tool, open System Settings, or enter an LLM-driven UI loop. Installation is a separate user-authorized action.

Pin the Debug Process

Never target Prowl by process name or appearance. The installed and Debug apps are both named ProwlApp and share user data. When using this skill with self-verify-prowl, source its helpers and resolve the DerivedData Debug PID:

bash
. .claude/skills/self-verify-prowl/scripts/helpers.sh
pid="$(debug_pid_with_window)"
test -n "$pid"

session="prowl-ui-$$"
agent-ctrl open ax --session "$session"
agent-ctrl snapshot --target-pid "$pid" --session "$session"

Keep one session for one scenario and always close it:

bash
agent-ctrl close --session "$session"

Window IDs and element refs are ephemeral. Re-run window-list or a PID-scoped snapshot after opening or closing a window. Do not assume window:0, @e0, or any previous ref still identifies the same object.

Observe, Act, Re-observe

For every action:

  1. Take a fresh snapshot pinned to the Debug PID or its already-discovered window.
  2. Resolve the narrowest semantic target with find, or inspect the tree when the useful target is a parent cell.
  3. Perform exactly one action.
  4. Wait for a concrete result or disappearance when possible.
  5. Take another snapshot and assert the resulting label, role, state, value, title, or CLI state.

Typical commands use this argument order:

bash
ref="$(agent-ctrl find "Canvas" --role button --exact --first --session "$session")"
agent-ctrl click "$ref" --session "$session"
agent-ctrl wait-for "Arrange" --role button --session "$session"
agent-ctrl snapshot --session "$session"
arrange_ref="$(agent-ctrl find "Arrange" --role button --exact --first --session "$session")"
agent-ctrl get name "$arrange_ref" --session "$session"

An action response such as ok method=ax-press, ax-value, or cg-event is delivery telemetry, not evidence that Prowl changed state. Never report PASS from the action response alone. If delivery is uncertain, observe before considering a retry.

Use refs only from the latest snapshot. find searches the cached snapshot; it does not walk the UI itself. Structural containers — the window root, toolbars, dialog and sheet roots, and popover containers — carry scope-only refs (@sN in CLI output, scope_N in JSON). Use them with find --in, get, and is to bound a search to one surface; actions on a scope ref are rejected by design, so act on an @eN element ref resolved inside the scope. For negative scroll deltas, terminate option parsing explicitly, for example:

bash
agent-ctrl scroll --ref "$ref" --session "$session" -- 0 -600

Prowl Main Window Knowledge

View Modes

The top-level Default, Canvas, and Shelf controls are buttons with identifiers sidebar-view-mode-default, sidebar-view-mode-canvas, and sidebar-view-mode-shelf. The active button exposes selected state. After switching, assert that exactly one of the three is selected and that it is the requested mode. Canvas also has distinctive descendants such as Canvas navigation help, Arrange, Organize, and Tile; use those as secondary evidence when relevant.

Active Agents

Collapse and expansion are reliably observable through the footer control:

  • Expanded state exposes Hide Active Agents.
  • Collapsed state exposes Show Active Agents.

Assert the label flip after each click. Do not infer collapse solely from the continued presence or absence of the Active Agents region.

Repository and Worktree Selection

Repository and worktree text regions can return a successful AX press without changing selection. After a selection attempt, query the dedicated Debug socket with prowl list --json and compare the focused worktree or pane.

If semantic delivery did not change the CLI state:

  1. Re-snapshot and prefer the containing row or cell over its text region when one exists.
  2. Check the target bounds against the root window bounds. Nodes below or above the viewport may still claim visible=true.
  3. If the row is on-screen and has no actionable semantic parent, use one physical click at the center of its fresh bounds.
  4. Query prowl list --json again. Do not repeat the click if the result is still ambiguous.

Never hardcode repository names, worktree labels, refs, or screen coordinates.

Toolbar, Popovers, and Menus

The Agents toolbar menu has accessibility identifier agents-toolbar-menu; the adjacent quick-launch control uses agents-toolbar-quick-launch. Opening Agents produces a named container with identifier agents-toolbar-popover inside a nested dialog; it may not appear as a sibling in window-list. Do not activate a profile merely to test the popover.

Menus can appear more than once in the AX tree even though only one menu is visible. Treat duplicate menu-item nodes as one surface. Close a menu with its toggle when that changes state; otherwise use one safe outside click and verify the expected menu item is gone.

Prowl Settings Knowledge

Settings uses a SwiftUI List(selection:) exposed as tree "Sidebar". Each navigation item is typically shaped like:

text
cell
  region "Notifications"

Click the cell, not the named text or region. find "Notifications" usually returns the region, so inspect its parent in the fresh snapshot and click that cell ref. The cell action may legitimately fall back from AXPress to a physical event.

After navigation, assert both the selected row and a detail-specific heading or window title. Important title differences include:

  • The Commands row opens a window titled Global Commands.
  • Repository rows open repository-specific settings whose headings include Display, Worktree, Agents, and scripts.

Repository rows can be present in the AX tree while outside the window. Before clicking one, compare its bounds to the Settings window, scroll over a currently visible sidebar cell, then re-snapshot. Use a bounded scroll, observe its direction, and adjust once rather than assuming visible=true or trusting a scroll success response.

Opening Settings can reorder or replace the session's top-level window IDs, and AXRaise may be unsupported even when the correct window is already readable. Re-discover the window, verify its title and PID, and continue from the snapshot instead of treating a focus failure as proof that the window is inaccessible.

Sheets and Editable Controls

Add... opens a named container with identifier add-to-prowl-popover inside the in-window Add to Prowl dialog. Browse… opens an NSOpenPanel sheet that remains embedded in the main window's AX tree; it may not appear as another entry in window-list. Resolve the active surface with find --role dialog — dialog and sheet roots carry scope-only refs — then scope common-control lookups such as Cancel or Open with find --in @sN instead of searching the whole window tree. Cancelling a nested NSOpenPanel can also dismiss the popover that opened it, so re-run find --role dialog to confirm which surfaces remain before further cleanup.

Prefer fill on a fresh editable ref for safe text-entry checks. Keyboard press can fail with AXRaise on sheets or Settings. Native search fields can temporarily replace the snapshot root with a suggestions menu and may never become structurally stable, so wait for a concrete control or value instead of relying on wait-for --stable.

Never add a repository, clone, launch an agent profile, archive a worktree, run a command, or persist a setting unless the scenario explicitly requires that mutation and defines cleanup. Opening and cancelling a surface is sufficient for generic control verification.

Evolve the Verification Surface

Treat friction during a real run as feedback to classify after first restoring the scenario to a known state. Distinguish:

  1. A Prowl accessibility metadata gap.
  2. An agent-ctrl discovery, scoping, or delivery limitation.
  3. A macOS permission, focus, timing, or framework limitation.

Treat an explicit invocation of this skill as permission for a narrow Prowl-local accessibility metadata repair unless the parent request is read-only or explicitly forbids edits. Do not infer permission for functional UI changes, dependency installation, commits, pushes, or external reports.

Make a Prowl repair autonomously only when all of these are true:

  • Fresh snapshots from the exact Debug PID reproduce the missing or incorrect semantic state.
  • The source makes the intended label, value, selection, role, or control identity unambiguous.
  • The fix is limited to stable accessibilityIdentifier, label, value, trait, action, or container metadata.
  • The fix does not change layout, control type, focus behavior, window lifecycle, persisted data, or the user-visible action.
  • The same scenario can prove the improvement directly after a rebuild and relaunch.

Use stable, nonlocalized identifiers based on product meaning, not display text, indexes, repository names, refs, or runtime data. Keep VoiceOver semantics truthful: do not mark a semitransient popover as modal, add selected state to a momentary button, or collapse useful children merely to make an automation tree smaller.

For a high-confidence gap:

  1. Preserve the before snapshot or exact failed assertion.
  2. Make the smallest metadata-only source change.
  3. Build and relaunch the isolated Debug app.
  4. Repeat the same interaction and capture after evidence.
  5. Re-check VoiceOver-oriented structure as well as agent-ctrl output.
  6. Update this skill only when the new behavior or workaround is durable, Prowl-specific, and verified. Edit the relevant rule instead of appending a chronological field note, then validate the skill.

If ownership or semantics remain uncertain, do not patch. Finish the requested verification, reduce the affected assertion to INCONCLUSIVE when necessary, and report the evidence plus the smallest recommended Prowl or upstream experiment.

Always add a concise UI Evolution section to the final report:

  • Friction — what was difficult, or None.
  • Ownership — Prowl, agent-ctrl, macOS, or Unclear.
  • Confidence — High, Medium, or Low, with the decisive evidence.
  • Change — source and skill edits made, or None.
  • Before / After — direct semantic evidence when a repair was made.
  • Follow-up — unresolved recommendation, or None.

Evidence and Outcome

Prefer direct semantic evidence: a fresh tree fragment, a field value, a window title, or matching prowl JSON before and after. Use agent-ctrl screenshot --session "$session" only when pixels are part of the declared assertion.

Classify each scenario as PASS, FAIL, SKIPPED, or INCONCLUSIVE. Include the exact Debug PID, agent-ctrl version, assertions and evidence, any physical fallback, restored state, and session cleanup. A partial semantic surface must reduce confidence; it must not silently become a visual pass.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Prowl Ui」では何ができますか?

Explicitly inspect, operate, and iteratively improve the native Prowl Debug UI verification surface with agent-ctrl on macOS. Use only when the user asks to verify or drive Prowl UI behavior, especially Settings, sheets, menus, popovers, view switching, repository selection, and Active Agents. When a run exposes a high-confidence Prowl accessibility metadata gap, make a narrow repair and report the before-and-after evidence; report lower-confidence or backend limitations without speculative changes. Do not invoke automatically after implementation, and use prowl-cli instead for tabs, panes,...

TypingMindでProwl Uiを使うメリットは何ですか?

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

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

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

Prowl Uiを使えるAIモデルはどれですか?

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

Prowl Uiで使えるAIモデルの数に制限はありますか?

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

AIスキル「Prowl Ui」は無料ですか?

onevcatがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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