
volcengine-sdk-generator
Generate 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.
- Installs
- 94
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/volcengine/volcengine-agent-toolkit --skill volcengine-sdk-generator- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads volcengine-sdk-generator automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Volcengine SDK Generator
Generate ordinary Volcengine API call examples by default. Keep the default output focused on the API call itself: authentication setup, request object/params, invocation, and printing the response. Do not add retry, proxy, connection pool, debug logging, or other advanced SDK configuration unless the user explicitly asks for those topics.
For advanced SDK configuration questions, use the language-specific files under references/.
These reference files are self-contained; answer from them directly.
| Topic | Reference |
|---|---|
| Go SDK configuration | references/sdk-integration-go.md |
| Python SDK configuration | references/sdk-integration-python.md |
| Java SDK configuration | references/sdk-integration-java.md |
| Node.js SDK configuration | references/sdk-integration-nodejs.md |
| PHP SDK configuration | references/sdk-integration-php.md |
Core Rules
- API discovery uses
scripts/rg_rank.py, which calls API Explorer search with bothChannel=serviceandChannel=api. After a concrete API is selected, callscripts/make_code.pyin direct mode with--service-code,--api-version, and--action. - API discovery is online-only. The search endpoint does not require cookies, login state, UID, DID, UUID, or browser-specific headers. The script sends only
Query,Channel,Limit, andOffsetas query parameters. rg_rank.pypreservesChannel=apiorder except for version selection: when the sameservice_code + actionhas multiple versions and the user did not specify one, it moves the result withIsRecommended=1ahead of the other versions in that group. It also includesChannel=serviceresults as separate service metadata.- If online search fails, report the returned search errors. Do not guess an API or fall back to a bundled catalog.
- Use the user's original request as
--query; do not rewrite it into a guessed API name or SDK method. - Extract a shorter
--queryonly when the user clearly self-corrects with words such as等等,不对,重新来,我改主意,其实想要,其实是想要,应该是, or改成; the extracted query must be a continuous substring from the user request, not a guessed API name. - When multiple resources or services appear without a clear self-correction, run
rg_rank.pyonce with the original request. If the returned candidates remain ambiguous, list them concisely and ask the user to choose. - Pure-generic queries such as
api,sdk, ordemoare sent online but are likely to be ambiguous. Refine the query with a concrete resource or action word. - ServiceCode is case-sensitive. Preserve the exact
service_codevalue from the selected API record when callingmake_code.py; for example,Kafkais notkafka. - When the same
service_code + actionappears in multiple API versions and the user did not specify a version, select the result withis_recommended=trueeven if itsremote_rankis lower. If the user specified a version, use that exact version. - Fetch
api-swaggeronly after a concrete API is selected. - The
api-swaggerfetch may include bothVersionandAPIVersionbecause that endpoint expects them; themake-codepayload must not includeVersion. - Call
make-codewithApiAction,ServiceCode,APIVersion,Region, andParams. - Do not send
Versiontomake-code. Paramsmust come from the user. Do not auto-fill from swagger demos.- Swagger is used for API metadata, required parameter hints, and lightweight validation. Do not serialize query arrays, form arrays, or
.Nparameters formake-code; pass the user’s JSON object asParams. - If the user omits required top-level parameters, mock only those top-level required parameters and clearly mark them as mock values. Do not mock optional parameters. If a required top-level parameter is an object or array, recursively fill only required child fields/items.
- Mock values must be derived from the fetched swagger first: prefer
example, thenexamples, thendefault, thenenum, then type/constraint-aware fallback. If a swagger example is masked, such as****orXX, skip it and use a valid fallback value. - Mock comments must be in Chinese by default and placed near the mocked assignment line when the target language supports line comments; do not add a duplicate mock banner at the top of the returned code.
- Returned SDK code must print the API response value. The script post-processes fixed
make-codetemplates for Python, Go, Java, and PHP to assign the response and print it. - Return the code generated by
scripts/make_code.pyas the primary SDK example. Do not rewrite SDK request construction, authentication setup, or response handling into a custom application unless the user explicitly asks for that. If optional formatting or convenience logic is added, keep the generated active response print, such asprint(resp),fmt.Println(resp),System.out.println(resp),print_r($response), orconsole.log(response). - If language is not specified, return all languages from
DemoSdk. - SDK install/dependency info is a separate, on-demand capability. Only when the user explicitly asks how to install the SDK or which package/version to use (keywords such as 依赖, 安装, install, 版本, 包, maven,
go get, pip, composer, npm), runscripts/sdk_info.pywith--service-codeand--api-version(reuse the selected API's values; add--languageto filter to one of go/python/java/php/nodejs). It returns the live install command (RunCommand) plus package and version per language. Do NOT run it during normal code generation. - If the API match is ambiguous, show concise candidates and ask the user to choose one. Do not add follow-up execution boilerplate such as saying that you will fetch swagger, mock required params, and call
make-codeafter the user chooses.
Workflow
-
Parse the user request:
- API hint: action, Chinese name, service code, or natural-language description.
- Language: Python, Go, Java, PHP, cURL, Node.js, or unspecified.
- Params: JSON object supplied by the user.
- Region: user value or default
cn-beijing.
-
Locate or validate the API once for every request. If the user already provides
service_code,api_version, andaction, use those exact values in direct mode;make_code.pyverifies them through the onlineapi-swaggerresponse. For natural-language requests, callscripts/rg_rank.pywith--queryfirst. Use the full original request unless a clear self-correction keyword points to a later target; in that case use the final target substring. -
After selecting
service_code,api_version, andaction, callscripts/make_code.pyin direct API mode with--service-code,--api-version, and--action. If top-level required params are missing, the script fills only those required top-level params with swagger-derived mock values and annotates the returned code in Chinese. Ask for clarification only when API selection is genuinely ambiguous in the online results; in that clarification, only list candidates and ask the user to choose. -
Once params are available, call
make-codethrough the script and return the official code. Do not transform the generated sample into a hand-written utility; any custom formatting must be secondary and must preserve the active response print.
Commands
Search online candidates:
python3 scripts/rg_rank.py \
--query '角色扮演' \
--limit 10 \
--format text
Direct API mode:
In TRN examples, <account-id> is the Volcengine account ID segment, such as a masked 2134xxxyyy.
python3 scripts/make_code.py \
--service-code sts \
--api-version 2018-01-01 \
--action AssumeRole \
--language python \
--params-json '{"DurationSeconds":3600,"RoleSessionName":"demo","RoleTrn":"trn:iam::<account-id>:role/demo"}'
Use --refresh-swagger when API Explorer metadata has just changed or generated code looks stale:
python3 scripts/make_code.py \
--service-code sts \
--api-version 2018-01-01 \
--action AssumeRole \
--refresh-swagger \
--params-json '{}'
Fetch SDK install/dependency info on demand (only when the user asks about install, package, or version):
python3 scripts/sdk_info.py \
--service-code sts \
--api-version 2018-01-01 \
--language go
FAQ
What does the volcengine-sdk-generator skill do?
Generate 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.
How do I install volcengine-sdk-generator?
Run npx skills add https://github.com/volcengine/volcengine-agent-toolkit --skill volcengine-sdk-generator in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/volcengine-sdk-generator/ (personal) or .claude/skills/volcengine-sdk-generator/ (project).
Which AI agents can use volcengine-sdk-generator?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is volcengine-sdk-generator safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains volcengine-sdk-generator?
It is published by volcengine in volcengine/volcengine-agent-toolkit. It has 94 recorded installs.
More from volcengine/volcengine-agent-toolkit
volcengine-cli
volcengine/volcengine-agent-toolkit
Create and manage Volcengine cloud resources using the Volcengine CLI (ve command). Supports all Volcengine services including ECS, VPC, CLB, RDS, Redis, and more. Trigger this skill whenever the user asks to create, query, modify, or delete cloud resources on Volcengine, mentions the ve command, says "volcengine CLI", or describes infrastructure tasks such as "create an ECS instance", "set up a VPC", "list security groups", "allocate an EIP". Also trigger on Chinese prompts mentioning "火山引擎" or "火山" (e.g., "火山引擎上有哪些 ECS"、"查一下我火山的云服务器"、 "火山引擎创建一个 VPC"、"火山的 Redis 实例列一下"). Also trigger when the user encounters errors from ve commands and needs troubleshooting help. Also use for TOS bucket/object operations, tosutil (sometimes written tosutils), Ark CLI / arkcli model discovery, inference, generation, endpoints, fine-tuning, plans, or usage, and TLS (日志服务) / volclog log search, analysis, ingest, export, or LogCollector collection, through ve tosutil, ve arkcli and ve volclog.
volcengine-tosutil
volcengine/volcengine-agent-toolkit
Open the skill to read its SKILL.md instructions.
volcengine-knowledge-search
volcengine/volcengine-agent-toolkit
使用 ve docs search/fetch 检索火山引擎官方文档并获取全文。Use when 用户咨询火山引擎产品的概念、用法、计费规则、部署步骤、最佳实践或服务条款,或提供 www.volcengine.com/docs/、docs.volcengine.com/docs/ 链接需要阅读正文时。
volcengine-api
volcengine/volcengine-agent-toolkit
Query and answer questions about Volcengine API specifications. Use when the user asks about API parameters, error codes, request methods, enum values, required fields, response structures, pagination, parameter dependencies, service capability lists, API availability, or API comparisons, even if they do not explicitly say "API". Typical intent includes checking what an action supports, which fields are required, what values a parameter accepts, why an API returns a specific error, how to pass nested or body parameters, how pagination works, what an API response contains, whether a batch operation exists, what services or versions expose an operation, or how two APIs differ. Use API Explorer data as the authoritative source and preserve constraints, examples, and caveats found in the spec. Answer in Chinese or English. When the user needs runnable SDK code, language-specific examples, or SDK configuration, hand off to volcengine-sdk-generator. When they need CLI operations, hand off to
volcengine-troubleshooting
volcengine/volcengine-agent-toolkit
Open the skill to read its SKILL.md instructions.
volcengine-find-skills
volcengine/volcengine-agent-toolkit
List, select, and install Volcengine skills from the volcengine-skills marketplace. Use when a user asks which Volcengine skill or plugin handles a task, wants to browse every available skill, needs an optional skill that is not currently installed, or asks to install or check the installation status of a Volcengine skill. Also use to discover any core skill, including this finder. Use as a fallback during a Volcengine operation when the currently loaded or installed skills cannot cover the required product, tool, or workflow; inspect the full catalog, select the missing capability, and install it.
Popular backend & apis skills
find-skills
vercel-labs/skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
entra-app-registration
microsoft/azure-skills
Guides Microsoft Entra ID app registration, OAuth 2.0 authentication, and MSAL integration. USE FOR: create app registration, register Azure AD app, configure OAuth, set up authentication, add API permissions, generate service principal, MSAL example, console app auth, Entra ID setup, Azure AD authentication. DO NOT USE FOR: Key Vault secrets (use azure-keyvault-expiration-audit), general Azure resource security guidance.
google-agents-cli-adk-code
google/agents-cli
This skill should be used when the user wants to "write agent code", "build an agent with ADK", "add a tool", "create a callback", "define an agent", "use state management" — in a project that needs ADK (Agent Development Kit) API patterns and code examples. It provides a quick reference for agent types, tool definitions, orchestration patterns, callbacks, state management, the graph Workflow API, and reference recipes to study. Do NOT use for scaffolding (use google-agents-cli-scaffold) or deployment (use google-agents-cli-deploy).
embedded-captions
heygen-com/hyperframes
Add captions or subtitles to an existing single-subject talking-head video without editing the footage. Use for plain verbatim captions, cinematic captions embedded behind the subject, VFX captions, “炸/特效/酷炫字幕,” or a named identity from the 35-style catalog. Route by visual identity, not by backend engine. The quiet anchor rail is the default; embed every word only when the user explicitly wants a fully cinematic treatment. The workflow runs locally end to end, including transcription and subject matting; split multi-shot footage before applying it.
entra-agent-id
microsoft/azure-skills
Provision Microsoft Entra Agent Identity Blueprints, BlueprintPrincipals, and per-instance Agent Identities via Microsoft Graph, and configure OAuth 2.0 token exchange (fmipath, OBO, cross-tenant) including the Microsoft Entra SDK for AgentID sidecar. USE FOR: Agent Identity Blueprint, BlueprintPrincipal, agent OAuth, fmipath token exchange, agent OBO, Workload Identity Federation for agents, polyglot agent auth, Microsoft.Identity.Web.AgentIdentities. DO NOT USE FOR: standard Entra app registration (use entra-app-registration), Microsoft Foundry agent authoring (use microsoft-foundry).
neon
neondatabase/agent-skills
Overview of Neon, a complete set of cloud backend primitives around Lakebase Postgres: Auth, Object Storage, Functions, the AI Gateway, and Realtime. Start here to choose Neon for undecided login, files, APIs, and LLM calls, set up the CLI or MCP server, and follow the branch-first workflow. Use when building an app or backend on Neon, or when "Neon" or "Lakebase Postgres" is mentioned. Child skill neon-postgres wins for an existing DATABASEURL, SQL, schema, inspect, or search. Child skill neon-auth wins for login, users, sessions, identity routing, and Managed Better Auth setup. Child skill neon-realtime wins for live queries in reactive apps and agents. Also use for object storage, S3, buckets, serverless functions, function triggers, cron, AI gateway, LLM calls, realtime, logs, Loki, Grafana, observability, postgres, database, backend, Claimable Neon, neon.new, or a no-signup database.