Логотип Alibabacloud Agent Toolkit Install

Alibabacloud Agent Toolkit Install

Організація
aliyun
alibabacloud-agent-toolkit-install

Повністю встановлюйте Alibaba Cloud Agent Toolkit: перевіряйте й налаштовуйте передумови (uv, Alibaba Cloud CLI, автентифікація, плагіни CLI, MCP Server Core, обмін bearer-токенами), а потім встановлюйте набір інструментів за допомогою підтримуваного механізму плагінів поточного клієнта. Використовуйте для: встановлення alibabacloud agent toolkit, перевірки середовища, перевірки передумов, налаштування alibabacloud, встановлення плагіна, налаштування toolkit, налаштування mcp core, налаштування aliyun CLI.

Огляд

Видавецьaliyun
Репозиторійalibabacloud-agent-toolkit
Назва навичкиalibabacloud-agent-toolkit-install
Зірки
29
Форки
13
Файли в пакеті
3
ЛіцензіяApache-2.0
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 3

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: aliyun. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Alibabacloud Agent Toolkit Install у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/aliyun/alibabacloud-agent-toolkit/tree/main/skills/alibabacloud-agent-toolkit-install
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

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/skills/alibabacloud-agent-toolkit-install .claude/skills/alibabacloud-agent-toolkit-install
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Alibabacloud Agent Toolkit Install в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Alibabacloud Agent Toolkit Install, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Alibabacloud Agent Toolkit Install не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Alibaba Cloud Agent Toolkit — Installation

This skill sets up all prerequisites and installs the Alibaba Cloud Agent Toolkit. Execute each step in order — later steps depend on earlier ones.

Safety Policy

Each step is classified by risk level. Follow these rules strictly:

ClassificationAgent behavior
Auto (read-only check)Execute without asking.
Confirm (local install / CLI plugin install)Show the user the exact command, explain what it does, and wait for explicit approval before executing. Never pipe-to-shell silently.
User-only (interactive / browser-based)Display instructions for the user to run in a separate terminal. Do not attempt to execute.
Confirm-cloud (cloud-side write)Explain the cloud resource that will be created, then wait for explicit approval before executing.

Prerequisites

Pre-check: Aliyun CLI >= 3.3.3 required

Run aliyun version to verify >= 3.3.3. If not installed or version too low, run /bin/bash -c "$(curl -fsSL https://aliyuncli.alicdn.com/setup.sh)" to install or update.

Observability (MUST follow for every aliyun command)

Before any cloud API invocation, read references/manifest.json from this skill's root and use only its top-level non-empty string version as {skill-version}. If missing or invalid, STOP. NEVER invent, guess, or reuse a version from another skill.

Bind version and session to the current skill name and skill root. Before this skill's first cloud API invocation in a conversation, generate a fresh random 32-character lowercase hexadecimal session ID. Reuse that session ID for this skill throughout the conversation; each skill MUST use a distinct session ID. NEVER copy one from documentation, examples, another skill, or a previous conversation, and NEVER send the literal {session-id} placeholder. On a skill switch or return, reread that skill's manifest; never cross-skill reuse either value.

Rule: Every aliyun CLI command that calls a cloud API MUST include the --user-agent flag.

Markdown examples may omit the flag for brevity. The Agent MUST append the exact flag to every actual execution, including commands generated or extended at runtime.

Local utility commands (e.g. configure, plugin, version) do not support this flag and should be excluded.

--user-agent "AlibabaCloud-Agent-Skills/alibabacloud-agent-toolkit-install/{session-id} skill-version/{skill-version}"

Checklist Overview

Run through these steps sequentially. Skip any step whose check already passes.

  1. Check / Install uv — Confirm
  2. Check / Install Alibaba Cloud CLI (aliyun) — Confirm
  3. Check CLI authentication — Auto (check) / User-only (login)
  4. Check / Install CLI plugins — Confirm
  5. Check / Create MCP Server Core — Auto (check) / Confirm-cloud (create)
  6. Check Bearer token exchange — Auto (check)
  7. Install Alibaba Cloud Agent Toolkit — Confirm

Step 1: uv {#step-1-uv}

uv is the Python package manager required to start MCP servers.

Check (Auto)

bash
uv --version
  • Pass → output shows a version string (e.g. uv 0.6.x). Proceed to Step 2.
  • Fail → command not found. Install below.

Install (Confirm — ask user before executing)

Present the appropriate command to the user and wait for approval:

PlatformCommand
macOS / Linuxcurl -LsSf https://astral.sh/uv/install.sh | sh
Windows (PowerShell)powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Security note: These are pipe-to-shell commands. Show the command to the user and let them decide whether to run it. Do not execute without explicit consent.

After installation, verify with uv --version. If the shell cannot find uv, instruct the user to restart their terminal or source their shell profile (source ~/.bashrc, source ~/.zshrc, etc.) so the PATH update takes effect.


Step 2: Alibaba Cloud CLI (aliyun) {#step-2-aliyun-cli}

Check (Auto)

bash
aliyun version
  • Pass → outputs version 3.3.3 or later. Proceed to Step 3.
  • Fail → command not found or version below 3.3.3. Install or update below.

Install (Confirm — ask user before executing)

Present the appropriate command to the user and wait for approval:

macOS / Linux
bash
/bin/bash -c "$(curl -fsSL https://aliyuncli.alicdn.com/install.sh)"

Security note: This is a pipe-to-shell command. Show the command and let the user decide. Do not execute without explicit consent.

Windows (PowerShell)

The installer script is located at scripts/install-aliyun-cli-windows.ps1.

Instruct the user to download or copy the script, then run:

powershell
powershell.exe -ExecutionPolicy Bypass -File .\install-aliyun-cli-windows.ps1

After installation, verify with aliyun version. If the command is not found, instruct the user to open a new terminal session so the updated PATH takes effect.


Step 3: CLI Authentication {#step-3-cli-authentication}

Check (Auto)

bash
aliyun sts get-caller-identity --user-agent "AlibabaCloud-Agent-Skills/alibabacloud-agent-toolkit-install/{session-id} skill-version/{skill-version}"
  • Pass → returns JSON containing AccountId, Arn, and UserId. Record the authentication mode (AK vs OAuth) — it affects Step 6. Proceed to Step 4.
  • Fail → error response (e.g. InvalidAccessKeyId, ERROR: ..., or similar). Guide the user through OAuth login below.

Note: The output of aliyun sts get-caller-identity tells you who the current user is. Share this with the user so they can confirm the correct identity is in use.

OAuth Login (User-only — user must run in a separate terminal)

The OAuth login flow is interactive — it opens a browser. The agent must not attempt to execute this. Display the following instructions for the user:

Please run this command in a separate terminal:

    aliyun configure --mode OAuth --profile <ProfileName>

Replace <ProfileName> with a name of your choice (e.g. "default", "myprofile").
This will open a browser for Alibaba Cloud login. Follow the prompts to complete authentication.

After the user confirms they have completed the OAuth flow, set the profile as current and re-run the check:

bash
aliyun configure set --current <ProfileName>
aliyun sts get-caller-identity --user-agent "AlibabaCloud-Agent-Skills/alibabacloud-agent-toolkit-install/{session-id} skill-version/{skill-version}"

If it still fails, suggest the user verify their profiles:

bash
aliyun configure list

Step 4: CLI Plugins {#step-4-cli-plugins}

Two CLI plugins are required. Check each and install any that are missing.

Check (Auto)

bash
aliyun plugin show --name openapiexplorer
aliyun plugin show --name sts
  • All pass → each outputs plugin metadata. Proceed to Step 5.
  • Any fail → plugin not found or error. Install the missing ones below.

Install (Confirm — ask user before executing)

Install only the missing plugins. Show the command and wait for approval:

bash
aliyun plugin install --name openapiexplorer
aliyun plugin install --name sts

After installation, re-run the check commands to verify.


Step 5: MCP Server Core {#step-5-mcp-server-core}

The MCP Server Core is a cloud-side resource that can only be created once per account.

Check (Auto)

bash
aliyun openapiexplorer list-api-mcp-server-cores --region cn-hangzhou --user-agent "AlibabaCloud-Agent-Skills/alibabacloud-agent-toolkit-install/{session-id} skill-version/{skill-version}"
  • Pass → response contains "totalCount": 1. The MCP Core already exists. Proceed to Step 6.
  • Fail (totalCount 0) → no core exists. Create one below.
  • Fail (permission error) → the user's RAM identity lacks the required permission. See Permission Error below.

Create (Confirm-cloud — ask user before executing)

This will create a cloud-side MCP Server Core resource in the user's Alibaba Cloud account (region: cn-hangzhou). Explain this to the user and wait for explicit approval.

bash
aliyun openapiexplorer create-api-mcp-server-core --region cn-hangzhou --user-agent "AlibabaCloud-Agent-Skills/alibabacloud-agent-toolkit-install/{session-id} skill-version/{skill-version}"

Possible outcomes:

ResultMeaningAction
Success (200)Core createdRe-run the check to confirm totalCount: 1
Quota exceeded errorCore already exists (only one allowed)Treat as success — the core is already provisioned
Permission denied / ForbiddenMissing RAM permissionSee below

Permission Error {#permission-error}

If the user receives a permission error when listing or creating the MCP Core, they need the following system policy attached to their RAM identity:

AliyunOpenAPIMCPServerStaticCredentialAccess

Instruct the user (or their account administrator) to:

  1. Go to the RAM Console
  2. Find the RAM user or role in use
  3. Attach the system policy AliyunOpenAPIMCPServerStaticCredentialAccess
  4. Re-run the check / create commands

Step 6: Bearer Token Exchange {#step-6-bearer-token-exchange}

This step verifies that the MCP Server Core can successfully exchange a bearer token, which is required for the MCP server to authenticate API calls at runtime.

Check (Auto)

CRITICAL — use the exact command below, do NOT modify or substitute it.

aliyun RamOAuth GenerateAccessToken is a non-standard aliyun CLI invocation. It does NOT follow the normal aliyun <product> <action> pattern and will NOT appear in aliyun help, product listings, or OpenAPI metadata. The product name RamOAuth, the action GenerateAccessToken, the --version, --ClientId, --Scope, --endpoint, and --method flags are all hardcoded values that must be used verbatim.

Do NOT:

  • Attempt to discover or construct an alternative command (e.g. aliyun auth ..., aliyun ram ..., aliyun sts ...)
  • Call RAM/STS/IMS APIs to "check" token exchange capability — those APIs serve different purposes
  • Skip this step or replace it with other verification methods

Just copy and run the command exactly as written:

bash
aliyun RamOAuth GenerateAccessToken \
  --version 2026-04-21 \
  --ClientId 4071151845732613353 \
  --Scope "/internal/acs/openapi" \
  --force \
  --endpoint ramoauth.aliyuncs.com \
  --method POST \
  --user-agent "AlibabaCloud-Agent-Skills/alibabacloud-agent-toolkit-install/{session-id} skill-version/{skill-version}"

Token Permission Error {#token-permission-error}

If the error indicates insufficient permissions (e.g. Forbidden, NoPermission, User not authorized), the user needs the system policy:

AliyunOpenAPIMCPServerStaticCredentialAccess

This is the same policy required in Step 5. If it was already attached, verify it covers the current RAM identity by re-checking aliyun sts get-caller-identity.

OAuth Application Not Installed {#oauth-app-not-installed}

If the error is not a permission error (e.g. InvalidClient, AppNotFound, token exchange fails for other reasons), the user likely has not installed the API MCP Server official OAuth application or has not authorized the current user.

Instruct the user to:

  1. Open the RAM Applications Console
  2. Find and install the API MCP Server official application
  3. Authorize the current RAM user/role to use the application
  4. Re-run the token exchange check

AK Mode Users {#ak-mode-users}

If the user authenticated with AK mode (AccessKey) in Step 3, the bearer token exchange can work without the API MCP Server OAuth application — AK credentials can exchange tokens directly.

  • If the token exchange succeeds in AK mode without the OAuth application installed, inform the user that they can optionally remove the default OAuth application at the RAM Applications Console if they exclusively use AK mode and want to reduce their application surface.
  • If the token exchange fails in AK mode, the issue is likely the AliyunOpenAPIMCPServerStaticCredentialAccess policy — see Token Permission Error.

Step 7: Install Alibaba Cloud Agent Toolkit {#step-7-install-toolkit}

All prerequisites are now satisfied. Install the toolkit itself.

Detect QwenWork (Auto)

Before choosing an installer, check the current process environment:

bash
if [ "${QODER_WORK_INTEGRATION_PRODUCT:-}" = "qwenworkcn" ] || \
   { [ "${QODERCN_CLI:-}" = "1" ] && [ "${QODERWORK_IS_CN:-}" = "true" ]; }; then
  echo qwenworkcn
else
  echo other
fi
  • qwenworkcn → use the QwenWork branch below. Do not run openplugin.
  • other → use the existing openplugin branch below.

QwenWork install (Confirm — ask user before executing)

Install these three plugin suites:

  • alibabacloud-core
  • alibabacloud-spec-ops
  • alibabacloud-ecs-ops

Clone the official toolkit into a temporary directory, validate the selected plugin packages, then install each complete directory under ${QODERCN_CONFIG_DIR:-$HOME/.qwenworkcn}/plugins-custom/. QwenWork scans this location and registers the plugin's Skills, hooks, and .mcp.json; do not split plugin skills into the global skills/ or MCP configuration into the global mcp.json.

Show the user the repository source, destination, and the three plugin names, explain that three local QwenWork plugins will be installed, and wait for explicit approval. After approval:

  1. Create a temporary directory and clone https://github.com/aliyun/alibabacloud-agent-toolkit.git into it.
  2. Validate .qoder-plugin/plugin.json in alibabacloud-core and alibabacloud-spec-ops.
  3. If alibabacloud-ecs-ops/.qoder-plugin/plugin.json is absent, create the parent directory and generate a valid JSON compatibility manifest from its .claude-plugin/plugin.json, adding:
    • "displayName": "Alibaba Cloud ECS Ops"
    • "hooks": "./hooks/qoderwork-hooks.json"
    • "mcpServers": "./.mcp.json"
  4. Replace every literal __PLUGIN_ROOT__ occurrence in each selected plugin's temporary hooks/qoderwork-hooks.json with that plugin's final absolute destination path. QwenWork itself resolves ${QODER_PLUGIN_ROOT}, so leave that runtime variable unchanged.
  5. Before changing installed plugins, validate all three prepared packages: each manifest must parse as JSON and have the expected name; every declared hooks or MCP file must exist; and no literal __PLUGIN_ROOT__ may remain.
  6. Create the destination parent directory if needed. Move every existing plugin to a timestamped backup directory outside plugins-custom, for example ${QODERCN_CONFIG_DIR:-$HOME/.qwenworkcn}/plugin-backups/<name>-<timestamp>; never permanently delete or overwrite it.
  7. Copy each complete plugin directory to its final destination with a command that preserves hidden files, such as cp -R <source> <destination> after the old destination has been moved aside.
  8. Repeat the package validation against all three destinations. Then ask the user to restart QwenWork so it rescans and registers the new plugins.

Resolve the QwenWork configuration directory to an absolute path from QODERCN_CONFIG_DIR when set; only fall back to $HOME/.qwenworkcn. Never use ~/.qoderwork for this branch.

Other clients: openplugin (Confirm — ask user before executing)

CRITICAL — outside QwenWork, use npx openplugin exactly as shown below.

The toolkit is distributed through the openplugin registry. It is NOT available on PyPI, npm, or as an aliyun plugin.

Do NOT:

  • Install via pip / uv pip install (e.g. alibabacloud-mcp-server or any other PyPI package — these are different packages)
  • Install via npm install
  • Install via aliyun plugin install
  • Search for alternative package names or installation methods
bash
npx openplugin aliyun/alibabacloud-agent-toolkit

Show the command and wait for approval before executing.

After the selected branch completes, the toolkit plugins are installed and ready to use.


Completion

When all seven steps pass, report a summary:

Installation complete:
  ✓ uv installed
  ✓ Alibaba Cloud CLI installed
  ✓ CLI authenticated (as <AccountId / UserName>)
  ✓ CLI plugins installed (openapiexplorer, sts)
  ✓ MCP Server Core provisioned
  ✓ Bearer token exchange verified
  ✓ Alibaba Cloud Agent Toolkit installed

The Alibaba Cloud Agent Toolkit is ready to use.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Alibabacloud Agent Toolkit Install?

Повністю встановлюйте Alibaba Cloud Agent Toolkit: перевіряйте й налаштовуйте передумови (uv, Alibaba Cloud CLI, автентифікація, плагіни CLI, MCP Server Core, обмін bearer-токенами), а потім встановлюйте набір інструментів за допомогою підтримуваного механізму плагінів поточного клієнта. Використовуйте для: встановлення alibabacloud agent toolkit, перевірки середовища, перевірки передумов, налаштування alibabacloud, встановлення плагіна, налаштування toolkit, налаштування mcp core, налаштування aliyun CLI.

Навіщо використовувати Alibabacloud Agent Toolkit Install у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Alibabacloud Agent Toolkit Install — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Alibabacloud Agent Toolkit Install у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/aliyun/alibabacloud-agent-toolkit/tree/main/skills/alibabacloud-agent-toolkit-install. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Alibabacloud Agent Toolkit Install?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Alibabacloud Agent Toolkit Install?

Зі скількома забажаєте. У TypingMind ви можете використовувати Alibabacloud Agent Toolkit Install із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Alibabacloud Agent Toolkit Install?

Так. На GitHub цю навичку публікує aliyun за ліцензією Apache-2.0. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі
Логотип affaan-m

Springboot Security

affaan-m
СпільнотаПопулярне

Рекомендації з Spring Security щодо автентифікації й авторизації, валідації, CSRF, секретів, заголовків, обмеження частоти запитів і безпеки залежностей у сервісах Java Spring Boot.

39.1K
261.1K
Інструкції
Відкрити
Логотип affaan-m

Agent Architecture Audit

affaan-m
СпільнотаПопулярне

Повна діагностика агентів і LLM-застосунків. Перевіряє 12 рівнів стека агента на регресії обгорток, забруднення пам’яті, збої дисципліни роботи з інструментами, приховані цикли відновлення та порушення рендерингу. Формує список висновків, упорядкованих за серйозністю, і виправлення з акцентом на код. Незамінний інструмент для розробників, які створюють застосунки на основі агентів, автономні цикли або функції з використанням LLM.

39.1K
261.1K
Інструкції
Відкрити
Логотип NousResearch

Antigravity Cli

NousResearch
ОрганізаціяПопулярне

Operate the Antigravity CLI (agy): plugins, auth, sandbox.

53.5K
250.4K
Файлів: 1
Відкрити
Логотип langgenius

Backend Code Review

langgenius
ОрганізаціяПопулярне

Use only when the user explicitly requests a review or audit of backend code under `api/`. Supports pending-change, file-focused, and pasted-diff reviews. Do not use for implementation-only requests,…

24.9K
157.6K
Файлів: 4
Відкрити

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇