Token导航 LogoToken导航

Agent Skill · 研究检索

volcengine-sdk-generator(volcengine SDK 生成器)

volcengine-sdk-generator 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

volcengine-sdk-generator 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 17,236。

总安装 6,724周安装 283GitHub Stars 2下载 2,355核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.3

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:volcengine-sdk-generator(volcengine SDK 生成器)
来源仓库:https://github.com/volc-sdk-team/volcengine-sdk-generator
安装命令:
openclaw skills install volcengine-sdk-generator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install volcengine-sdk-generator

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

一键生成多语言版本的完整火山引擎SDK代码并提供配置指南。目前支持Go、Python、Java等主流编程语言的开发者友好输出格式。自动包含依赖声明、示例用法及常见问题排查指引文档片段。生成的代码可直接编译运行,大幅降低第三方库对接的学习成本。在OpenClaw中输入所需SDK类型即可触发代码生成流程获得工程模板。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install volcengine-sdk-generator;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

volcengine-sdk-generator 怎么安装?

在终端执行 openclaw skills install volcengine-sdk-generator。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

volcengine-sdk-generator 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

volcengine-sdk-generator 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

volcengine-sdk-generator 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

volcengine-sdk-generator 用的人多吗?

公开数据是累计安装 6,724 次,近一周安装 283 次,下载 2,355 次,GitHub 2 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

volcengine-sdk-generator 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
volcengine-sdk-generator

volcengine SDK 生成器 · 本页

6,7242需要联网MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
volcengine-sdk-generator
description
>

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={ServiceCode}&Version={Version}&APIVersion={Version}&ActionName={Action}

Returns the full Swagger/OpenAPI specification, including:

  • HTTP method (GET/POST)
  • All request parameters with types, required flags, and descriptions
  • Response structure
  • Constraints and validation rules
  • x-demo field: contains requestDemo and responseDemo with official examples

Read this specification carefully — it is essential for generating accurate code.

2e. Extract parameter example values (from x-demo requestDemo)

The info.x-demo array in the Swagger response contains requestDemo — official request examples. Extract realistic parameter values from these to populate generated code.

Extraction process:

  1. Locate info.x-demo[0].requestDemo and parse the request body JSON
  2. Use requestDemo values as example values in generated code — they are more accurate and realistic than invented values
  3. For masked values (e.g., cc5silum********), keep the masked format and add a comment prompting the user to replace with real values
  4. If a parameter value is a JSON string (e.g., a Config field), format it clearly and comment each sub-field

Example: for VKE CreateAddon, requestDemo contains:

{
    "ClusterId": "cc5silum********",
    "Name": "ingress-nginx",
    "DeployMode": "Unmanaged",
    "DeployNodeType": ["VirtualNode"],
    "Config": "{\"Replica\":1,\"Resource\":{\"Request\":{\"Cpu\":\"0.25\",\"Memory\":\"512Mi\"},\"Limit\":{\"Cpu\":\"0.5\",\"Memory\":\"1024Mi\"}},\"PrivateNetwork\":{\"SubnetId\":\"subnet-2d61qn69iji****\",\"IpVersion\":\"IPV4\"}}"
}

Use these example values directly instead of empty placeholders.

2f. Retrieve detailed configuration for complex parameters

Some parameter description fields contain documentation links (e.g., https://www.volcengine.com/docs/...) pointing to detailed configuration guides. For complex parameters, fetch these links for more information:

When to consult documentation:

  • The parameter value is a JSON string with a "see detailed configuration" reference in the description (e.g., VKE Config)
  • The parameter is a nested structure whose sub-field format is documented externally
  • The enum values have unclear meanings that are explained in the documentation

Processing flow:

  1. Check whether the parameter description contains a volcengine.com/docs link
  2. If so, use WebFetch to retrieve the linked page and extract configuration details relevant to the parameter
  3. Incorporate documentation examples into the generated code as comments or structured parameters
  4. If the documentation is inaccessible, fall back to requestDemo example values

2g. Determine required and recommended parameters

Required-field detection relies on multiple sources, not just the required array:

  1. Explicitly required: listed in the Swagger required array
  2. Implied by description: the description contains phrases like "must specify", "required", or equivalent
  3. Logically required: semantically essential even if not formally marked (e.g., instance type and network config when creating resources)
  4. Conditionally required: the description states "required when X=Y" — if the user's scenario matches, include it

Parameter value priority:

  1. requestDemo example values (highest priority): use the official examples directly
  2. example field: individual parameter example values from the Swagger spec
  3. enum values: pick the most common or general-purpose option
  4. Documentation recommendations: values extracted from linked docs
  5. Industry conventions: reasonable defaults following cloud-computing norms (e.g., 172.16.0.0/16 for CIDR, descriptive names for instances)

Step 3: Consult SDK Configuration References (as needed)

If Step 1 identified advanced configuration needs, read the corresponding reference file for the target language to get accurate configuration code:

LanguageReference File
Goreferences/sdk-integration-go.md
Pythonreferences/sdk-integration-python.md
Javareferences/sdk-integration-java.md
Node.jsreferences/sdk-integration-nodejs.md
PHPreferences/sdk-integration-php.md

These files contain verified code snippets for retry, timeout, credentials, proxy, connection pooling, and debug configuration. Use these patterns directly rather than writing from memory — SDK configuration varies significantly across languages, and the reference files ensure accuracy.

Step 4: Generate Complete SDK Code

Generate a complete, runnable code example following these rules:

General Rules (all languages)
  1. Authentication: read AK/SK from environment variables VOLCENGINE_ACCESS_KEY and VOLCENGINE_SECRET_KEY by default. If the user needs a different auth method (STS, AssumeRole, OIDC), use the corresponding pattern from the reference files. The exact reading mechanism varies by language — see each language section and the reference files.
  2. Region: default to cn-beijing for regional services. Add a comment noting that users can change this.
  3. Required parameters: include all required parameters (sources per step 2g), using realistic example values from requestDemo or example fields. Add a comment next to each value explaining its meaning and source.
  4. Parameter value quality: values must follow realistic formats and business semantics, not simple placeholders:

- Instance IDs: use masked format like i-abc123****** (from requestDemo) - CIDRs: use reasonable ranges like 172.16.0.0/16 - Enums: use the most common option - Nested JSON configs: expand into readable multi-line format with per-field comments

  1. Complex parameter handling: for parameters whose value is a JSON string (e.g., VKE Config), build a struct/dict first and then serialize to JSON, rather than hardcoding a long string. This makes the code more readable and easier to modify.
  2. Optional parameters: include commonly-used optional parameters (e.g., pagination) as commented-out lines with explanations.
  3. Error handling: include standard error handling for the target language.
  4. Output: print the response in a readable format (e.g., formatted JSON).
  5. Comments: add a header comment describing the code's purpose. Add inline comments for non-obvious parameters. Match comment language to the user's prompt language.
  6. Advanced configuration integration: when the user has advanced config needs, weave the configuration naturally into the main code (not as a separate block), producing a single runnable file:

- Retry: add retry settings during client/config initialization, with comments explaining defaults and tunable parameters - Timeout: set global timeout during client initialization; show per-request timeout usage if needed - Credentials: replace the default AK/SK auth code with the user-specified method (STS, AssumeRole, etc.) - Proxy: add proxy settings in client configuration - Debug: enable debug mode in client configuration - Connection pooling: set pool parameters in client configuration

Go

The Go SDK uses {Action}Input structs (not Request). Services are instantiated via {service}.New(sess).

package main

import (
    "fmt"
    "os"
    "github.com/volcengine/volcengine-go-sdk/service/{service}"
    "github.com/volcengine/volcengine-go-sdk/volcengine"
    "github.com/volcengine/volcengine-go-sdk/volcengine/credentials"
    "github.com/volcengine/volcengine-go-sdk/volcengine/session"
)

func main() {
    ak := os.Getenv("VOLCENGINE_ACCESS_KEY")
    sk := os.Getenv("VOLCENGINE_SECRET_KEY")
    region := "cn-beijing"

    config := volcengine.NewConfig().
        WithRegion(region).
        WithCredentials(credentials.NewStaticCredentials(ak, sk, ""))

    // [Advanced config — add as needed, see references/sdk-integration-go.md]
    // Retry: config.WithMaxRetries(5)
    // Timeout: config.WithHTTPClient(&http.Client{Timeout: 60 * time.Second})
    // Proxy: config.WithHTTPProxy("http://proxy:8080")
    // Debug: config.WithDebug(true)

    sess, err := session.NewSession(config)
    if err != nil {
        panic(err)
    }
    svc := {service}.New(sess)

    input := &{service}.{Action}Input{
        // Set required parameters here
    }
    resp, err := svc.{Action}(input)
    if err != nil {
        panic(err)
    }
    fmt.Println(resp)
}

Key points:

  • Package path: github.com/volcengine/volcengine-go-sdk/service/{service} (lowercase, e.g., billing, ecs, vpc)
  • Config chain: volcengine.NewConfig().WithRegion(region).WithCredentials(credentials.NewStaticCredentials(ak, sk, ""))
  • Session: session.NewSession(config) (returns session and error)
  • Service client: {service}.New(sess) (e.g., billing.New(sess), ecs.New(sess))
  • Request struct: {Action}Input (e.g., ListAvailableInstancesInput, DescribeInstancesInput)
  • Method: svc.{Action}(input), PascalCase action name
Python

The Python SDK uses {SERVICE}Api (uppercase service name) and {Action}Request models.

from __future__ import print_function
import os
import volcenginesdkcore
import volcenginesdk{service}
from volcenginesdkcore.rest import ApiException

if __name__ == '__main__':
    configuration = volcenginesdkcore.Configuration()
    configuration.ak = os.environ.get("VOLCENGINE_ACCESS_KEY")
    configuration.sk = os.environ.get("VOLCENGINE_SECRET_KEY")
    configuration.region = "cn-beijing"

    # [Advanced config — add as needed, see references/sdk-integration-python.md]
    # Retry: configuration.max_retry_attempts = 5
    # Timeout: configuration.connection_timeout = 10; configuration.read_timeout = 60
    # Proxy: configuration.proxy = "http://proxy:8080"
    # Debug: configuration.debug = True

    volcenginesdkcore.Configuration.set_default(configuration)

    api_instance = volcenginesdk{service}.{SERVICE}Api()
    request = volcenginesdk{service}.{Action}Request(
        # Set required parameters here
    )

    try:
        resp = api_instance.{action_snake_case}(request)
        print(resp)
    except ApiException as e:
        print("API exception: %s\
" % e)

Key points:

  • Package: volcenginesdkcore + volcenginesdk{service} (all lowercase, no separators, e.g., volcenginesdkbilling, volcenginesdkecs)
  • Config: volcenginesdkcore.Configuration(), set .ak, .sk, .region, then set_default()
  • API class: volcenginesdk{service}.{SERVICE}Api() — service name ALL CAPS (e.g., BILLINGApi, ECSApi, VPCApi)
  • Request class: volcenginesdk{service}.{Action}Request(...) (PascalCase, e.g., ListAvailableInstancesRequest)
  • Method: api_instance.{action_snake_case}(request) — snake_case (e.g., list_available_instances, describe_instances)
  • Exception: from volcenginesdkcore.rest import ApiException
Java

The Java SDK uses {ServiceName}Api and {Action}Request models under com.volcengine.{service}.

package com.volcengine.sample;

import com.volcengine.ApiClient;
import com.volcengine.ApiException;
import com.volcengine.sign.Credentials;
import com.volcengine.{service}.{ServiceName}Api;
import com.volcengine.{service}.model.*;

public class Example {
    public static void main(String[] args) throws Exception {
        String ak = System.getenv("VOLCENGINE_ACCESS_KEY");
        String sk = System.getenv("VOLCENGINE_SECRET_KEY");
        String region = "cn-beijing";

        ApiClient apiClient = new ApiClient()
                .setCredentials(Credentials.getCredentials(ak, sk))
                .setRegion(region);

        // [Advanced config — add as needed, see references/sdk-integration-java.md]
        // Retry: apiClient.setRetrySettings(new RetrySettings().setMaxAttempts(5));
        // Timeout: apiClient.setConnectionTimeout(5000); apiClient.setReadTimeout(30000);
        // Proxy: apiClient.setHttpProxy("http://proxy:8080");
        // Debug: apiClient.setDebugging(true);

        {ServiceName}Api api = new {ServiceName}Api(apiClient);

        {Action}Request request = new {Action}Request();
        // request.setParamName(value);

        try {
            {Action}Response resp = api.{actionCamelCase}(request);
            System.out.println(resp);
        } catch (ApiException e) {
            System.out.println(e.getResponseBody());
        }
    }
}

Key points:

  • Package: com.volcengine.{service} (lowercase, e.g., com.volcengine.billing, com.volcengine.ecs)
  • ApiClient: new ApiClient().setCredentials(Credentials.getCredentials(ak, sk)).setRegion(region)
  • API class: {ServiceName}Api (PascalCase, e.g., BillingApi, EcsApi) — constructor takes apiClient
  • Request class: {Action}Request (e.g., ListAvailableInstancesRequest) — set params via setters
  • Method: api.{actionCamelCase}(request) — camelCase (e.g., listAvailableInstances, describeInstances)
  • Exception: ApiException, use e.getResponseBody() for details
Node.js

The Node.js SDK uses a command pattern: {SERVICE}Client + {Action}Command.

import { {SERVICE}Client, {Action}Command } from "@volcengine/{service}";

// Automatically reads VOLCENGINE_ACCESS_KEY and VOLCENGINE_SECRET_KEY from env
const client = new {SERVICE}Client({
    region: "cn-beijing",
    // [Advanced config — add as needed, see references/sdk-integration-nodejs.md]
    // maxRetries: 5,                          // retry count
    // autoRetry: false,                       // disable auto-retry
    // httpOptions: { timeout: 30000 },        // timeout (ms)
    // httpOptions: { proxy: { protocol: "http", host: "127.0.0.1", port: 8888 } },  // proxy
});

async function main() {
    try {
        const command = new {Action}Command({
            // Set required parameters here
        });
        const response = await client.send(command);
        console.log(JSON.stringify(response, null, 2));
    } catch (error) {
        console.error("Error:", error);
    }
}

main();

Key points:

  • Package: @volcengine/{service} (lowercase, e.g., @volcengine/ecs, @volcengine/vpc)
  • Client: {SERVICE}Client (ALL CAPS service name, e.g., ECSClient, VPCClient)
  • Command: {Action}Command (PascalCase, e.g., DescribeInstancesCommand, CreateVpcCommand)
  • Invocation: client.send(command) — async, returns a Promise
  • Auth: automatically reads VOLCENGINE_ACCESS_KEY and VOLCENGINE_SECRET_KEY from env; can also pass accessKeyId/secretAccessKey in the client constructor
PHP

The PHP SDK uses classes under the \Volcengine\{Service}\ namespace.

<?php
require_once(__DIR__ . '/vendor/autoload.php');

$config = \Volcengine\Common\Configuration::getDefaultConfiguration()
    ->setAk(getenv("VOLCENGINE_ACCESS_KEY"))
    ->setSk(getenv("VOLCENGINE_SECRET_KEY"))
    ->setRegion("cn-beijing");

// [Advanced config — add as needed, see references/sdk-integration-php.md]
// Proxy and timeout are configured via GuzzleHttp\Client options
$httpClient = new GuzzleHttp\Client([
    // 'proxy' => 'http://proxy:8080',              // proxy
    // 'timeout' => 60,                              // request timeout (seconds)
    // 'connect_timeout' => 10,                      // connection timeout (seconds)
]);

$apiInstance = new \Volcengine\{Service}\Api\{SERVICE}Api(
    $httpClient,
    $config
);

$request = new \Volcengine\{Service}\Model\{Action}Request();
// $request->setParamName("value");

try {
    $resp = $apiInstance->{actionCamelCase}($request);
    print_r($resp);
} catch (Exception $e) {
    echo 'API exception: ', $e->getMessage(), PHP_EOL;
}

Key points:

  • Config: \Volcengine\Common\Configuration::getDefaultConfiguration()->setAk()->setSk()->setRegion()
  • API class: \Volcengine\{Service}\Api\{SERVICE}Api — namespace uses PascalCase Service (e.g., Billing), class name uses ALL CAPS (e.g., BILLINGApi)
  • Constructor: takes GuzzleHttp\Client() and $config
  • Request class: \Volcengine\{Service}\Model\{Action}Request (e.g., \Volcengine\Billing\Model\ListAvailableInstancesRequest)
  • Set params via setters: $request->setProduct("value")
  • Method: $apiInstance->{actionCamelCase}($request) (e.g., listAvailableInstances)

Step 5: Present Results

After generating code:

  1. Display the complete code in a code block with the correct language tag
  2. List the dependencies the user needs to install (go get, pip install, npm install, composer require, Maven/Gradle coordinates)
  3. Remind the user to set environment variables:
   export VOLCENGINE_ACCESS_KEY="your-access-key"
   export VOLCENGINE_SECRET_KEY="your-secret-key"
  1. Note important constraints from the API spec (rate limits, required permissions, data range limits, etc.)
  2. If the code includes advanced configuration, briefly explain each setting's purpose, defaults, and tuning advice. For example:

- "Retry defaults to 3 attempts, covers network errors and throttling — adjust via WithMaxRetries" - "Connection timeout defaults to 30s; consider increasing for large batch queries"

Answering SDK Configuration Questions

When the user asks how to configure or use the Volcengine SDK (rather than generate API call code), follow this approach:

Step 1: Identify the User's Need

Common configuration topics:

  • Authentication: AK/SK, STS Token, AssumeRole, OIDC, SAML
  • Retry: enable/disable, max attempts, backoff strategy, custom retry conditions
  • Timeout: connection timeout, read timeout, per-request timeout
  • Proxy: HTTP/HTTPS proxy configuration
  • Endpoint: custom endpoint, region-based resolution, dual-stack (IPv6)
  • SSL/HTTPS: disable SSL verification, TLS version, HTTP vs. HTTPS
  • Connection pooling: pool size, keep-alive, idle connections
  • Debug: debug mode, logging, middleware
  • Error handling: exception types, retryable vs. non-retryable errors
  • Environment variables: supported env vars per SDK

Step 2: Consult the Reference Documentation

Read the reference file for the user's target language:

LanguageReference File
Goreferences/sdk-integration-go.md
Pythonreferences/sdk-integration-python.md
Javareferences/sdk-integration-java.md
Node.jsreferences/sdk-integration-nodejs.md
PHPreferences/sdk-integration-php.md

These files contain concise code examples for each major configuration topic. Read the relevant file and answer with accurate, copy-paste-ready code.

If the user's question is not covered in the reference file or requires more detail, fetch the full upstream documentation from GitHub:

LanguageUpstream Documentation URL
Gohttps://raw.githubusercontent.com/volcengine/volcengine-go-sdk/master/SDK_Integration.md
Pythonhttps://raw.githubusercontent.com/volcengine/volcengine-python-sdk/master/SDK_Integration.md
Javahttps://raw.githubusercontent.com/volcengine/volcengine-java-sdk/master/SDK_Integration.md
Node.jshttps://raw.githubusercontent.com/volcengine/volcengine-nodejs-sdk/master/SDK_Integration.md
PHPhttps://raw.githubusercontent.com/volcengine/volcengine-php-sdk/main/SDK_Integration.md

Step 3: Provide a Clear Answer

  • Show complete, runnable code snippets demonstrating the configuration
  • Explain each setting's purpose and default value
  • Mention caveats (e.g., "disabling SSL verification is only appropriate in test environments")
  • If the user has not specified a language, ask which one they are using
  • Match the answer language to the user's prompt language

Important Notes

  • Always fetch data from the API Explorer — Volcengine APIs are updated frequently, so the Explorer is the authoritative source. Do not rely on memory.
  • If the user's description is ambiguous (could map to multiple services or operations), list the options and ask for confirmation.
  • If a service has IsSdkAvailable: false, inform the user that the official SDK may not yet support this service, and provide a raw HTTP request example as an alternative.
  • For regional services, remind the user to change the region setting if their resources are not in cn-beijing.

平台分布

OpenClaw

79.53%
按下载量换算1,873

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills