alibabacloud-aidbs-dgate-skill
Connect a cloud or sandbox Agent to Alibaba Cloud Agent Data Gateway (Dgate) through its managed MCP service, or install/reinstall the Dgate CLI and its local…
от sdk-team616 установок в других каталогах
Установить alibabacloud-aidbs-dgate-skill в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Connect Dgate MCP or install the CLI
This is a bootstrap Skill with two access paths. Its job is to connect the managed Dgate MCP service or install dgate with the matching managed dgate-cli Skill/Rule bundle. Do not duplicate business-operation guidance here: after setup, use the connected MCP tool descriptions or the installed local dgate-cli skills. Read references/ram-policies.md for the required RAM-permission declaration.
Select the access path
- If dedicated Dgate MCP tools are already connected, do not install anything. Verify the connection as described below and use those tools.
- For a cloud, sandbox, or other managed Agent where installing a binary is inconvenient, prefer the managed Streamable HTTP MCP service.
- For a local Agent IDE or a user who explicitly requests the
dgatecommand, use the CLI path. - If the user chooses a path, honor it. Never install the CLI merely because MCP is available, or replace a requested CLI installation with MCP.
Managed MCP path
- Detect the current Agent host and its MCP configuration surface. Preserve every existing MCP server and unrelated setting.
- Obtain the target Region and a Region-matched Agent Data Gateway AccessToken from the console. Treat the AccessToken as a secret: never ask the user to paste it into chat, print it, or place it in source, logs, URLs, screenshots, or artifacts. Have the user enter it through the host's encrypted secret or header configuration.
- Configure a Streamable HTTP server named
dgate. Replace only the placeholders below:
{
"mcpServers": {
"dgate": {
"url": "https://dgate-mcp-<REGION>.aliyuncs.com/mcp/dgate",
"headers": {
"Authorization": "Bearer <ACCESS_TOKEN>"
}
}
}
}
For example, cn-hangzhou uses https://dgate-mcp-cn-hangzhou.aliyuncs.com/mcp/dgate. The endpoint Region and AccessToken Region must match.
- Changing an Agent host's MCP configuration requires the user's explicit approval unless the current request already clearly authorizes that change. If the user asks for guidance only, provide the template and do not modify configuration or call tools.
- Reload the MCP configuration, confirm that the
dgateserver connects, confirm that its tool list is discovered, then call the read-onlyacl_whoamitool. Report success only when all three checks pass. On failure, preserve the error code, short summary, and request or trace ID without exposing the AccessToken.
For MCP guidance and setup results, put the resolved Endpoint, encrypted Authorization: Bearer configuration, reload step, successful tool-list discovery, and acl_whoami verification directly in the final answer. Do not replace these facts with an artifact or file path.
After connection, use the dedicated Dgate MCP tool whose description and input schema match the user's request. Do not handcraft HTTP requests or install the CLI for business operations. The MCP tool catalog, schemas, Agent ACL, security policies, and audit trail govern what the Agent can do.
CLI installation path
- Read the official installation guide at
https://d.tb.cn/install_cli.mdand follow its current instructions. - Detect the target operating system and Agent IDE. Supported
--install-idevalues includecodex,cursor,qoder,qoderwork,claude,copaw,codebuddy, andopencode. Ask only when they cannot be detected. - Obtain the target Region and a one-time install token from the Agent Data Gateway console. Treat the token as a secret: never print it, paste it into chat, or write it to source, logs, URLs, screenshots, or artifacts. Prefer the complete natural-language installation instruction copied from the console so the token stays in the user's trusted Agent session.
- Installing or running downloaded software requires the user's explicit approval. If the user has not already approved installation, give instructions only and wait before executing a command.
- Run the official command for the detected operating system, substituting the supplied Region, token, and IDE. Do not invent, replace, or expose credential values.
macOS or Linux:
curl --connect-timeout 10 --max-time 120 -fsSL https://d.tb.cn/i.sh | \
bash -s -- \
--install-token "$DGATE_INSTALL_TOKEN" \
--region "$DGATE_REGION" \
--install-ide codex
Windows PowerShell:
Invoke-RestMethod -Uri https://d.tb.cn/i.ps1 -OutFile "$env:TEMP\i.ps1" -TimeoutSec 120
& "$env:TEMP\i.ps1" --install-token $env:DGATE_INSTALL_TOKEN --region $env:DGATE_REGION --install-ide codex
When a managed environment already provides DGATE_ACCESS_TOKEN and DGATE_REGION, the public installer can use those encrypted environment variables directly. For a binary-and-skill refresh that must not start Quick Start, run the matching installer with --skip-quickstart --install-ide <detected-ide>; do not place the AccessToken on the command line.
Verify before
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл alibabacloud-aidbs-dgate-skill?
Connect a cloud or sandbox Agent to Alibaba Cloud Agent Data Gateway (Dgate) through its managed MCP service, or install/reinstall the Dgate CLI and its local Agent Skill/Rule bundle on macOS, Linux, or Windows. Use when the user asks to configure a Region-bound Dgate MCP endpoint and AccessToken, set up Dgate without installing a binary, install the dgate command, refresh the bundled dgate-cli skills, or verify either access path.
Как установить скилл alibabacloud-aidbs-dgate-skill?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл alibabacloud-aidbs-dgate-skill запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…