arkcli-chat

A command-line chat interface for sending prompts to an AI model and receiving answers, including answers based on uploaded images, videos, audio, or other files.

In plain words
What is it for?
Use it for scripted AI conversations, file-based questions, multi-turn chats, streamed output, and requests that need web search or other configured tools.
Why use it?
It provides one place to control model settings, stream long answers, continue earlier conversations, and optionally let the model use tools.

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-chat
Any agent
npx skills add volcengine/ark-cli --skill arkcli-chat
Clone the repo
git clone --depth 1 https://github.com/volcengine/ark-cli

Made for: Claude Code, Codex.

Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,964 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.00089 $0.02964
Opus 5 $0.00044 $0.01482
Sonnet 5 $0.00018 $0.00593
Haiku 4.5 $0.00009 $0.00296

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

Security

Grade A, and why

arkcli-chat 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-chat/SKILL.md · 105 lines

How it starts

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

arkcli +chat

CRITICAL — 开始前 MUST 先用 Read 工具读取 ../arkcli-shared/SKILL.md,其中包含认证闸门、配置排查与命令选择顺序 CRITICAL — +chat 在执行之前,务必先用 Read 工具读取 references/arkcli-chat.md,禁止直接盲目调用命令。

核心概念

  • --model 缺省时 CLI 自动 fallback 到 active profile 的 resources.text.default;用户显式传入不同值时按 ../arkcli-shared/references/profile-defaults.md 做漂移提示。
  • +chat 是数据面 Responses API(POST /responses)的高层封装:一次请求即返回助手文本。
  • 支持多模态:用 --input @photo.jpg 把本地文件随请求上传,模型可看图/看视频/听音频后回答。图片(.jpg/.png/.webp/...)、视频(.mp4/.mov/...)、音频(.mp3/.wav/.m4a/...)、通用文件按扩展名自动分流。
  • 支持流式--stream 模式逐段输出,先输出推理(thinking),再输出正式回答(response)。
  • 支持进度提示:非流式调用在 5s 后开始向 stderr 输出 arkcli +chat: still running… elapsed Xs 心跳行(每 10s 一次),避免长调用看不到任何输出;脚本场景可用 --no-progress 关闭。stdout 不受影响。
  • 支持system instructions--instructions "..." 注入系统级指令。
  • 支持采样调节--temperature / --top-p / --max-output-tokens
  • 支持思考强度--reasoning-effort minimal|low|medium|high(仅在支持 reasoning 的模型上生效)。
  • 支持多轮接续--store 持久化本次响应,下一次用 --previous-response-id <id> 接续。
  • 支持Tools--tools web_search(简单语法糖)或 --tools-file tools.json(function 等完整形态),配合 --tool-choice auto|required|none--max-tool-calls。详见 references/tools.md
  • 支持对账面命令arkcli chat get/delete/list-input-items <response-id>,对 --store 过的 response 做 CRUD,详见 references/chat-meta.md
  • 支持缓存与思考--caching enabled|disabled(配 --cache-prefix)控制服务端 prompt cache;--thinking auto|enabled|disabled 控制思考阶段;--expire-at <epoch_sec> 给 stored response 加过期。详见 references/caching-thinking.md
  • 支持流式事件--stream --include-events 输出原始 SDK 事件 NDJSON(每行一个 JSON),供 autotest / agent 程序化消费。详见 references/stream-events.md
  • 支持可验证的严格 JSON--text-format json_schema --text-schema <file> --text-strict 不只把约束传给服务端,还会在客户端确认响应完整、是直接 JSON 且符合 Schema;否则非零退出。严格流式会先缓冲,校验成功后才输出,避免泄出半截 JSON。详见 references/text-format.md
  • 输出 schema(务必先看)+chat 返回是 arkcli 扁平 schema({id, model, content, reasoning_content, usage, ...}),不是 Responses API 原生 output[].content[].text 嵌套;助手文本直接用 .content 取。--format 不会切换 shape。详见 references/arkcli-chat.md 的「返回值」段。
  • 用户临时提供 --api-key / --base-url / Endpoint 时,MUST 读取 ../arkcli-shared/references/execution-context.md。不要从 Key 文本猜套餐类型,也不要把临时值写入 profile。
  • --dry-run 只在本地构造 preview.v1 请求摘要与无 secret 的执行上下文;不会读取在线元数据、刷新凭证、调用 Responses API、产生 token 用量或存储 response。在线依赖必须列为 unresolved

Read the full file on GitHub · 105 lines

Files

What ships with it

6 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 · 105 lines · 89 tokens per session scan A 98f8cc5ea2ed

Subscribe to this mod's changes

arkcli-chat is a skill published in the GitHub repository volcengine/ark-cli (112 stars, last pushed 5d ago), licensed Apache-2.0. It adds 89 tokens to every session and 2,964 once invoked, about $0.0004 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

ui-ux-pro-max

UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local…

nextlevelbuilder/ui-ux-pro-max-skill · 114 tokens

baoyu-imagine

AI image generation with OpenAI GPT Image 2, Azure OpenAI, Google, OpenRouter, DashScope, Z.AI GLM-Image, MiniMax, Jimeng, Seedream and Replicate APIs. Supports text-to-image, reference images, aspect ratios, and batch generation from saved prompt files. Sequential by default; use batch parallel generation when the…

guanyang/open-agent-hub · 103 tokens

microinteractions

Design the small details -- triggers, rules, feedback, loops and modes -- that separate good products from great ones. Use when the user mentions "microinteraction", "button feedback", "loading state", "toggle design", "animation detail", "state transitions", "input feedback", "the interface feels dead", "make the UI…

wondelai/skills · 141 tokens

aws-wechat-article-images

公众号封面|公众号配图|公众号插图|AI 生图 — 公众号 AI 封面与配图生成,按文章标题与内容自动匹配画风,一稿多方案,多风格预设可复用。面向公众号编辑、自媒体、品牌设计。触发词:「封面」「配图」「插图」「生成图片」「给文章加图」「做个封面」「文章插图」「配个图」。不写正文只发一组图请走 aws-wechat-sticker;需要多环节串联(写+审+排+配图+发)请走 aws-wechat-article-main。.

aiworkskills/wechat-article-skills · 144 tokens

aws-wechat-article-publish

公众号发布|公众号草稿箱|公众号群发|图文推送|微信 API|wechat automation|WeChat API automation|auto publish|scheduled publish — 公众号 API 发布工具,图文入草稿箱或直接群发,支持封面素材上传、发布前检查与 draft/published 模式切换。面向公众号运营、自动化内容团队、开发者。触发词:「发布」「提交」「群发」「推送」「发出去」「上传到公众号」「发到公众号」「可以发了吗」「发布前检查」。需要多环节串联(写+审+排+配图+发)请走 aws-wechat-article-main。.

aiworkskills/wechat-article-skills · 150 tokens

animation-system

Use when implementing animations — AnimationPlayer, AnimationTree, blend trees, state machines, sprite animation, and code-driven animation.

jame581/GodotPrompter · 27 tokens