byted-volcengine-vmp

byted-volcengine-vmp is a skill for Claude Code, Codex from bytedance/agentkit-samples. It costs 38 tokens per session (1,281 once invoked), scanned A, original, Apache-2.0.

A tool for querying Volcengine’s managed Prometheus service, which stores monitoring measurements such as CPU usage. It can list monitoring workspaces and run PromQL queries for current or historical metric data.

In plain words
What is it for?
Use it to list workspaces, query metrics over a point in time or a range, and find available metric names and labels.
Why use it?
It avoids manually accessing the monitoring service when checking infrastructure measurements or investigating system behavior.

Skill for Claude CodeCodex ✓ vendor

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to list workspaces, query metrics over a point in time…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bytedance/agentkit-samples/byted-volcengine-vmp
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-volcengine-vmp
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-volcengine-vmp

README.md
[![agentmods](https://agentmods.dev/badge/skills/bytedance/agentkit-samples/byted-volcengine-vmp.svg)](https://agentmods.dev/skills/bytedance/agentkit-samples/byted-volcengine-vmp)
Your own site
<a href="https://agentmods.dev/skills/bytedance/agentkit-samples/byted-volcengine-vmp"><img src="https://agentmods.dev/badge/skills/bytedance/agentkit-samples/byted-volcengine-vmp.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,281 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00038 $0.01281
Opus 5 $0.00019 $0.00641
Sonnet 5 $0.00008 $0.00256
Haiku 4.5 $0.00004 $0.00128

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

Security

Grade A, and why

byted-volcengine-vmp 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 3d ago.

The scan reads SKILL.md. This mod also ships 13 executable files (scripts/__init__.py, scripts/_bootstrap.py, scripts/cli_common.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/byted-volcengine-vmp/SKILL.md · 198 lines

How it starts

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

火山引擎托管 Prometheus (VMP) 管理 Skill

这个 Skill 用于查询和管理火山引擎的托管 Prometheus (VMP) 工作区,以及查询 Prometheus 指标数据。

何时使用此 Skill

当用户要求:

  • 查询 VMP 工作区列表
  • 查看工作区详细信息
  • 查询 Prometheus 指标数据(PromQL 查询)
  • 查询指标名称和标签

前置要求

需要安装火山引擎 Python SDK

pip install --upgrade "volcengine-python-sdk>=5.0.21"

认证配置

推荐在 ~/.openclaw/workspace/.env 中配置:

VOLCENGINE_AK=your_access_key
VOLCENGINE_SK=your_secret_key
VOLCENGINE_REGION=cn-beijing

也可以通过环境变量设置:

export VOLCENGINE_AK=your_access_key
export VOLCENGINE_SK=your_secret_key
export VOLCENGINE_REGION=cn-beijing

认证读取优先级如下:

  1. 进程环境变量
  2. --env-path 指定的 .env
  3. 默认 .env~/.openclaw/workspace/.env

支持的主要功能

1. 工作区管理

  • 查询工作区列表

2. Metrics 查询(新增)

  • 即时查询 - 使用 PromQL 查询单个时间点的指标
  • 范围查询 - 使用 PromQL 查询时间范围的指标
  • 查询指标名称 - 查询工作区中的所有指标名称
  • 查询指标标签 - 查询指定指标的所有标签

💡 提示: 常用的火山方舟 PromQL 告警查询可参考 references/README.md 文件,里面包含 15 个常用的监控告警查询语句!

使用示例

查询 VMP 工作区列表

python /root/.openclaw/workspace/skills/byted-volcengine-vmp/scripts/list_workspaces.py

即时查询 Metrics(PromQL)

# 查询当前时间的 CPU 使用率
python /root/.openclaw/workspace/skills/byted-volcengine-vmp/scripts/query_metrics.py \
  --workspace-id <workspace-id> \
  --query "sum(rate(container_cpu_usage_seconds_total[5m]))"

范围查询 Metrics(时间范围)

# 查询最近 1 小时的 CPU 使用率
python /root/.openclaw/workspace/skills/byted-volcengine-vmp/scripts/query_range_metrics.py \
  --workspace-id <workspace-id> \
  --query "sum(rate(container_cpu_usage_seconds_total[5m]))" \
  --start "2026-04-06T20:00:00+08:00" \
  --end "2026-04-06T21:00:00+08:00"

查询指标名称列表

# 查询工作区中的所有指标名称
python /root/.openclaw/workspace/skills/byted-volcengine-vmp/scripts/get_metric_names.py \
  --workspace-id <workspace-id>

# 带匹配条件查询
python /root/.openclaw/workspace/skills/byted-volcengine-vmp/scripts/get_metric_names.py \
  --workspace-id <workspace-id> \
  --match '{job=~"kubelet"}'

查询指标标签列表

# 查询指定指标的所有标签
python /root/.openclaw/workspace/skills/byted-volcengine-vmp/scripts/get_metric_labels.py \
  --workspace-id <workspace-id> \
  --metric-name up

Read the full file on GitHub · 198 lines

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 · 198 lines · 38 tokens per session scan A e2c1208f511b

Subscribe to this mod's changes

byted-volcengine-vmp is a skill published in the GitHub repository bytedance/agentkit-samples (449 stars, last pushed 2d ago), licensed Apache-2.0. It adds 38 tokens to every session and 1,281 once invoked, about $0.0002 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-09-03.