Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

mac-ui-worker

БесплатноБез исполняемых скриптовНе проверен

Route bounded UI-only work from a Codex Desktop source task, especially a remote GCP-backed task, to one Mac-local Codex Desktop worker bound to that exact…

ma08от ma08★ 31 звезда на GitHub

Об этом скилле

Mac UI Worker

Route one source task to one reusable Mac-local UI worker. Send the complete job once, keep routine human collaboration in the worker task, and use source callbacks only for declared cross-task boundaries and terminal reporting.

Read references/protocol-v1.md completely before sending or accepting a job. It defines the required envelopes, checkpoint authority, dependency flow, correction rules, and receipts.

Choose the role

  • Worker: The current task received a valid protocol: mac-ui-worker/v1 request.
  • Requester: The current task needs to arrange Mac UI work.
  • Do not combine the roles in one task.

Capability gate

Before routing:

  1. Confirm the job genuinely requires visible Mac UI or the user explicitly requested one of the supported UI surfaces. Otherwise use a purpose-built connector, API, or CLI when it fully satisfies the request.
  2. Require native Codex Desktop project and task tools. The requester needs project discovery, task creation, task reading or waiting, and task messaging.
  3. Require exactly one declared top-level surface: iab or computer-use. Split a mixed workflow into successive serial jobs for the same worker.
  4. Require the matching worker capability. An iab job needs the in-app Browser tools. A computer-use job needs native Computer Use.
  5. Fail closed when transport or the declared surface is unavailable. Codex CLI and Claude Code must not edit app SQLite, JSONL, transcripts, logs, or notification state to fake a Desktop prompt. Never switch surfaces or substitute Chrome, Playwright, generic web access, AppleScript, osascript, JXA, System Events, or synthetic input for the declared surface.

Requester workflow

1. Resolve the source binding

Treat the exact {source_host_id, source_thread_id} pair as the source identity.

  • Read the source task's durable status or task artifact for an existing mac-ui-worker/v1 binding.
  • Resolve saved projects from current metadata. For Sourya's standard route, select the project whose host is local and whose path is /Users/sourya4/pro/personal_os. Never hard-code a project ID or select by title alone.
  • Reuse the recorded healthy worker only when its stored source identity exactly matches the current task.
  • If no binding exists, create one Mac-local task only when the user explicitly authorized creating or using a worker task. Otherwise ask first.
  • Use the saved project directly, without a worktree. Record exact worker task and host IDs immediately. Titles are human labels, never routing keys.
  • If the recorded worker is irrecoverably unavailable, mark that binding superseded before recording one replacement. Keep at most one active worker for the source task.

Record at least:

protocol: mac-ui-worker/v1
source_host_id: <exact host id>
source_thread_id: <exact task id>
worker_host_id: local
worker_thread_id: <exact task id>
binding_state: active

2. Prepare one complete bounded job

  • Generate a unique opaque job_id; prefer muw-<timestamp>-<random>.
  • Send one active job at a time. Wait for its terminal receipt before sending the next job to the same worker. V1 has no queue or same-source parallelism.
  • Put every relevant phase and boundary in the initial request. Include workflow context, continuity from earlier jobs, the objective, target gates, exhaustive allowed and prohibited actions, direct-user checkpoints, authorization, declared source dependencies, callback policy, follow-up policy, result fields, evidence, redaction, and stop conditions.
  • Declare exactly one surface and its exact gates. For iab, include every allowed site and route plus the account, tenant, and project that matter. For computer-use, include the app display name or bundle identifier plus any window, document, workspace, account, or visible route gates.
  • Make allowed actions exhaustive. A later fragment, milestone, or progress message cannot add a site, app, account, action class, mutation, data category, authorization path, source dependency, or weaker stop condition.
  • Declare every source-owned dependency by stable dependency_id, exact trigger, exact source action, continuation condition, returned evidence, and stop conditions. Undeclared dependencies cannot pause and resume the same job.
  • Declare routine user checkpoints as worker-local. Login, MFA, user-controlled secret entry, routine clarification, fresh approval, and native handoff happen directly between Sourya and the worker.
  • Declare the exhaustive source callback allowlist. The default is acknowledgment, declared source dependency, material source-owned scope or policy decision, cancellation, declared exceptional milestone, and terminal sanitized receipt.
  • Use authorization.mode: worker-exact-approval for any job that might cause a persistent local or external mutation. Use read-only when n
Полный SKILL.md на GitHub

Установить mac-ui-worker в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yamlreferences/protocol-v1.md

FAQ

Что делает скилл mac-ui-worker?

Route bounded UI-only work from a Codex Desktop source task, especially a remote GCP-backed task, to one Mac-local Codex Desktop worker bound to that exact source task. Use when a job needs the Mac task-scoped in-app Browser, native Computer Use, existing Mac UI or login state, direct collaboration with the user for login, MFA, credential entry, clarification, or fresh approval, or a declared source-owned dependency. Also use inside a Mac worker that receives protocol mac-ui-worker/v1. Do not use when a connector, API, or CLI fully handles the task, or when native Desktop transport is unavailable.

Как установить скилл mac-ui-worker?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл mac-ui-worker запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить mac-ui-worker с