arkcli-api-explorer

A guarded command-line tool for checking and calling low-level ArkCLI actions when normal product commands do not cover a task.

In plain words
What is it for?
Use it to verify an action's input and output contract, check whether an action is registered, or investigate an unknown-action error.
Why use it?
It helps avoid guessing action names, parameters, or output formats, and keeps low-level calls from being used when a safer standard command exists.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/volcengine/ark-cli/arkcli-api-explorer
Any agent
npx skills add volcengine/ark-cli --skill arkcli-api-explorer
Clone the repo
git clone --depth 1 https://github.com/volcengine/ark-cli

Made for: Claude Code, Codex.

Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,881 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00056 $0.01881
Opus 5 $0.00028 $0.00941
Sonnet 5 $0.00011 $0.00376
Haiku 4.5 $0.00006 $0.00188

Measured 2d ago against content hash 246e8be0ce58, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

arkcli-api-explorer 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 2d ago.

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/arkcli-api-explorer/SKILL.md · 109 lines

How it starts

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

arkcli api(Raw API Explorer)

CRITICAL — 开始前 MUST 先用 Read 工具读取 ../arkcli-shared/SKILL.md,其中包含认证、配置覆盖排查与命令选择顺序 CRITICAL — 只有在现有产品命令和业务 skill 确实不覆盖时,才允许进入本 skill;禁止把 arkcli api 当默认入口。 CRITICAL — 任何 arkcli api ... 调用前,MUST 先用 Read 工具读取 references/arkcli-api.md,禁止盲目猜参数与输出结构。

使用原则

  • 先产品命令:arkcli <domain> <verb>arkcli +<shortcut>
  • 再 skill / reference:确认是否已有稳定入口与正确参数
  • 最后才 arkcli api:仅用于低频、专业或高风险的底层 Action 验证与兜底

不要因为某个 Action 存在,就反推出新的顶层 skill 或 cmd/ 命令;只有升级为稳定产品能力时,才考虑补 shortcuts/

适用场景

  • 现有产品命令确实无法覆盖需求(且该需求不值得做成标准命令或 +shortcut
  • 需要验证某个已注册 Action 的输入输出契约(例如排障、回归验证、确认 transport 可达)
  • 需要确认 registry 中是否已存在某个 Action(用于开发或排查 “注册缺失”)

唤起信号(When To Trigger)

  • 用户明确提到:action / operation / registry / “已注册 Action” / “契约验证”
  • 用户给出:arkcli api ... --params ... 并需要你补全/排错
  • 用户遇到:unknown action / 需要确认某个 Action 是否存在
  • 开发场景:在 internal/apis/<domain>/ 新增 operation 后,要快速验证能否 --list 与可调用

反唤起信号(When NOT To Trigger)

  • 用户目标是:对话(+chat)、生成(+gen)、部署(+deploy)、用量(usage)、查模型(models)等已有稳定产品路径
  • 用户只是鉴权失败/未登录/环境 profile 混乱(应先走 auth/config,不要把问题导向 api
  • 用户只是想“找一个命令怎么用”(优先 arkcli <domain> --help + 对应 skill/reference)

Agent 快速执行顺序

  1. 先判断用户目标是否已有产品入口:arkcli <domain> --help,并优先转对应业务 skill
  2. 如果只是认证/配置问题,不要误判为需要 api
  3. 枚举已注册 Action(无参等价于 list):
    • arkcli api --list
    • arkcli api
  4. 定位契约与必填字段(禁止猜 JSON):
    • 在代码中查 internal/apis/<domain>/ 对应的 req/resp 结构体
  5. 先用叶子命令的 Client Preview 核对最终 descriptor 和 payload:
    • arkcli api <registered-action> --params '{...}' --dry-run
    • Preview 是纯本地行为,不登录、不请求后端、不证明权限、配额或资源存在
  6. 只读优先;写操作在 Preview 后仍必须二次确认,然后去掉 --dry-run 执行:
    • arkcli api <registered-action> --params '{...}'
    • payload 自身的 "DryRun":true 是后端字段;未加 CLI --dry-run 时仍会发出真实网络请求
  7. 输出尽量稳定、减少噪声:
    • 优先用全局 --transform '<gjson path>' 提取关键字段
    • 只有排障需要时才开 --debug(会输出请求/响应调试信息到 stderr)

Read the full file on GitHub · 109 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago First seen · 109 lines · 56 tokens per session scan A 246e8be0ce58

Subscribe to this mod's changes

arkcli-api-explorer is a skill published in the GitHub repository volcengine/ark-cli (112 stars, last pushed 5d ago), licensed Apache-2.0. It adds 56 tokens to every session and 1,881 once invoked, about $0.0003 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-08-30.

Related

Other skills, from other repositories

happiness-skill

当用户问「怎么才能更幸福/为什么得到了还不满足/怎么减少焦虑」时调用。 核心理念: 幸福是缺憾感清空的默认状态, 是可训练的技能; 欲望是与自己的契约(得到前不快乐), 同时只留一个重大欲望; 活在当下。 不适用于: 临床抑郁等需要专业治疗的场景(本书方法不能替代医疗)。 Triggers: 幸福/不快乐/欲望/焦虑/知足/活在当下/happiness/desire/anxiety.

kangarooking/cangjie-skill · 136 tokens

create-business

Guided journey from raw idea to a validated, positioned, priced business with a chosen beachhead. Orchestrates ten skills phase by phase - jobs-to-be-done, mom-test, design-sprint, lean-startup, good-strategy-bad-strategy, blue-ocean-strategy, obviously-awesome, hundred-million-offers, monetizing-innovation…

wondelai/skills · 211 tokens

jobs-to-be-done

Discover what customers truly need by analyzing the "job" they hire your product to do. Use when the user mentions "customer discovery", "why customers churn", "what job does this solve", "competing against luck", "product-market fit", "switching behavior", "milkshake moment", or "functional vs emotional jobs". Also…

wondelai/skills · 137 tokens

asc-subscription-localization

Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2 resources. Use when filling or updating subscription/IAP names and descriptions without App Store Connect UI work.

rorkai/app-store-connect-cli-skills · 60 tokens

pcbway

PCBWay PCB fabrication and assembly — turnkey/consigned assembly, design rules, ordering workflow. Alternative to JLCPCB for manufacturing. Use with KiCad. Use this skill when the user mentions PCBWay, needs turnkey assembly (PCBWay sources parts by MPN), has parts not available on LCSC, needs assembled boards with…

aklofas/kicad-happy · 119 tokens

scienceworld-growth-focuser

Use when you have planted a seed or need to track a plant's growth stage (sprouting, flowering, reproduction). Applies the 'focus on' action to a specific plant or biological entity to signal intent and monitor its development. Trigger after planting or when you need to observe life cycle progression in the…

zjunlp/SkillNet · 71 tokens