/volcengine-service-support:volcengine-apifrom volcengine-service-support
Queries Volcengine API Explorer for authoritative specs: parameters, error codes, request methods, enums, required fields, response structures, pagination, and API comparisons.
Ships in volcengine-service-support. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Answer user questions about Volcengine APIs by querying the API Explorer for authoritative, up-to-date information.
| Scenario | Example Questions |
|---|---|
| Find an API | "How do I list ECS instances?", "Is there a batch tag creation API?" |
| Query parameters | "What are the required params for RunInstances?", "What values does ChargeType accept?" |
| Response structure | "What fields does DescribeInstances return?", "What statuses can Status have?" |
| Parameter dependencies | "If I set Ipv6Isp, how should I fill Ipv6MaskLen?", "When is SpotPriceLimit required?" |
| Pagination | "How do I paginate instance queries?", "How does NextToken work?" |
| Error codes | "What does InvalidInstanceId.NotFound mean?", "CreateVpc returns QuotaExceeded" |
| Browse services | "Which APIs does ECS have?", "What operations does VPC support?" |
| API comparison | "What's the difference between DescribeInstances and DescribeInstancesByIds?" |
Determine what the user is looking for:
| Intent | Signal | Query Path |
|---|---|---|
| Find an API | Describes an operation but doesn't know the API name | Search (2e) or Services (2a) -> API list (2c) -> Details (2d) |
| Query parameters | Knows the API name, asks about params/enums/required fields | Go directly to Details (2d) |
| Query response | Asks about return fields or status values | Go directly to Details (2d), focus on response schema |
| Query parameter dependencies | Asks "when is X required?" or "how does X relate to Y?" | Go directly to Details (2d), focus on conditional rules in descriptions |
| Query error codes | Provides an error code or error message | Error code handling (Step 3) |
| Browse a service | Asks what capabilities a service offers | Services (2a) -> API list (2c) |
| Compare APIs | Asks about differences between two APIs | Query Details (2d) for each, compare params and functionality |
Start from the appropriate sub-step based on what is already known. When the user describes a requirement in natural language, Search (2e) is often faster than browsing level by level.
GET https://api.volcengine.com/api/common/explorer/services
Each service in the response contains:
ServiceCode: service identifier (e.g., ecs, vpc)ServiceCn: Chinese name (e.g., "cloud server", "virtual private cloud")Product: product identifier (e.g., ECS, VPC)RegionType: regional or globalMatch the most appropriate ServiceCode based on the user's description.
GET https://api.volcengine.com/api/common/explorer/versions?ServiceCode={ServiceCode}
Each version contains:
Version: version string (e.g., 2020-04-01)IsDefault: 1 indicates the default versionPrefer the version with IsDefault=1. If none is marked default, use the latest version.
GET https://api.volcengine.com/api/common/explorer/apis?ServiceCode={ServiceCode}&Version={Version}&APIVersion={Version}
The response groups APIs by category. Each API contains:
Action: API name (e.g., DescribeInstances)NameCn: Chinese name (e.g., "Query instance list")ApiGroup: group name (e.g., "Instance", "Image")Description: functional descriptionUsageScenario: usage scenariosAttentions: constraints and caveatsMatch user intent using Action, NameCn, and Description.
GET https://api.volcengine.com/api/common/explorer/api-swagger?ServiceCode={ServiceCode}&Version={Version}&APIVersion={Version}&ActionName={ActionName}
Returns the full Swagger/OpenAPI specification for the API. Extract key information as follows.
The key under paths["/{ActionName}"] (get or post) indicates the HTTP method.
Parameter location depends on the HTTP method:
GET requests: parameters are in paths["/{ActionName}"].get.parameters. Each parameter includes:
name: parameter namerequired: whether it is requiredschema.type: data typeschema.description: parameter description (often contains enum values, conditional rules, and value ranges)schema.enum: allowed values (if any)schema.default: default value (if any)schema.example: example value (if any)Arrays and nested objects in GET parameters use naming conventions:
ParamName.N (N starts from 1), e.g., InstanceIds.1, InstanceIds.2Parent.Child, e.g., TagFilters.N.Key, TagFilters.N.Values.NPOST requests: parameters are in paths["/{ActionName}"].post.requestBody.content["application/json"].schema, using JSON Schema:
properties: parameter definitions, keyed by namerequired: array of required parameter namesPOST parameters often have nested structures that require recursive parsing:
type: object -> inspect properties for child parameterstype: array -> inspect items for element structure$ref: "#/components/schemas/XxxObject" -> look up the definition in components.schemas and expand recursivelyPresent nested parameters in a tree structure:
- InstanceId (string, required): instance ID
- DatabasePrivileges (array, optional): database privilege list
- AccountName (string, required): account name
- AccountPrivilege (string, required): privilege type — enum: ReadWrite, ReadOnly, ...
- AccountPrivilegeDetail (string, optional): privilege detail, comma-separated
Many parameters have conditional dependencies, typically described in the description field. Watch for:
EnableIpv6 is true"Ipv6CidrBlock is specified, Ipv6MaskLen is ignored"Ipv6Isp is BGP, only 56 is supported"TagFilters.N.Values.N requires TagFilters.N.Key to be set first"Highlight these dependencies in the answer to help users avoid misconfiguration.
Volcengine APIs use two common pagination patterns, identifiable from the Swagger parameters:
MaxResults (page size) + NextToken (continuation token). The response includes NextToken; an empty value means the last page.PageSize + PageNumber (or Offset/Limit). The response includes TotalCount.Specify which pagination pattern the API uses, along with default values and upper limits.
The response schema is defined at paths["/{ActionName}"].{method}.responses["200"].content["application/json"].schema, and may reference components.schemas via $ref.
Key response information:
Status: RUNNING / STOPPED / CREATING)Instances array)The info.x-demo section also provides useful reference — responseDemo[0].Code shows the complete response structure with example values.
In the info.x-demo array:
requestDemo[0].Code: request example (shows how parameters are filled)responseDemo[0].Code: response example (shows the full return structure with sample values)These are official examples and highly valuable. Proactively include them in the answer.
In paths["/{ActionName}"].{method}.responses["x-error-code"].content["application/json"].schema.oneOf, each error code contains:
code: error code identifier (e.g., InvalidInstanceId.NotFound)http_code: HTTP status code (e.g., 400, 404, 409, 429, 500)message: English descriptiondescription: Chinese descriptionWhen the user describes a requirement in natural language, searching is often the fastest approach. This can be used alongside steps 2a–2c.
GET https://api.volcengine.com/api/common/search/all?Query={keyword}&Channel=api
Search terms can be in Chinese or English. If one keyword yields poor results, try synonyms, different granularity, or English Action-name style (e.g., "DescribeXxx").
Each result contains:
BizInfo.Action: API nameBizInfo.ServiceCode: service identifierBizInfo.ServiceCn: service Chinese nameBizInfo.Version: versionHighlight: matched highlight textAfter finding the target API, use step 2d to get full details.
Error code queries need special handling because the same error code (e.g., InvalidParameter) may appear across dozens of APIs with different meanings.
| Category | Common Patterns | Typical Cause |
|---|---|---|
| Parameter error | InvalidParameter, InvalidParameterValue, MissingParameter | Typo in parameter name, value outside enum range, missing required parameter |
| Resource not found | InvalidXxx.NotFound, ResourceNotFound | Wrong resource ID, resource in a different region, already deleted |
| Resource status | InvalidXxx.InvalidStatus, IncorrectInstanceStatus | Current resource state does not allow this operation (e.g., modifying config without stopping the instance) |
| Quota/limit | QuotaExceeded, LimitExceeded | Account quota or API rate limit exceeded |
| Permission denied | UnauthorizedOperation, Forbidden | IAM policy not authorized, sub-account lacks permissions |
| Throttling | Throttling, RequestLimitExceeded | API call rate too high — reduce request rate or use exponential backoff |
| Server error | InternalError, ServiceUnavailable | Temporary server-side issue, usually retryable |
| Resource conflict | ResourceInUse, DuplicateXxx, OperationConflict | Resource is in use or name already exists |
Query the API Swagger via step 2d and locate the error code in x-error-code. This is the most accurate approach because the same error code can have different meanings across APIs.
Combine the description (Chinese) and message (English) fields to provide:
InvalidParameter means entirely different things in RunInstances vs. CreateVpc.GET https://api.volcengine.com/api/common/search/all?Query={error_code}&Channel=error_code
Each result contains:
Type: error_codeBizInfo.ServiceCode: service identifierBizInfo.ServiceCn: service Chinese nameBizInfo.Version: versionURL: error code documentation linkHighlight: matched highlight textSince the same error code appears across multiple services, results may be numerous. Filter by any context the user has provided (service name, operation type, scenario).
Organize a clear, professional answer based on the question type. Core principle: center on the user's question — extract the information the user needs rather than dumping the entire Swagger.
ApiGroupvolcengine-sdk-generator skillvolcengine-cli skillWhat SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/volcengine-deployDeploy a local project directory or Git repository to Volcengine as a running, reachable cloud service. USE WHEN: deploy to Volcengine, deploy to 火山引擎/火山, deploy this repo/project, publish current code, launch the app, run it in the cloud, expose it as a service, deploy to ECS/VKE/veFaaS, run on ECS, push to VKE, deploy as serverless/FaaS, or the user wants the agent to choose a Volcengine hosting target. If the user only asks which Volcengine deployment target to choose, use `volcengine-prepare` skill first. Not for creating a single standalone resource — use `volcengine-cli` skill for that./volcengine-force-conference当用户询问火山引擎 FORCE 原动力大会时,提供会前、会中参会服务、会后参会总结,包括当前有效届次与论坛信息查询、个性化参会推荐、会场与展台指引、本人订阅/资格/门票查询、论坛订阅管理,以及开放后的参会总结查询。仅处理 FORCE 大会;非 FORCE 大会、购票付款和下单不在范围内。/volcengine-iacUse Terraform/IaC for Volcengine resources only when the user explicitly chooses Terraform/IaC, already has a Terraform workflow/state, or confirms they need plan/diff/drift/destroy safety for VKE, managed databases/cache/storage, load balancers, domains/certificates, logging/monitoring, or team-managed infrastructure./volcengine-prepareUse when the user wants to deploy a local directory or GitHub repository to Volcengine and needs the project analyzed, the app shape understood, and a ranked recommendation across ECS, VKE, and veFaaS before choosing an execution path. Also trigger when the user asks "what deploy mode should I use", "is this repo ready for Volcengine", or "check my repo before deploying". This skill prepares the decision; `volcengine-deploy` skill performs the chosen deployment, and `volcengine-iac` skill is used only when the user chooses Terraform/IaC or the task already has an IaC workflow./volcengine-saleUse when the user wants to transact on any Volcengine commercial product — purchase/provision it, ask what it costs, or unsubscribe from it. Covers three actions: buy (purchase, subscribe, provision, open, place an order; Chinese "开通 / 购买 / 下单 / 买 / 售卖 / 订购"), price (how much does it cost, quote, billing rules, estimated spend; Chinese "多少钱 / 价格 / 报价 / 费用 / 怎么收费 / 如何计费 / 预估费用"), and unsubscribe (cancel a subscription, refund a prepaid instance; Chinese "退订 / 退款 / 取消订阅"). Trigger even when the user does not mention "sale" but expresses a clear purchase, pricing, or cancellation intent toward a Volcengine product. Only handles these three transaction actions; anything outside them is out of scope./volcengine-sdk-generatorGenerate accurate Volcengine SDK examples by locating an API through API Explorer search, fetching its swagger, and calling api/common/explorer/make-code with user-provided Params. Use when the user asks how to write Volcengine SDK code, generate SDK samples, or call a Volcengine API in Python, Go, Java, PHP, cURL, Node.js. Supports Chinese and English API names such as "角色扮演", "AssumeRole", or "STS AssumeRole". Also use for explicit SDK configuration questions about retry, timeout, AK/SK, STS, AssumeRole, temporary credentials, proxy, connection pooling, SSL, debug mode, request signing, response parsing, and error handling. If the user only needs API parameters, enum values, required fields, error codes, response schemas, pagination, or API comparisons, hand off to volcengine-api. If they need CLI-based operations, hand off to volcengine-cli.
npx claudepluginhub volcengine/volcengine-agent-toolkit --plugin volcengine-service-supportOther plugins' skills for the same job