Volcengine Ark (arkcli)
Bundles the official Ark CLI skills from
volcengine/ark-cli(Apache-2.0) as guides underreferences/; the pinned commit and the changes made while vendoring are in references/UPSTREAM.md. The guides keep the upstream nativearkcli ...form. Run every command asve arkcli ...(requiresve >= 1.1.11), keeping all later arguments.
This file only routes and states what differs under ve. Product rules live in the guides.
How to work
- Read references/arkcli-shared/GUIDE.md once per conversation. It holds the auth gate, the control-plane / data-plane split, the command selection order, and the confirmation protocol that every other guide relies on.
- Pick the guide for the user's goal from the table below. Read it, and the references it names for the command you are about to run, before running anything.
- Run the command through
veas described in Running underve. - After a login, a lookup, or an install, go back to the user's original goal. Those steps are not the result.
The guides are plain files in this skill. Read them by path; nothing else has to be installed or loaded, and no new conversation is needed.
Pick the guide
| User goal | Guide | Entry commands |
|---|---|---|
| Choose or compare models, model details, limits | arkcli-models | models search, models get, models list |
| Model or plan prices | arkcli-pricing | pricing ... |
| "I want to use model X in my app" end to end | arkcli-onboard | orchestrates the rows below |
| Activate (开通) a foundation model service | arkcli-models | models activate |
| Log in, check identity, create or pick an API Key | arkcli-auth | auth status, auth login, auth apikey |
| List, reuse or inspect inference endpoints | arkcli-infer-endpoint | infer endpoint list |
| Create an inference endpoint | arkcli-deploy | +deploy |
| Test call, debugging, Chat / Responses parameters | arkcli-chat | +chat |
| Call with a given key, endpoint, model name or base URL | execution-context | flags of +chat / +gen |
| Code example for an application | arkcli-code-example | +code-example |
| Token usage, free quota, plan quota | arkcli-usage | usage stats, usage balance |
| What a call or a month cost (Ark bills) | arkcli-billing | billing list |
| Image, video or speech generation | arkcli-gen | +gen |
| Transcribe, extract, caption, locate in media or documents | arkcli-understand | +understand |
| Agent Plan / Coding Plan, seats, plan keys | arkcli-plans | plans ... |
| Point a local agent at a plan or an endpoint | arkcli-helper | helper |
| Fine-tuning, custom models, datasets | arkcli-train-finetune, arkcli-custommodel, arkcli-datasets | train finetune, models custommodel, dataset |
| Managed agents | arkcli-agent | agent ... |
| Profiles, default resources, configuration | arkcli-profile, arkcli-resources, arkcli-config | profile, resources, config |
| A call fails, a key or endpoint misbehaves, CLI health | arkcli-doctor, troubleshooting | doctor |
| Rollout watching, before / after comparison, capacity review | arkcli-vmp, arkcli-vmp-workflows | doctor monitor ... |
| A registered action no product command covers | arkcli-api-explorer | api |
Which models exist, what a model can do, and what a model costs are answered from live ve arkcli models ... and ve arkcli pricing ... results, as are activation state, keys, endpoints and usage. Do not answer them from documentation search alone.
Ark knowledge questions are a different job: what a feature is, how to use it, how a billing rule works, limits, best practices, or reading a documentation link. Answer those with the volcengine-knowledge-search skill (ve docs search, ve docs fetch), not with arkcli docs. Where a guide points to a documentation step, use that skill for it.
Running under ve
These points replace what the guides say for standalone arkcli.
-
Command prefix. Put the three caller variables before
veon every command, including help and version:VE_CALLER_TYPE=ai_agent VE_CALLER_NAME="<agent-id>" VE_SKILL_NAME=volcengine-ark \ ve arkcli models search seedWrite your own Agent product name as
<agent-id>.vepasses the caller on to arkcli, so do not addARKCLI_CALLER_TYPE,ARKCLI_CALLER_NAME,ARKCLI_SKILL_NAMEorARKCLI_NO_UPDATE_NOTIFIER, although the shared guide asks for them. -
Version. Run
ve versionfirst and requireve >= 1.1.11. Ifveis missing or older, install or upgrade it with thevolcengine-cliskill. -
Installing and upgrading arkcli.
veinstalls arkcli on first use. Do not runnpm i @volcengine/ark-cli,arkcli updateor+connect. Upgrade withve proxycli upgrade arkcliwhen the user asks or a guide requires a newer arkcli. -
Flags. Child flags go after the child command:
ve arkcli ... --profile <name>selects an Ark profile.ve --profile <name> arkcli ...is invalid. -
Authentication. Ark keeps its own login and profiles.
ve arkcli auth statusis the check; a workingve sts GetCallerIdentitydoes not prove Ark is logged in. When Ark needs a login, follow arkcli-auth; non-TTY Agent sessions use its two-stepauth login --no-browser --login-mode legacy(onarkcli >= 1.0.49, the default--login-mode autowaits on a local browser callback port even with--no-browser, so pass--login-mode legacyon both Phase 1 and the Phase 2--codecall). -
Warnings from
ve.vemay print a warning about refreshing its own Console Login session before it starts arkcli. Judge the command by arkcli's own output and exit status. -
Confirmation. arkcli's rules apply: a
requires_confirmationresult means ask the user, then repeat the same command with--yes. Thevesafety policy,--DryRun,--outputand--querybelong to nativeve <service> <Action>calls and do not apply here. -
Secrets. Never print an API Key, AK/SK or token, and never read files under
~/.arkclior~/.volcengine.
Boundaries
- Purchase orders, price quotes for other products and unsubscribing are the
volcengine-saleworkflow. Activating a pay-as-you-go model service ismodels activatehere. - Cost changes across the whole account or across products belong to
volcengine-billing-and-cost-management. Ark token usage and Ark bill lines are answered here. - Use native
ve ark <Action>only when a guide sends you to the raw API and no product command covers the task.
