From alibabacloud-core
Generate or modify code that calls Alibaba Cloud OpenAPIs. Use when the user asks for Alibaba Cloud SDK code, API parameters, endpoints, SDK dependencies, typed product SDK calls, or generic OpenAPI calls.
How this skill is triggered — by the user, by Claude, or both
Slash command
/alibabacloud-core:alibabacloud-sdk-usageThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use the local `alibabacloud-core` MCP server tools before writing Alibaba
Use the local alibabacloud-core MCP server tools before writing Alibaba
Cloud interaction code. Do not start another MCP server or call aliyun
directly from the shell.
Use the MCP Core tools (AlibabaCloud___SearchApis, AlibabaCloud___ListApis,
AlibabaCloud___GetApiDefinition, AlibabaCloud___GenerateCLICommand,
AlibabaCloud___CallCLI) to resolve metadata. Do not guess product codes, SDK
packages, request models, endpoints, or parameter casing.
This skill generates SDK code that calls a small number of APIs. If the
user's request is instead an operational pattern that likely has a
packaged solution — batch operations, audits, rotations, scheduled cleanup,
multi-step runbooks — invoke alibabacloud-find-skills first to search the
official catalog. Falling back to SDK synthesis is appropriate only after
find-skills returns no match. Full trigger conditions are in
mcp-core-best-practices → Skill Discovery.
Inspect the local project first.
pyproject.toml,
requirements*.txt, package.json, go.mod, pom.xml, build.gradle,
.csproj, composer.json, Package.swift, etc.).call_api / common OpenAPI calls, continue with callType=generic.
If it uses product-specific clients and request models, continue with
callType=typed.Resolve metadata with OpenAPI Explorer through local MCP.
list-products: resolve the exact product code and default API version
when the user did not provide them.get-product-endpoints: choose the endpoint for the target region. Use
VPC endpoints only when the code will run inside the same Alibaba Cloud
VPC; otherwise use the public endpoint.get-api-definition: read required parameters, pagination fields, response
shape, error codes, and RAM actions.get-sdk-dependencies: get the exact dependency and version for the
selected language and callType.get-code-sample: get the official sample for the same product, API
version, language, region, params, and callType.Install or update dependencies only when needed.
get-sdk-dependencies / get-code-sample.Adapt the sample into local code.
get-api-definition.NextToken + MaxResults / MaxItems) over
page-number pagination when both are available.Verify.
Describe* / List* call
with narrow parameters.Use the MCP Core tools directly:
AlibabaCloud___ListProducts — resolve product code and default API version.AlibabaCloud___SearchApis — find APIs by natural language description.AlibabaCloud___GetApiDefinition — get full parameter spec, response schema,
and error codes for a specific API.AlibabaCloud___GenerateCLICommand — produce a validated CLI command from API
definition and parameters.AlibabaCloud___CallCLI — execute CLI commands for metadata queries (e.g.,
aliyun openapiexplorer get-code-sample ...).For SDK dependency and code sample retrieval, use CallCLI with:
aliyun openapiexplorer get-sdk-dependencies --product Ecs --biz-language python --biz-version 2014-05-26 --call-type typed
aliyun openapiexplorer get-code-sample --product Ecs --api-name DescribeInstances --biz-language python --biz-api-version 2014-05-26 --biz-region-id cn-hangzhou --call-type typed --params '{"RegionId":"cn-hangzhou"}'
If an MCP tool is unavailable or denies a command, stop and report the denial. Do not fall back to shell execution or another MCP server.
aliyun directly from the terminal for this workflow.alibabacloud-core server.npx claudepluginhub acloudlabs-unofficial/alibabacloud-agent-toolkit --plugin alibabacloud-coreCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.