Alibabacloud Sdk Usage logo

Alibabacloud Sdk Usage

Organization
aliyun
alibabacloud-sdk-usage

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.

Overview

Publisheraliyun
Repositoryalibabacloud-agent-toolkit
Skill namealibabacloud-sdk-usage
Stars
29
Forks
13
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by aliyun on GitHub. Read the source before you install it.

Installation

Install the Alibabacloud Sdk Usage AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/aliyun/alibabacloud-agent-toolkit/tree/main/plugins/alibabacloud-core/skills/alibabacloud-sdk-usage
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aliyun/alibabacloud-agent-toolkit.git /tmp/alibabacloud-agent-toolkit
mkdir -p .claude/skills
cp -r /tmp/alibabacloud-agent-toolkit/plugins/alibabacloud-core/skills/alibabacloud-sdk-usage .claude/skills/alibabacloud-sdk-usage
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Alibabacloud Sdk Usage in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Alibabacloud Sdk Usage on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Alibabacloud Sdk Usage is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Alibaba Cloud SDK Usage

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.

Scope Check Before You Start

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.

Workflow

  1. Inspect the local project first.

    • Detect the target language from project files (pyproject.toml, requirements*.txt, package.json, go.mod, pom.xml, build.gradle, .csproj, composer.json, Package.swift, etc.).
    • Check whether Alibaba Cloud SDK dependencies are already installed or declared.
    • Check existing Alibaba Cloud call style. If the project uses generic call_api / common OpenAPI calls, continue with callType=generic. If it uses product-specific clients and request models, continue with callType=typed.
    • Match local naming, formatting, async style, error handling, and dependency manager. Do not paste standalone samples into application code unchanged.
  2. 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.
  3. Install or update dependencies only when needed.

    • If the required dependency is already present and compatible, do not add a duplicate.
    • If the project already uses a dependency manager, update that manager's manifest instead of issuing an unrelated install command.
    • Use the install command or dependency coordinates returned by get-sdk-dependencies / get-code-sample.
  4. Adapt the sample into local code.

    • Keep credentials on the default Alibaba Cloud credential provider chain. Do not hardcode access keys.
    • Set the endpoint and region consistently.
    • Populate request parameters from the user's inputs and get-api-definition.
    • Add pagination only when the API definition exposes pagination parameters. Prefer token pagination (NextToken + MaxResults / MaxItems) over page-number pagination when both are available.
    • Preserve local code style and existing typed/generic SDK approach.
  5. Verify.

    • Run the project's normal format, lint, type-check, compile, or test command when available.
    • For a live smoke test, prefer a cheap read-only Describe* / List* call with narrow parameters.

MCP Tool Usage

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:

bash
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.

Guardrails

  • Do not switch a local project from generic calls to typed SDK calls, or the reverse, unless the user asks for that migration.
  • Do not run aliyun directly from the terminal for this workflow.
  • Do not use any MCP server except the local alibabacloud-core server.
  • Do not invent SDK versions, package names, request classes, or field casing.
  • Do not add verbose tutorial text to generated code.
  • Do not use OSS or Tablestore data-plane SDKs through this workflow; use those product SDKs directly.

Frequently asked questions

What does the Alibabacloud Sdk Usage AI skill do?

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.

Why use Alibabacloud Sdk Usage on TypingMind?

Because you install it once and use it with any model. Alibabacloud Sdk Usage is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Alibabacloud Sdk Usage in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/aliyun/alibabacloud-agent-toolkit/tree/main/plugins/alibabacloud-core/skills/alibabacloud-sdk-usage. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Alibabacloud Sdk Usage?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Alibabacloud Sdk Usage?

As many as you like. As long as a model supports skills, you can use Alibabacloud Sdk Usage with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Alibabacloud Sdk Usage AI skill free?

Yes. It is published on GitHub by aliyun under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇