arkcli-profile

Installation
SKILL.md

arkcli profile

CRITICAL — 开始前 MUST 先用 Read 工具读取 ../arkcli-shared/SKILL.md,其中包含认证闸门、配置排查与命令选择顺序

CRITICAL — 一旦确定走 profile create、profile delete 或 profile project(重选 project 会重命名/重派生 platform profile),必须先复述对 config.yaml 的影响并征得用户确认;其他写操作(use / set-default / keys use / keys refresh / models refresh / rename)执行前也要复述目标 profile 名。 CRITICAL — profile 是本地身份切面管理,全域不注册 --dry-run;用 show/list 检查并通过明确确认保护写操作。

使用原则

  • profile 是 0.1.16 引入的 统一身份切面,把 (type × region × project × owner_trn × api_keys) 五个属性绑成一组
  • profile 写操作(create / use / set-default / keys / models / delete / rename)一律走 arkcli profile <verb>;旧的 arkcli config init/list/show/switch/delete 已 deprecated,不要再引导用户用
  • 只读排障优先 arkcli profile show 或 arkcli profile list,不要上来就改
  • ProfileType 五种:platform / agent-plan / agent-plan-team / coding-plan / coding-plan-team;其 text/image/video 所需的数据面、凭证与资源不同
  • 用户只想临时传 API Key / Base URL / Endpoint 时,不要创建、切换或修改 profile;先读 ../arkcli-shared/references/execution-context.md

适用场景

Installs
24
GitHub Stars
137
First Seen
Jun 23, 2026
arkcli-profile — volcengine/ark-cli