Alibabacloud Sdk Usageのロゴ

Alibabacloud Sdk Usage

組織
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.

概要

公開者aliyun
リポジトリalibabacloud-agent-toolkit
スキル名alibabacloud-sdk-usage
スター
29
フォーク
13
同梱ファイル
指示のみ
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    aliyunがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Alibabacloud Sdk Usage」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/aliyun/alibabacloud-agent-toolkit/tree/main/plugins/alibabacloud-core/skills/alibabacloud-sdk-usage
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでAlibabacloud Sdk Usageを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にAlibabacloud Sdk Usageを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Alibabacloud Sdk Usageは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

よくある質問

AIスキル「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.

TypingMindでAlibabacloud Sdk Usageを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Alibabacloud Sdk Usageはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにAlibabacloud Sdk Usageをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/aliyun/alibabacloud-agent-toolkit/tree/main/plugins/alibabacloud-core/skills/alibabacloud-sdk-usageを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Alibabacloud Sdk Usageを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Alibabacloud Sdk Usageで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもAlibabacloud Sdk Usageを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Alibabacloud Sdk Usage」は無料ですか?

はい。aliyunがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇