arkcli agent:管理 ARK Managed Agents,包括 Agent / Skill / Env / Session / File / Memory Store / Vault / MCP OAuth。控制面优先走 ForTop/OpenTOP,Session 运行时和 Files 走数据面直联。
日本語の概要は準備中です。原文の説明を表示しています。
arkcli resources 实时控制面查询:列出当前/指定 profile 可见资源及其调用兼容性;把 Endpoint 解析为权威模型、模态与候选工作流。read-only,不写 profile.yaml。用户临时给出 ep-... 但未说明该走 Chat、Understand 还是 Gen 时优先使用。反触发:用户已观察到 Endpoint NotFound,并要判断 ID 是否不完整或仅存在于历史用量时,owning skill 必须是 arkcli-infer-endpoint。
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
CRITICAL — 开始前 MUST 先用 Read 工具读取 ../arkcli-shared/SKILL.md,其中包含认证闸门、配置排查与命令选择顺序
CRITICAL — 用户已经看到 Endpoint NotFound,又要核对当前完整 ID / 历史用量时,必须先转读 ../arkcli-infer-endpoint/SKILL.md,由其按 infer endpoint list → usage stats --endpoint 证据链主导。不得只跑 resources resolve/list 就猜测 ID 后缀或宣称已删除。
arkcli resources 域始终只读。即使用户在资源列表语境中提出创建意图,也必须先转读 ../arkcli-deploy/SKILL.md,不能由本 Skill 创建、修改或删除资源arkcli +deploy。该在线工作流不支持 Client Preview,不得执行 arkcli +deploy --dry-run,也不得为了获得 Preview 而静默降级成底层 CRUDarkcli +deploy。严禁 Agent 自行添加 --yes、echo Y 或设置 ARKCLI_ALLOW_HEADLESS_ACTIVATION../arkcli-infer-endpoint/SKILL.md,使用叶子命令 arkcli infer endpoint create ... --dry-run;Preview 完成后仍需新的确认才能真实执行arkcli resources list 是 read-only 实时控制面查询,每次都打上游,没有本地缓存profile show/list/keys list。空列表不是配置修复或 Key 同步的授权。arkcli resources resolve <ep-id> 先按 endpoint_model_type 判定真实绑定。Custom Model Endpoint 的 model_id / custom_model_id 必须保持 cm-... 身份,基础模型只通过 base_model_* 表达 lineage 与能力来源;不按 ID/模型名子串猜用途ListEndpoints,agent-plan / coding-plan → 对应 plan APIagent-plan-team 三模态使用团队席位 Key + 套餐模型;coding-plan-team 只有 text 使用团队席位 Key,image/video 虽可看到 platform Endpoint,但调用还需要后付费 API Keyresources list 区分“账号可见”与“当前 profile 可调用”:读取 invocable 与 required_overrides,不要看到 ID 就断言当前凭证可用invocable=true 只说明 Profile/资源类型兼容,不证明 API Key 未失效、具有权限或额度。凭证归属与数据面真实调用结果要分开核验,元数据不能代替请求成功。../arkcli-profile/SKILL.md 的 profile set-default--profile X 真切身份(P0-A 修正):用 X 的 token / UserID 打控制面,不是 active=A 的身份打完再展示成 B 的资源profile set-default 时报 <id> 不在可用列表,回这里看真实可用 ID+chat / +gen --model 报 InvalidEndpointOrModel.NotFound,回这里确认 ID 在 active profile 下可见+chat、+understand 还是 +gen../arkcli-models/SKILL.md(带 enrich + 加权排序)../arkcli-deploy/SKILL.md(arkcli +deploy);本轮只做只读核对、复述和确认,不直接执行../arkcli-infer-endpoint/SKILL.md,使用 infer endpoint create --dry-run../arkcli-infer-endpoint/SKILL.md../arkcli-infer-endpoint/SKILL.md;不要停在 resources 单点解析| 维度 | arkcli resources list | arkcli models ... |
|---|---|---|
| Scope | 当前 profile 下可发现资源及兼容性 | 全平台基础模型 catalog |
| 输出 | endpoint ID(ep-xxx)或 plan 模型名 | foundation_model 全字段 + ArkModels enrich |
| 派发 | 按 profile.type 切 endpoint / plan / coding API | 通用 ListFoundationModel |
| 缓存 | 无 | 有 cache scope(profile/region/project) |
| 主要用途 | 发现候选、检查 Profile/资源类型兼容性 | 找模型、对比模型、确认 capability |
简言之:resources list 提供当前 Profile 下的资源发现与兼容性,models 提供平台模型目录;二者都不保证真实数据面调用成功。
ep-... → arkcli resources resolve <ep-id> --format json,先读 endpoint_model_type 与 model_id,再读 supported_workflows / generation_modality / requires_user_intentarkcli auth whoami --format json,读取当前身份及可用的 profile.name / profile.type;字段缺失时按当前编译产品诊断,不猜 type。profile show/list 可能同步并回写本地 Key 库存,不作为普通生成前的只读准入。
只读核对时,auth status / auth whoami / resources list 每次只执行一条完整的 ArkCLI 命令并读取原始 JSON 与退出状态;不要拼接 ; echo、head 或重定向后只查看退出码。命令被宿主拒绝时说明缺口,不把拒绝当作账号或资源事实。arkcli resources list --modality text --format jsonarkcli resources list --modality image --format json / --modality video--profile A --modality text 和 --profile B --modality textinvocable / required_overrides;is_default: true 只表示默认偏好,不保证当前凭证可调用| 命令 | 说明 |
|---|---|
arkcli resources list | 列当前/指定 profile 下指定 modality 的可见资源、数据面与调用兼容性 |
arkcli resources resolve <endpoint-id> | 权威解析 Endpoint 绑定模型、模态、候选工作流与 region |
{
"profile": "platform_cn-beijing_default",
"type": "platform",
"modality": "text",
"items": [
{
"id": "ep-20260424-aaaaa",
"resource_kind": "endpoint",
"data_plane": "platform",
"credential_kind": "paygo",
"invocable": true
}
],
"current_default": "ep-20260424-bbbbb",
"item_count": 1
}
is_default 仅在 items[].id == current_default 时出现;invocable=false 时查看
required_overrides(例如 ["api_key"])。可见资源不等于当前凭证可调用。
resources resolve 的绑定身份契约:
endpoint_model_type=CustomModel:model_id == custom_model_id == cm-...;base_model_* 仅描述训练 lineage 和能力元数据来源,不得拿 base_model_id 替代真实绑定。endpoint_model_type=FoundationModel:model_id 仍是基础模型 ID,既有语义不变。resolution_warnings 非空时保持 fail-soft,不得根据同时出现的 Custom/Foundation 引用自行猜绑定。coding-plan resources list: 缺 AccountID (请先 arkcli auth login) → 仅 text 路径需要 AccountID; SSO 没登录或 token 解析时 claims.Sub 为空, 重新走 arkcli auth login volc-ssoListEndpoints: NotLogin / Unauthorized → 登录态/STS 过期 / --profile X 的 X 没在 identity store 里有 token;先 auth loginunsupported profile type "X" for resources list → 按共享规则核对当前有效上下文,再转 Config/Profile Skill 排查;不得未经用户意图重建或修改 Profile。../arkcli-profile/SKILL.md — 看完 resources 后要换 default 时进../arkcli-models/SKILL.md — 找模型 / 对比能力时进../arkcli-deploy/SKILL.md — 没看到想要的 endpoint 时进创建链路../arkcli-shared/references/execution-context.md — Profile/凭证/资源矩阵与临时覆盖まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
arkcli agent:管理 ARK Managed Agents,包括 Agent / Skill / Env / Session / File / Memory Store / Vault / MCP OAuth。控制面优先走 ForTop/OpenTOP,Session 运行时和 Files 走数据面直联。
日本語の概要は準備中です。原文の説明を表示しています。
Inspect or invoke locally registered ArkCLI actions when product commands cannot cover a task. Use for registry errors or exact raw payloads. Not for public API catalogs or OpenAPI schemas.
日本語の概要は準備中です。原文の説明を表示しています。
arkcli 认证管理:交互式登录、Volc SSO 登录、查看状态、退出登录、生成 ARK API Key (apikey)、以及云开发机/CI 用 `arkcli init-volc` 从 VOLC_INIT_* 环境变量无交互引导 platform profile。0.1.16 起 SSO 登录走 Gate 1+2 自动绑定 Profile 切面 (type/region/project/owner_trn);AK/SK login 通道暂关。当用户需要初始化凭证、排查鉴权问题、切换认证方式、生成或重选 ARK API Key、或在已注入凭证的环境无交互引导时使用。反触发:用户问 TTS/ASR/语音模型能力、接入或调用时,不要引导 `auth apikey`,只转 models search 说明 arkcli 当前仅支持广场发现。
日本語の概要は準備中です。原文の説明を表示しています。
查询火山引擎 ARK 拆分账单明细(结算金额、Token 用量计费),支持按账期月、月范围、Endpoint、API Key、产品编码等维度过滤。当用户问账单、花了多少钱、对账、账期、按 EP / API Key 拆账、按产品拆账、月度账单、出账明细时使用。注意 billing 跟 usage stats 不同:stats 出推理量(近实时),billing 出结算金额(T+1 出账,财务口径)。
日本語の概要は準備中です。原文の説明を表示しています。
arkcli +chat:通过数据面 Responses API 快速对话/推理,支持多模态、流式、多轮、临时 API Key/Base URL/Endpoint 执行与无副作用 dry-run。当用户给出 Endpoint 但未说明工作流时,先用 resources resolve 识别候选;已经出现 Responses API capability/access 错误时,只读用 models get 核对精确模型的 api_support,不重试真实调用。有明确产出形态的多模态理解走 arkcli-understand。
日本語の概要は準備中です。原文の説明を表示しています。
arkcli +code-example:为指定基础模型生成多语言(Python / Go / Java / Node / curl)调用示例代码并写入本地文件。数据源是火山方舟 OpenTOP OpenGetSampleCode。当用户需要拿某个基础模型的 SDK / curl 调用示例、保存为本地接入模板时使用。反触发:TTS/ASR/语音模型没有 arkcli 示例代码路径,不能靠补版本解决,只能转 models search 说明当前不支持。
日本語の概要は準備中です。原文の説明を表示しています。