byted-util-ark-cua

byted-util-ark-cua is a skill for Claude Code, Codex from bytedance/agentkit-samples. It costs 117 tokens per session (2,226 once invoked), scanned A, original, Apache-2.0.

A knowledge-base search tool for ArkClaw Enterprise, a Volcengine product, that retrieves answers from its public documentation.

In plain words
What is it for?
Use it to search ArkClaw documentation with the /qa command and answer questions about how the product works.
Why use it?
It helps answer product, troubleshooting, and procedure questions from the relevant documentation instead of relying only on general knowledge.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Good fit Use it to search ArkClaw documentation with the /qa command and answer questions about how the product works.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bytedance/agentkit-samples/byted-util-ark-cua
About the project

bytedance/agentkit-samples is a collection of examples and tutorials for Volcengine AgentKit, an AI-agent development platform for building, deploying, and operating agent applications. Developers use the samples to learn agent creation, multi-agent collaboration, memory, retrieval, MCP integrations, media generation, customer service, and other workflows. The catalogue skills provide agent workflows based on these examples.

bytedance/agentkit-samples · 450 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add bytedance/agentkit-samples --skill byted-util-ark-cua
Clone the repo
git clone --depth 1 https://github.com/bytedance/agentkit-samples

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for byted-util-ark-cua

README.md
[![agentmods](https://agentmods.dev/badge/skills/bytedance/agentkit-samples/byted-util-ark-cua/github.svg)](https://agentmods.dev/skills/bytedance/agentkit-samples/byted-util-ark-cua)
Your own site
<a href="https://agentmods.dev/skills/bytedance/agentkit-samples/byted-util-ark-cua"><img src="https://agentmods.dev/badge/skills/bytedance/agentkit-samples/byted-util-ark-cua/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for byted-util-ark-cua

Your own site · 80×15
<a href="https://agentmods.dev/skills/bytedance/agentkit-samples/byted-util-ark-cua"><img src="https://agentmods.dev/badge/skills/bytedance/agentkit-samples/byted-util-ark-cua.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,226 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00117 $0.02226
Opus 5 $0.00059 $0.01113
Sonnet 5 $0.00023 $0.00445
Haiku 4.5 $0.00012 $0.00223

Measured 6d ago against content hash 9869e10778e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

byted-util-ark-cua scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

The scan reads SKILL.md. This mod also ships 9 executable files (scripts/bootstrap-agent.py, scripts/cua_auth.py, scripts/cua_http.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/byted-util-ark-cua/SKILL.md · 78 lines

How it starts

The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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, with data and sometimes next.
  • Failure: ok: false, with error.code and sometimes next.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

  1. Run auth status. When no credential is configured, the CLI first probes arkcli through a private temporary HOME snapshot so read-only discovery also works in restricted sandboxes. It selects the first profile with type=agent-plan and plan_tier=max, then reads its key in memory. It never assumes the active arkcli profile is eligible or writes to the real arkcli state.
  2. On AUTH_REQUIRED, inspect error.arkcli_status / error.arkcli_hint. Follow a recoverable arkcli hint first (for example, select or refresh its key), then retry auth status. If arkcli is missing or that path cannot complete, relay setup_command and 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. On TOKEN_EXPIRED or REFRESH_FAILED, follow the same recovery path.
  3. When the user explicitly wants to use a different API key even though arkcli is available, ask them to run auth login --manual in 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 logout removes the manual override and restores normal arkcli discovery. Never accept the key in chat or as a command argument.
  4. After the user confirms login completed, run auth status again. If data.real_name_verification.status is unverified, explain that a new CUA cannot be allocated until Volcengine real-name verification is complete, and provide its verification_url. Do not describe the API key as invalid. An existing allocated CUA remains usable and its invocations are not stopped.
  5. Run delegate --objective "<user request>" once. Preserve the user's objective without planning or decomposing it.
  6. Record data.invocation_id; never submit the same request again.
  7. Drive data.outcome until terminal:
    • in_progress: run next.command and continue watching.
    • needs_input: relay data.input_request.question verbatim, then submit the user's reply with answer.
    • completed: use data.result.text as the authoritative result.
    • failed: report the failure; retry only when requested and safe.
    • cancelled: report cancellation.

Read the full file on GitHub · 78 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 78 lines · 117 tokens per session scan A 9869e10778e6

Subscribe to this mod's changes

byted-util-ark-cua is a skill published in the GitHub repository bytedance/agentkit-samples (450 stars, last pushed 6d ago), licensed Apache-2.0. It adds 117 tokens to every session and 2,226 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.