alibabacloud-bailian-m…
Version v20261015 (date-based release, YYYYMMDD). Explain, evaluate, demonstrate, provision, and integrate Alibaba Cloud Bailian…
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
Claude Code
$ npx -y skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-aidbs-dgate-skill --agent claude-code
Codex
$ npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-aidbs-dgate-skill -a codex -y
Cursor
$ npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-aidbs-dgate-skill -a cursor -y
Gemini CLI
$ npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-aidbs-dgate-skill -a gemini-cli -y
GitHub Copilot
$ npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-aidbs-dgate-skill -a github-copilot -y
OpenCode
$ npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-aidbs-dgate-skill -a opencode -y
Windsurf
$ npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-aidbs-dgate-skill -a windsurf -y
name: alibabacloud-aidbs-dgate-skill description: > 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. metadata: domain: aiops owner: alibabacloud-dms
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](references/ram-policies.md) for the required RAM-permission declaration.
1. If dedicated Dgate MCP tools are already connected, do not install anything. Verify the connection as described below and use those tools. 2. For a cloud, sandbox, or other managed Agent where installing a binary is inconvenient, prefer the managed Streamable HTTP MCP service. 3. For a local Agent IDE or a user who explicitly requests the `dgate` command, use the CLI path. 4. 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.
1. Detect the current Agent host and its MCP configuration surface. Preserve every existing MCP server and unrelated setting. 2. 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. 3. 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.
4. 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. 5. Reload the MCP configuration, confirm that the `dgate` server connects, confirm that its tool list is discovered, then call the read-only `acl_whoami` tool. 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.
1. Read the official installation guide at `https://d.tb.cn/install_cli.md` and follow its current instructions. 2. Detect the target operating system and Agent IDE. Supported `--install-ide` values include `codex`, `cursor`, `qoder`, `qoderwork`, `claude`, `copaw`, `codebuddy`, and `opencode`. Ask only when they cannot be detected. 3. 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. 4. 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. 5. 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 codexWindows 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.
The installer may place `dgate` outside the current `PATH`. Resolve `command -v dgate` first; if it is absent, locate the executable installed under `/home/*/.local/bin/dgate` or `/root/.local/bin/dgate`, bind that absolute path once, and reuse it.
Run:
dgate version dgate install skills --check --agents codex dgate acl role current -o json
Replace `codex` with the detected IDE. Report success only when the CLI
Official Alibaba Cloud Agent Skills collection, providing AI agents with rich Alibaba Cloud product capabilities and general-purpose tooling.
Version v20261015 (date-based release, YYYYMMDD). Explain, evaluate, demonstrate, provision, and integrate Alibaba Cloud Bailian…
Alibaba Cloud Parse-X intelligent document parsing and extraction tool. Supports two capabilities: (1) Parse — convert documents,…
Execute code in a secure cloud sandbox via AgentBay SDK. Use this skill whenever users request to run, execute, or evaluate code…
Operate Alibaba Cloud AgentLoop Dataset resources with aliyun CLI and the AgentLoop API version 2026-05-20. Use when requests…
Orchestrate AgentLoop evaluation workflows through the Aliyun CLI plugin with safe previews, saved evaluator and evaluator-skill…
Proactively use AgentLoop Recall to retrieve prior Alibaba Cloud AgentLoop experience through the bundled SearchContext CLI…
Use when running, building, or managing Linux containers on macOS, or when a task involves Docker, docker compose, Lima, Colima,…
Operate FrontendExtension (FE) resources in frontend-forge: create, update, rebuild, inspect package artifacts, download…
Entry point for AI-agent work on AWS: pick a runtime, plan a migration for existing workloads, and build an executable POC — one…
Build, debug, or review Cloudflare Agents SDK applications using the agents package.