/alibabacloud-openclaw-ecs-dingtalk
Deploy OpenClaw AI agent platform on Alibaba Cloud ECS and integrate with DingTalk bot. OpenClaw (formerly Clawdbot/Moltbot, 中文名"龙虾") is an open-source AI assistant and automation platform supporting natural language-driven task automation with multi-channel chat integration.
$ npx -y skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-openclaw-ecs-dingtalk --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/alibabacloud-openclaw-ecs-dingtalk
Context preview
The summary Claude sees to decide when to auto-load this skill.
Deploy OpenClaw AI agent platform on Alibaba Cloud ECS and integrate with DingTalk bot. OpenClaw (formerly Clawdbot/Moltbot, 中文名"龙虾") is an open-source AI assistant and automation platform supporting natural language-driven task automation with multi-channel chat integration.
SKILL.md
alibabacloud-openclaw-ecs-dingtalk.SKILL.mdname: alibabacloud-openclaw-ecs-dingtalk
description: |
Deploy OpenClaw AI agent platform on Alibaba Cloud ECS and integrate with DingTalk bot. OpenClaw (formerly Clawdbot/Moltbot, 中文名"龙虾") is an open-source AI assistant and automation platform supporting natural language-driven task automation with multi-channel chat integration. This Skill covers the full workflow from ECS instance creation, public network configuration, base environment setup, one-click OpenClaw deployment to DingTalk bot verification. End users can chat with the AI assistant by @mentioning the bot in a DingTalk group.
Triggers: "OpenClaw", "龙虾", "Clawdbot", "Moltbot", "DingTalk bot", "DingTalk AI", "deploy OpenClaw on ECS", "AI agent platform", "DingTalk integration", "openclaw dingtalk", "openclaw deploy", "DingTalk AI employee", "Alibaba Cloud OpenClaw", "Bailian + DingTalk", "DingTalk group AI", "DingTalk smart assistant", "部署龙虾", "龙虾机器人", "龙虾钉钉"
Deploy OpenClaw on ECS with DingTalk Integration
Deploy OpenClaw AI agent platform on an Alibaba Cloud ECS instance with one click, configure Alibaba Cloud Bailian LLM, and connect to a DingTalk group via a DingTalk bot, enabling users to chat with AI directly in DingTalk.
> Source: This Skill is based on Alibaba Cloud official documentation and OpenClaw open-source project documentation. See reference links at the end. > > Version: This Skill is written for OpenClaw March 2026 release and the `@dingtalk-real-ai/dingtalk-connector` plugin, verified on 2026-03-11.
Parameter Collection
Before execution, prompt the user to provide all required parameters in a single message. Do not proceed until all required parameters are received and confirmed.
Input Validation
Validate all user inputs before use to prevent command injection. Reject inputs containing shell special characters (`;`, `|`, `&`, `$`, `\`, `'`, `"`, backticks, parentheses, brackets, newlines). Parameters must match expected formats:
- `region`: `cn-[a-z]+`, `ap-[a-z]+`, `us-[a-z]+` etc.
- `instance_type`: `ecs.[a-z0-9]+.[a-z0-9]+`
- `vpc_id/vswitch_id/security_group_id`: `vpc-/vsw-/sg-[a-z0-9]+`
- `dingtalk_client_id`: `ding[a-z0-9]+`
- `dingtalk_client_secret`: 16-64 alphanumeric chars
When passing parameters to Cloud Assistant `RunCommand`, use base64 encoding for sensitive values.
ECS Instance Parameters
| Parameter | Required | Description | Example | |-----------|----------|-------------|---------| | `region` | Yes | Deployment region | `cn-hangzhou` | | `instance_type` | No | ECS instance type (default: `ecs.c6.large`, 2 vCPU 4 GB) | `ecs.c6.large` | | `image_id` | No | OS image (default: Ubuntu 22.04) | Auto-selected | | `vpc_id` | No | Existing VPC ID (auto-created if not provided) | `vpc-xxx` | | `vswitch_id` | No | Existing VSwitch ID (auto-created if not provided) | `vsw-xxx` | | `security_group_id` | No | Existing Security Group ID (auto-created if not provided) | `sg-xxx` |
OpenClaw and Bailian Parameters
The Bailian API Key (`bailian_api_key`) is **automatically obtained via CLI** during deployment (see Step 2). No manual console operation is needed. The Skill uses `aliyun modelstudio` commands (ListWorkspaces + CreateApiKey) to retrieve or create an API Key programmatically.
> Prerequisites: The user's Alibaba Cloud account must have the Bailian (Model Studio) service activated. If not activated, guide the user to visit [Bailian Console](https://bailian.console.aliyun.com/) to activate it first.
DingTalk Integration Parameters
| Parameter | Required | Description | Example | |-----------|----------|-------------|---------| | `dingtalk_client_id` | Yes | DingTalk app Client ID | `dingxxxxxx` | | `dingtalk_client_secret` | Yes | DingTalk app Client Secret | `xxxxxxxxxxxxx` |
> If the user has not created a DingTalk app, guide them to refer to the [DingTalk App Setup Guide](references/dingtalk-setup-guide.md) to create an app, configure the bot, add permissions, publish the app, and obtain credentials.
Execution Constraints
- **Sensitive information masking**: Mask middle portion of passwords, keys, tokens, IPs, instance IDs (e.g., `ak****3d`, `i-bp1****7f2z`)
- **Input validation**: Reject shell special characters (`;`, `|`, `&`, `$`, backticks, etc.). Use parameterized API calls
- **Command injection prevention**: Encode sensitive values for Cloud Assistant RunCommand using base64
- **Network timeout**: All curl/wget operations must include `--connect-timeout` and `--max-time` parameters
- Execute steps in order; verify success after each step; inform user of current step
- If any step fails, ask user for confirmation before continuing
- Cloud Assistant `RunCommand` results: poll `DescribeInvocations` every 15+ seconds
- **Destructive operations**: Confirm with user and verify resource state before deletion
---
Step 1: Create ECS Instance
1.1 Verify Alibaba Cloud Account
aliyun sts GetCallerIdentity \
--user-agent AlibabaCloud-Agent-Skills
1.2 Check Zone Availability
Query which availability zones have stock for the target instance type to avoid creating resources in an unavailable zone:
aliyun ecs DescribeAvailableResource \
--RegionId ${region} \
--DestinationResource InstanceType \
--InstanceChargeType PostPaid \
--InstanceType ${instance_type} \
--user-agent AlibabaCloud-Agent-SkillsSelect a zone where `StatusCategory` is `WithStock` from the result, record as `${zone_id}`.
1.3 Create VPC and VSwitch (if not provided by user)
# Create VPC
aliyun vpc CreateVpc \
--RegionId ${region} \
--VpcName openclaw-vpc \
--CidrBlock 172.16.0.0/16 \
--user-agent AlibabaCloud-Agent-Skills
# Create VSwitch (use the zone with stock found in the previous step)
aliyun vpc CreateVSwitch \
--RegionId ${region} \
--VpcId ${vpc_id} \
--VSwitchName openclaw-vswitch \
--CidrBlock 172.16.0.0/24 \
--ZoneId ${zone_id} \
--user-agent AlibabaCloud-Agent-Skills1.4 Create Secur
Read more
name: alibabacloud-openclaw-ecs-dingtalk description: | Deploy OpenClaw AI agent platform on Alibaba Cloud ECS and integrate with DingTalk bot. OpenClaw (formerly Clawdbot/Moltbot, 中文名"龙虾") is an open-source AI assistant and automation platform supporting natural language-driven task automation with multi-channel chat integration. This Skill covers the full workflow from ECS instance creation, public network configuration, base environment setup, one-click OpenClaw deployment to DingTalk bot verification. End users can chat with the AI assistant by @mentioning the bot in a DingTalk group. Triggers: "OpenClaw", "龙虾", "Clawdbot", "Moltbot", "DingTalk bot", "DingTalk AI", "deploy OpenClaw on ECS", "AI agent platform", "DingTalk integration", "openclaw dingtalk", "openclaw deploy", "DingTalk AI employee", "Alibaba Cloud OpenClaw", "Bailian + DingTalk", "DingTalk group AI", "DingTalk smart assistant", "部署龙虾", "龙虾机器人", "龙虾钉钉"
Deploy OpenClaw on ECS with DingTalk Integration
Deploy OpenClaw AI agent platform on an Alibaba Cloud ECS instance with one click, configure Alibaba Cloud Bailian LLM, and connect to a DingTalk group via a DingTalk bot, enabling users to chat with AI directly in DingTalk.
> Source: This Skill is based on Alibaba Cloud official documentation and OpenClaw open-source project documentation. See reference links at the end. > > Version: This Skill is written for OpenClaw March 2026 release and the `@dingtalk-real-ai/dingtalk-connector` plugin, verified on 2026-03-11.
Parameter Collection
Before execution, prompt the user to provide all required parameters in a single message. Do not proceed until all required parameters are received and confirmed.
Input Validation
Validate all user inputs before use to prevent command injection. Reject inputs containing shell special characters (`;`, `|`, `&`, `$`, `\`, `'`, `"`, backticks, parentheses, brackets, newlines). Parameters must match expected formats:
- `region`: `cn-[a-z]+`, `ap-[a-z]+`, `us-[a-z]+` etc.
- `instance_type`: `ecs.[a-z0-9]+.[a-z0-9]+`
- `vpc_id/vswitch_id/security_group_id`: `vpc-/vsw-/sg-[a-z0-9]+`
- `dingtalk_client_id`: `ding[a-z0-9]+`
- `dingtalk_client_secret`: 16-64 alphanumeric chars
When passing parameters to Cloud Assistant `RunCommand`, use base64 encoding for sensitive values.
ECS Instance Parameters
| Parameter | Required | Description | Example | |-----------|----------|-------------|---------| | `region` | Yes | Deployment region | `cn-hangzhou` | | `instance_type` | No | ECS instance type (default: `ecs.c6.large`, 2 vCPU 4 GB) | `ecs.c6.large` | | `image_id` | No | OS image (default: Ubuntu 22.04) | Auto-selected | | `vpc_id` | No | Existing VPC ID (auto-created if not provided) | `vpc-xxx` | | `vswitch_id` | No | Existing VSwitch ID (auto-created if not provided) | `vsw-xxx` | | `security_group_id` | No | Existing Security Group ID (auto-created if not provided) | `sg-xxx` |
OpenClaw and Bailian Parameters
The Bailian API Key (`bailian_api_key`) is **automatically obtained via CLI** during deployment (see Step 2). No manual console operation is needed. The Skill uses `aliyun modelstudio` commands (ListWorkspaces + CreateApiKey) to retrieve or create an API Key programmatically.
> Prerequisites: The user's Alibaba Cloud account must have the Bailian (Model Studio) service activated. If not activated, guide the user to visit [Bailian Console](https://bailian.console.aliyun.com/) to activate it first.
DingTalk Integration Parameters
| Parameter | Required | Description | Example | |-----------|----------|-------------|---------| | `dingtalk_client_id` | Yes | DingTalk app Client ID | `dingxxxxxx` | | `dingtalk_client_secret` | Yes | DingTalk app Client Secret | `xxxxxxxxxxxxx` |
> If the user has not created a DingTalk app, guide them to refer to the [DingTalk App Setup Guide](references/dingtalk-setup-guide.md) to create an app, configure the bot, add permissions, publish the app, and obtain credentials.
Execution Constraints
- **Sensitive information masking**: Mask middle portion of passwords, keys, tokens, IPs, instance IDs (e.g., `ak****3d`, `i-bp1****7f2z`)
- **Input validation**: Reject shell special characters (`;`, `|`, `&`, `$`, backticks, etc.). Use parameterized API calls
- **Command injection prevention**: Encode sensitive values for Cloud Assistant RunCommand using base64
- **Network timeout**: All curl/wget operations must include `--connect-timeout` and `--max-time` parameters
- Execute steps in order; verify success after each step; inform user of current step
- If any step fails, ask user for confirmation before continuing
- Cloud Assistant `RunCommand` results: poll `DescribeInvocations` every 15+ seconds
- **Destructive operations**: Confirm with user and verify resource state before deletion
---
Step 1: Create ECS Instance
1.1 Verify Alibaba Cloud Account
aliyun sts GetCallerIdentity \ --user-agent AlibabaCloud-Agent-Skills
1.2 Check Zone Availability
Query which availability zones have stock for the target instance type to avoid creating resources in an unavailable zone:
aliyun ecs DescribeAvailableResource \
--RegionId ${region} \
--DestinationResource InstanceType \
--InstanceChargeType PostPaid \
--InstanceType ${instance_type} \
--user-agent AlibabaCloud-Agent-SkillsSelect a zone where `StatusCategory` is `WithStock` from the result, record as `${zone_id}`.
1.3 Create VPC and VSwitch (if not provided by user)
# Create VPC
aliyun vpc CreateVpc \
--RegionId ${region} \
--VpcName openclaw-vpc \
--CidrBlock 172.16.0.0/16 \
--user-agent AlibabaCloud-Agent-Skills
# Create VSwitch (use the zone with stock found in the previous step)
aliyun vpc CreateVSwitch \
--RegionId ${region} \
--VpcId ${vpc_id} \
--VSwitchName openclaw-vswitch \
--CidrBlock 172.16.0.0/24 \
--ZoneId ${zone_id} \
--user-agent AlibabaCloud-Agent-Skills1.4 Create Secur
Official Alibaba Cloud Agent Skills collection, providing AI agents with rich Alibaba Cloud product capabilities and general-purpose tooling.
Other skills on alibabacloud-aiops-skills.
- /alibabacloud-agentbay-aio-skills
Execute code in a secure cloud sandbox via AgentBay SDK. Use this skill whenever users request to run, execute, or evaluate code (Python, JavaScript, R, Java), including plotting charts, running scripts, or viewing code output. Covers requests like "run this code", "execute
Open skill - /alibabacloud-agentloop-dataset
Operate Alibaba Cloud AgentLoop Dataset resources with aliyun CLI and the AgentLoop API version 2026-05-20. Use when requests concern AgentLoop datasets, data rows, Dataset schemas, embedding fields, semantic search, ExecuteQuery, AgentSpace data, 数据集, 数据写入, 数据查询, 语义检索, or ask
Open skill - /alibabacloud-agentloop-evaluation
Orchestrate AgentLoop evaluation workflows through the Aliyun CLI plugin with safe previews, saved evaluator and evaluator-skill management, one-shot sample tests, trace or dataset batch runs, polling, and result inspection. Analyze evaluation quality and low-score cases from
Open skill - /alibabacloud-agentloop-experience
Proactively use AgentLoop Recall to retrieve prior Alibaba Cloud AgentLoop experience through the bundled SearchContext CLI whenever the user asks or implies that prior work may help. Trigger for requests to check, search, recall, retrieve, look up, review, consult, reference,
Open skill - /alibabacloud-agentloop-management
AgentLoop APM接入 / AI可观测接入 / 应用监控接入 / 自研探针 / 探针安装. Use for Python aliyun-bootstrap (aliyun-instrument), Java AliyunJavaAgent, Golang instgo, Node.js cms_node_sdk, PHP/.NET OpenTelemetry, ack-onepilot, LicenseKey, AgentLoop workspace agentloop-*. Also for LangChain, Dify,
Open skill - /alibabacloud-avatar-video
Use Alibaba Cloud DashScope API and LingMou to generate AI video and speech. Seven capabilities — (1) LivePortrait talking-head (image + audio → video, two-step), (2) EMO talking-head, (3) AA/AnimateAnyone full-body animation (three-step), (4) T2I text-to-image (Wan 2.x, default
Open skill

