Skip to content
Agentmart
Submit a tool

byted-volc-cdn-manage

通过火山引擎 CLI 管理 CDN 域名。支持新增域名和刷新预热, 使用时会先检查并安装 CLI(如需要)。

Skill by ByteDanceOfficial

IndexedMIT★ 473
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/bytedance-byted-volc-cdn-manage

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

通过火山引擎 CLI 管理 CDN 域名。支持新增域名和刷新预热, 使用时会先检查并安装 CLI(如需要)。

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Shell scripts

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/byted-volc-cdn-manage

What's inside

Skill name
byted-volc-cdn-manage
Description
通过火山引擎 CLI 管理 CDN 域名。支持新增域名和刷新预热, 使用时会先检查并安装 CLI(如需要)。
License
MIT
Compatibility
Requires Volcengine CLI >= 1.0.39, access to Volcengine API
Metadata
author: ByteDance · version: 2.0
Instructions
357 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (13)

  • SKILL.md
  • example-1-ip-source.sh · assets/examples/
  • ve · bin/
  • examples.md · references/
  • faq.md · references/
  • install-guide.md · references/
  • parameters.md · references/
  • add-cdn-domain.sh · scripts/
  • add-domain-quick.sh · scripts/
  • cdn-refresh-preload.sh · scripts/
  • recommend-config.sh · scripts/
  • submit-preload.sh · scripts/
  • submit-refresh.sh · scripts/

SKILL.md (first lines)

# 火山引擎 CLI CDN 管理助手

本 Skill 帮助您通过火山引擎 CLI 管理 CDN 加速域名,包括新增域名、刷新和预热。

---

## 📋 功能说明

本 Skill 提供以下功能:

### 1. 新增域名
- 交互式配置
- 支持多种业务类型(web/download/video)
- 自动应用推荐配置
- 支持中国内地和全球加速

### 2. 刷新预热
- **刷新任务**:清除 CDN 节点上的缓存内容(支持文件刷新和目录刷新)
- **预热任务**:主动将源站内容预热到 CDN 节点

---

## 📋 智能流程(新增域名)

本 Skill 会自动执行以下流程:

**第一阶段:环境检查**
1. **检查 CLI 是否已安装**
2. **如果未安装**:引导您安装并配置火山引擎 CLI
3. **如果已安装**:检查 CLI 版本(需 >= 1.0.39)

**第二阶段:需求收集**
1. **检查必填项**:加速域名、区域、源站信息、业务类型
2. **使用默认值**:
   - 区域默认:`chinese_mainland`(中国内地)
   - 项目默认:`default`
3. **推荐配置**:根据业务类型自动应用推荐配置规则:
   - **web(网页加速)**:缓存规则、智能压缩、页面优化
   - **download(下载加速)**:缓存规则、分片回源、缓存键、302跟随
   - **video(视频点播)**:缓存规则、分片回源、缓存键、302跟随、视频拖拽
4. **询问用户**:必填项找不到默认值时,引导用户输入

**第三阶段:添加域名**
1. 收集完整信息后,执行 `ve cdn AddCdnDomain` 命令
2. 展示执行结果和后续步骤

---

## 📋 刷新预热流程

**提交预热任务**:
1. 选择预热操作
2. 输入要预热的 URL 列表
3. 确认并提交任务

**提交刷新任务**:
1. 选择刷新操作
2. 选择刷新类型(文件/目录)
3. 输入要刷新的 URL 列表
4. 确认并提交任务

---

## 🚀 快速开始

### 前置条件

1. **火山引擎 CLI 版本 >= 1.0.39**(此版本及以上才支持 CDN 服务)
2. **已配置好 AK/SK 和 Region**

### 验证环境

```bash
# 检查 CLI 版本
ve version

# 查看当前配置
ve configure list
```

### 添加域名

#### 方式一:使用交互式脚本(推荐)

```bash
bash scripts/add-cdn-domain.sh
```

#### 方式二:使用快速脚本(命令行参数)

```bash
# 格式: bash scripts/add-domain-quick.sh <域名> <源站> [源站2] [源站3] [权重1] [权重2] [权重3] [业务类型] [服务区域]
# 业务类型: web / download / video
# 服务区域: chinese_mainland (默认) / global

# 示例:添加网页加速域名(中国内地)
bash scripts/add-domain-quick.sh www.example.com 1.1.1.1 "" "" 100 "" "" web chinese_mainland

# 示例:添加网页加速域名(全球)
bash scripts/add-domain-quick.sh www.example.com 1.1.1.1 "" "" 100 "" "" web global

# 示例:添加视频点播域名
bash scripts/add-domain-quick.sh video.example.com 1.1.1.1 "" "" 100 "" "" video
```

#### 方式三:直接使用命令(基础版)

```bash
BODY='{
  "Domain": "www.example.com",
  "Origin": [
    {
      "OriginAction": {
        "OriginLines": [
          {
            "Address": "1.1.1.1",
            "InstanceType": "ip",
            "OriginType": "primary"
          }

From bytedance/agentkit-samples, MIT.

More from bytedance/agentkit-samples

Signals

Stars
473
Forks
101
Open issues
14
Last commit (this folder)
May 18, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
2.0
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from ByteDance

Cite this page

byted-volc-cdn-manage skill. Agent Mart. https://agentmart.dev/skills/bytedance-byted-volc-cdn-manage (last updated 2026-10-24)