byted-viking-cli

byted-viking-cli is a skill for Claude Code, Codex from bytedance/agentkit-samples. It costs 137 tokens per session (4,095 once invoked), scanned D, original, Apache-2.0.

A command-line assistant for VikingDB, Knowledge Base, and Memory, Volcengine services for vector search, document retrieval, and stored agent memory.

In plain words
What is it for?
Use it to manage collections and indexes, store or retrieve vector data, search knowledge bases, and add or search conversation memory.
Why use it?
It gives an agent one command interface for managing collections and searching or updating these services.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Good fit Use it to manage collections and indexes, store or retrieve vector data, search knowledge bases, and add or search conversation memory.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bytedance/agentkit-samples/byted-viking-cli
About the project

bytedance/agentkit-samples is a collection of examples and tutorials for Volcengine AgentKit, an AI-agent development platform for building, deploying, and operating agent applications. Developers use the samples to learn agent creation, multi-agent collaboration, memory, retrieval, MCP integrations, media generation, customer service, and other workflows. The catalogue skills provide agent workflows based on these examples.

bytedance/agentkit-samples · 449 stars · on GitHub

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.

Any agent
npx skills add bytedance/agentkit-samples --skill byted-viking-cli
Clone the repo
git clone --depth 1 https://github.com/bytedance/agentkit-samples

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for byted-viking-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/bytedance/agentkit-samples/byted-viking-cli.svg)](https://agentmods.dev/skills/bytedance/agentkit-samples/byted-viking-cli)
Your own site
<a href="https://agentmods.dev/skills/bytedance/agentkit-samples/byted-viking-cli"><img src="https://agentmods.dev/badge/skills/bytedance/agentkit-samples/byted-viking-cli.svg" alt="Measured on agentmods" height="20"></a>
Per session 137 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,095 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 3 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00137 $0.04095
Opus 5 $0.00068 $0.02048
Sonnet 5 $0.00027 $0.00819
Haiku 4.5 $0.00014 $0.00409

Measured 3d ago against content hash 45867c3d338a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade D, and why

byted-viking-cli scanned grade D with 3 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 3d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

curl -fsSL https://viking-skills.tos-cn-beijing.volces.com/viking-cli/install.sh | sudo bash -s -- --prefix /usr/local

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://viking-skills.tos-cn-beijing.volces.com/viking-cli/install.sh | bash

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://viking-skills.tos-cn-beijing.volces.com/viking-cli/install.sh | bash
skills/byted-viking-cli/SKILL.md · 363 lines

How it starts

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

目标

把用户的需求转换为可直接执行的viking-cli命令并执行,如果覆盖不了则提示用户。 viking-cli 在用户安装后位于系统 PATH 中,直接执行 viking-cli

触发与决策

  • 按用户目标选择产品:
    • 向量库管理、索引管理、向量数据增删改查、id/关键词检索走 vikingdb
    • 知识库管理、文档管理、知识库检索、知识服务问答走 knowledge
    • 记忆库管理、会话记忆写入、用户记忆检索走 memory
  • 如果用户没有明确产品 但提到“知识库(Knowledge)/记忆库(Memory)/向量库(VikingDB)”,先根据目标选择最接近的命令分支。

安装 CLI

用户可用一条命令完成安装(免下载脚本):

curl -fsSL https://viking-skills.tos-cn-beijing.volces.com/viking-cli/install.sh | bash

如需安装到系统目录(可能需要权限):

curl -fsSL https://viking-skills.tos-cn-beijing.volces.com/viking-cli/install.sh | sudo bash -s -- --prefix /usr/local

安装完成后验证:

viking-cli version

工作原则

  • 涉及复杂 JSON、中文、嵌套数组时,优先推荐文件输入方式;如果当前命令不支持文件输入,再给命令行 JSON 示例。
  • 如果用户没有指定collection,则可省略 --collection 的参数,默认使用配置文件中的 collection 。
  • 如果用户需求超出当前 CLI 能力边界,要明确说“当前 CLI 未实现该子命令”。

命令树

  • viking-cli version
  • viking-cli auth
  • viking-cli vikingdb
    • setup
    • collection {create|get|list|update|delete}
    • index {create|get|list|update|delete|enable|disable}
    • upsert
    • fetch
    • delete
    • search-by-id
    • search-by-keywords
  • viking-cli memory
    • setup
    • collection {create|get|list|update|delete}
    • add-session
    • search
  • viking-cli knowledge
    • open
    • setup
    • collection {create|get|list|delete}
    • add-doc
    • add-file
    • add-dir
    • get-doc
    • list-docs
    • update-doc
    • delete-doc
    • search-collection
    • search-knowledge
    • list-services
    • service-chat

全局配置

CLI 通过 viking-cli auth 交互式写入 ~/.viking/config,后续命令默认从配置文件读取 AK / SK / Region / Project, 如无特殊情况,命令行无需指定--region和--project参数。 用户执行过对应产品的 setup,创建的collection name会写入配置文件,后续很多数据面命令可以不再显式传 --collection

交互式配置(推荐)

viking-cli auth

执行后,根据提示依次输入:

  • AccessKey (AK)
  • SecretKey (SK)
  • Cloud (volcenginebyteplusbytecloud,默认 volcengine;)
  • Region (如 cn-beijing)
  • Project (如 default)

全局 Flags(命令行参数)

当前实际支持的全局 flags:

  • --cloud:云环境,volcenginebyteplusbytecloud
  • --region:Region(用于推导默认 endpoint)
  • --project:默认 project
  • --format:输出格式,jsontext
  • --timeout:请求超时,例如 120s

Read the full file on GitHub · 363 lines

Files

What ships with it

1 file 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. 3d ago First seen · 363 lines · 137 tokens per session scan D 45867c3d338a

Subscribe to this mod's changes

byted-viking-cli is a skill published in the GitHub repository bytedance/agentkit-samples (449 stars, last pushed 3d ago), licensed Apache-2.0. It adds 137 tokens to every session and 4,095 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it D with 3 findings (asks for root, downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

memmachine-memory

Use when an agent or model needs durable project, user, or session context from MemMachine, needs to save information to MemMachine memory, has requests involving mem-cli, memmachine, or memmachineclient, has insufficient conversation context, or is tempted to search local files for prior context that should come from…

MemMachine/MemMachine · 96 tokens

browserwing-admin

Manage and operate BrowserWing — an intelligent browser automation platform. Install dependencies, configure LLM, create/manage/execute automation scripts, use AI-driven exploration to generate scripts, browse the script marketplace, and troubleshoot issues.

MemTensor/MemOS · 47 tokens

wegent-knowledge

Knowledge base management and search tools for Wegent. Provides capabilities to list, create, update, and search knowledge bases and documents using RAG retrieval. Use this skill when the user wants to manage knowledge bases, documents, or search for information programmatically.

wecode-ai/Wegent · 51 tokens

code-runner

Execute Python code snippets in a sandboxed environment. Supports data analysis, visualization, and quick scripts.

fuyuxiang/echo-agent · 24 tokens

weknora-shared

Use when driving a WeKnora RAG server through the weknora CLI as an agent — authenticating, managing knowledge bases / documents / sessions / agents, running search or chat, or interpreting the CLI's JSON envelopes and exit codes. Read this before any other weknora- skill.

Tencent/WeKnora · 68 tokens

weknora-rag-search

Use when retrieving from or asking questions against a WeKnora knowledge base via the weknora CLI — and especially when unsure whether to use chat, session ask, or search chunks for a given goal.

Tencent/WeKnora · 54 tokens