byted-util-ark-cua
Delegate broad computer-use tasks to ARK CUA for Volcengine AgentPlan users through an authenticated cloud desktop, and synchronize explicit credentials to a…
от bytedance★ 496 звёзд на GitHub
Установить byted-util-ark-cua в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
ARK CUA
Operate ARK CUA through the bundled Python CLI. Keep all gateway access inside the CLI and never request an AgentPlan API key in chat.
Command surface
python3 <skill-dir>/scripts/cua.py <command> [options]
Parse the single JSON object printed by each invocation:
- Success:
ok: true, withdataand sometimesnext. - Failure:
ok: false, witherror.codeand sometimesnext.setup_command.
Read references/commands.md for non-core commands. For a credential intent, read references/credentials.md before acting. Read references/auth.md, references/outcomes.md, or references/troubleshooting.md only when the corresponding state occurs.
Core workflow
- Run
auth status. When no credential is configured, the CLI first probesarkclithrough a private temporary HOME snapshot so read-only discovery also works in restricted sandboxes. It selects the first profile withtype=agent-planandplan_tier=max, then reads its key in memory. It never assumes the active arkcli profile is eligible or writes to the real arkcli state. - On
AUTH_REQUIRED, inspecterror.arkcli_status/error.arkcli_hint. Follow a recoverable arkcli hint first (for example, select or refresh its key), then retryauth status. If arkcli is missing or that path cannot complete, relaysetup_commandand ask the user to run it in their own local terminal; the existing hidden API-key prompt is the fallback. Never accept the key in chat. OnTOKEN_EXPIREDorREFRESH_FAILED, follow the same recovery path. - When the user explicitly wants to use a different API key even though arkcli is available, ask them to run
auth login --manualin their own local terminal. This mode bypasses arkcli only for that login, validates the hidden input, and stores it in the protected cache that business commands already prefer. A rejected manual credential fails back to the same manual setup path instead of silently switching to arkcli, which prevents operations from targeting the wrong desktop.auth logoutremoves the manual override and restores normal arkcli discovery. Never accept the key in chat or as a command argument. - After the user confirms login completed, run
auth statusagain. Ifdata.real_name_verification.statusisunverified, explain that a new CUA cannot be allocated until Volcengine real-name verification is complete, and provide itsverification_url. Do not describe the API key as invalid. An existing allocated CUA remains usable and its invocations are not stopped. - Run
delegate --objective "<user request>"once. Preserve the user's objective without planning or decomposing it. - Record
data.invocation_id; never submit the same request again. - Drive
data.outcomeuntil terminal:in_progress: runnext.commandand continue watching.needs_input: relaydata.input_request.questionverbatim, then submit the user's reply withanswer.completed: usedata.result.textas the authoritative result.failed: report the failure; retry only when requested and safe.cancelled: report cancellation.
If task creation returns ACTIVE_RUN_CONFLICT, the new request did not start. Stop, tell the user the desktop is busy, and do not retry or inspect the existing task unless the user explicitly asks.
If an operation returns VOLCENGINE_REAL_NAME_REQUIRED, it did not allocate a
new CUA. Show verification_url, ask the user to complete verification on the
Volcengine platform, then rerun auth status before retrying. Never log out or
replace a valid API key for this error. VOLCENGINE_REAL_NAME_CHECK_UNAVAILABLE
is retryable, but a failed create operation must not be duplicated blindly.
Route special intents
- Specific desktop or reusable context: use
desktop list,task run,context, andtask continue. - CUA App login URL: run
desktop accessafter the requested work finishes. Return its newdata.full_interface_url, falling back todata.access_url. Never reuse a URL from an earlier result. Onruntime_capability_required, revoke the failed ticket and rundesktop accessonce for a fresh URL; never rewrite the gateway-owned path. If the fresh URL also fails, report a gateway/runtime configuration failure. Usedesktop revoke-accessif a URL may have leaked or is no longer needed. - Local file delivery: remove only local-delivery wording from the CUA objective, have CUA export a registered artifact, then use
artifact listandartifact save. - Health or configuration inspection: use
ping,diagnose, ormodel get; do not create a task merely to test availability. - Credential preparation, status, synchronization, or reset: use the
credentialscommands, notdelegateortask run. The signed Agent installer and exact browser/resource sync orchestration are embedded in this Skill
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- LICENSE
- assets/config.json
- references/auth.md
- references/commands.md
- references/credentials.md
- references/outcomes.md
- references/troubleshooting.md
- scripts/bootstrap-agent.py
- scripts/cua.py
- scripts/cua_auth.py
- scripts/cua_http.py
- scripts/cua_state.py
- scripts/cua_util.py
- scripts/prepare-source.py
- scripts/sync-cua-resource.py
- scripts/sync-cua.py
FAQ
Что делает скилл byted-util-ark-cua?
Delegate broad computer-use tasks to ARK CUA for Volcengine AgentPlan users through an authenticated cloud desktop, and synchronize explicit credentials to a caller-owned CUA through Credential Agent. Use for web or desktop-app operation, file workflows, reusable task contexts, artifacts, temporary CUA App URLs, desktop shutdown/start/recovery, inspection, or exact browser, environment, secret, Credential Set, and managed-file credential setup/sync/status/reset. Do not use when local reasoning or a purpose-built local/API tool can complete the request more directly.
Как установить скилл byted-util-ark-cua?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл byted-util-ark-cua запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…