Skip to content
AI & Agents
Skill

/volcengine-sdk-generator

Generate complete, runnable Volcengine SDK code and provide SDK configuration guidance. Supports Go, Python, PHP, Java, and Node.js. Trigger this skill whenever the user wants to call a Volcengine API, generate Volcengine SDK code, or describes a cloud operation on Volcengine

From plugin
agentkit-samples
488161 skills

Claude Code

$ npx -y skills add bytedance/agentkit-samples --skill volcengine-sdk-generator --agent claude-code

SKILL.md

volcengine-sdk-generator.SKILL.md
name: volcengine-sdk-generator
description: >
  Generate complete, runnable Volcengine SDK code and provide SDK configuration guidance.
  Supports Go, Python, PHP, Java, and Node.js. Trigger this skill whenever the user wants to call
  a Volcengine API, generate Volcengine SDK code, or describes a cloud operation on Volcengine
  (e.g., "list ECS instances", "create a VPC on Volcengine", "query Volcengine billing with Python").
  Also trigger when the user asks about Volcengine SDK configuration and best practices — including
  retry, timeout, authentication (AK/SK, STS, AssumeRole), proxy, connection pooling, SSL, debug mode,
  and error handling (e.g., "how to configure retry for Volcengine Go SDK", "volcengine python sdk
  proxy setup"). Trigger when the user mentions Volcengine service names such as ECS, VPC, CDN, CLB,
  RDS, Redis, Kafka, billing, IAM, DNS with code generation or SDK usage intent.
  When the user only needs API specification queries (parameters, error codes, response structures),
  hand off to the volcengine-api skill. When the user needs CLI-based operations, hand off to
  the volcengine-cli skill. Supports both Chinese and English prompts.

Volcengine SDK Code Generator

Generate complete, runnable Volcengine SDK code from natural-language descriptions, and answer SDK configuration questions.

Workflow

When a user describes a Volcengine API operation, follow these steps:

Step 1: Identify Target Service, Operation, and Advanced Configuration Needs

Parse the user's description to determine:

  • **Target service**: which Volcengine service (e.g., ECS, VPC, TOS, billing)
  • **Target operation**: what operation to perform (e.g., list instances, create a VPC, query billing)
  • **Target language**: which programming language (Go, Python, PHP, Java, Node.js). If not specified, ask the user.
  • **Advanced configuration needs**: whether the user mentions or the scenario implies any of the following:
  • **Retry**: user mentions "retry", "fault tolerance", or the operation is a write/create type (prone to throttling)
  • **Timeout**: user mentions "timeout", or the operation involves large data volumes (batch queries, file uploads)
  • **Credentials**: user mentions "STS", "AssumeRole", "temporary credentials", "OIDC", or explicitly wants to avoid hardcoding AK/SK
  • **Proxy/network**: user mentions "proxy" or "internal network"
  • **Debug mode**: user mentions "debug" or "logging"
  • **Connection pooling**: user mentions "connection pool", "high concurrency", or "pool"

If the user explicitly requests these, include the corresponding configuration in the generated code. If not explicitly requested but implied by the scenario (e.g., resource creation naturally warrants retry), include suggested configuration as comments.

Step 2: Query Service Metadata via Volcengine API Explorer

Use the following APIs to find the correct service code, version, and action name. This step is critical because guessing often produces incorrect code — the API Explorer is the authoritative source.

**2a. Find the ServiceCode**

Fetch the service catalog:

GET https://api.volcengine.com/api/common/explorer/services

Response structure:

{
  "Result": {
    "Categories": [
      {
        "CategoryName": "...",
        "Services": [
          {
            "ServiceCn": "Cloud Server",
            "ServiceCode": "ecs",
            "Product": "ECS",
            "IsSdkAvailable": true,
            "RegionType": "regional"
          }
        ]
      }
    ]
  }
}

Match the user's intent to the correct `ServiceCode` based on `ServiceCn`, `Product`, and category name.

**2b. Find the API version**

GET https://api.volcengine.com/api/common/explorer/versions?ServiceCode={ServiceCode}

Response:

{
  "Result": {
    "Versions": [
      {
        "ServiceCode": "billing",
        "Version": "2022-01-01",
        "IsDefault": 0
      }
    ]
  }
}

Use the version with `IsDefault == 1`. If no default version exists, use the latest available.

**2c. Find the Action name**

GET https://api.volcengine.com/api/common/explorer/apis?ServiceCode={ServiceCode}&Version={Version}&APIVersion={Version}

Response:

{
  "Result": {
    "Groups": [
      {
        "Name": "Instance",
        "Apis": [
          {
            "Action": "DescribeInstances",
            "NameCn": "Query instance list",
            "Description": "..."
          }
        ]
      }
    ]
  }
}

Match user intent using the `Action` name and `NameCn` (Chinese name).

**2c-alt: Search API (when direct lookup fails)**

If the service catalog or API list cannot clearly match the user's description — for example, the user uses vague terms, Chinese names that don't map directly to a ServiceCode, or the API list doesn't seem to contain what the user wants — use the search API as a fallback:

GET https://api.volcengine.com/api/common/search/all?Query={URL-encoded search term}&Channel=api&Limit=10

Search terms can be Chinese or English — use whichever best matches the user's description.

Response structure:

{
  "Result": {
    "List": [
      {
        "BizInfo": {
          "Action": "ListProjects",
          "ServiceCn": "Access Control",
          "ServiceCode": "iam",
          "Version": "2021-08-01"
        },
        "Highlight": [
          {"Field": "title", "Summary": "Get <em>project</em> <em>list</em>"}
        ]
      }
    ],
    "Total": 200
  }
}

Select the best match based on `ServiceCn`, `Action`, and highlight text, then continue to step 2d.

The search API is particularly useful when:

  • The user describes the operation in natural language but doesn't know which service owns it
  • A service has too many APIs to browse manually
  • The description spans multiple services (search returns results across all services)

**2d. Get full API parameter details**

GET https://api.volcengine.com/api/common/explorer/api-swagger?ServiceCode={Service
Read more
@bytedance
Ships withagentkit-samples

欢迎来到 AgentKit 代码工坊(Samples)仓库! AgentKit 是火山引擎推出的企业级 AI Agent 开发平台,为开发者提供完整的 Agent 构建、部署和运维解决方案。平台通过标准化的开发工具链和云原生基础设施,显著降低复杂智能体应用的开发部署门槛。 本代码库包含了一系列示例和教程,帮助您理解、实现和集成 AgentKit 的各项功能到您的应用中。

Stars on GitHub

Momentum

stars in total
488
Star history of bytedance/agentkit-samples on GitHub, a chart by star-history.com

Other skills on agentkit-samples.

image-video-gen

image-video-gen

根据文字描述生成视频,一个生成图片和视频的工作流技能。依赖 skills: byted-web-search, image-generate, video-generate。注意:此 workflow 没有执行脚本,只是一个描述性的文档。

veadk-go-skills

veadk-go-skills

根据用户的功能需求,完成与 VeADK-Go 相关的功能; 包括:直接根据需求生成 Agent;将Enio Agent转换为VeADK-Go Agent。

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw2w393k
@openclaw@openclawInstall Skill

Questions about volcengine-sdk-generator.

Which coding agents can use volcengine-sdk-generator?
volcengine-sdk-generator installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.