Alibaba Cloud DMS Data Agent Platform Setup for Openclaw

An automated utility to provision, deploy, and configure Dify agent platform instances on Alibaba Cloud DMS using OpenAPI, featuring simple and advanced custom modes.

sdk-team
v0.0.2
Jun 25, 2026
0
852
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install alibabacloud-dms-data-agent-platform-setup

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install alibabacloud-dms-data-agent-platform-setup using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Alibaba Cloud DMS Data Agent Platform Setup?

The Alibaba Cloud DMS Data Agent Platform Setup skill enables developers to automatically provision and configure a robust Dify instance inside Alibaba Cloud DMS using OpenAPI. Building on the capabilities of Openclaw Skills, this workflow simplifies deploying production-ready AI agent platforms by streamlining workspace and backend component generation.

By encapsulating the setup in two primary modes—Simple and Advanced—it lets you either deploy the entire system from scratch (with fresh database, KV store, and vector database resources) or surgically target existing infrastructure resources. This skill provides structural automation and consistency, making it an essential asset for teams using Openclaw Skills to scale their AI application architectures.

Alibaba Cloud DMS Data Agent Platform Setup Use Cases

  • Deploying a brand new Dify LLM application framework on Alibaba Cloud infrastructure for team-wide development.
  • Integrating an existing cloud database, Redis KV store, or vector database into a newly provisioned Dify agent workspace.
  • Running dry-run validation checks before provisioning expensive cloud resources to ensure networking configuration accuracy.
  • Standardizing multi-environment deployment of AI workspace infrastructures using automated Openclaw Skills workflows.

How Alibaba Cloud DMS Data Agent Platform Setup Works

  1. Precheck Verification: The workflow runs a detection script (detect_dify_instance.py) to ensure the DMS service is active and available in the target region.
  2. Session and UA Setup: Generates a persistent 32-character session ID to track operations and injects it into all CLI actions and OpenAPI SDK headers.
  3. Credential Resolution: Authenticates using the configured Aliyun CLI profile and the default Python SDK credential chain.
  4. Input Gathering: Collects networking parameters (VPC, VSwitch, Security Group) and determines whether to spin up new resources or reuse existing ones.
  5. Dry Run Validation: Executes the provision call (openAPI_call.py) with DryRun: true to identify validation or structural errors without incurring costs.
  6. Final Provisioning: Executes the final API command with DryRun: false to deploy the complete Dify agent platform.

Alibaba Cloud DMS Data Agent Platform Setup Setup

Prerequisites

  1. Verify Aliyun CLI version >= 3.3.1:
aliyun version

If upgrade is needed (macOS):

brew upgrade aliyun-cli
aliyun configure set --auto-plugin-install true
  1. Generate Session ID for Observability:
export SKILL_SESSION_ID=$(openssl rand -hex 16)
  1. Configure Alibaba Cloud Credentials: Ensure CLI profile is active:
aliyun configure list

If configuration is missing:

aliyun configure set \
  --mode AK \
  --access-key-id <id> \
  --access-key-secret <secret> \
  --region cn-hangzhou

Also make sure your local environment is configured for the Python SDK default credential chain.

  1. Set Up Python Environment:
uv venv .venv
source .venv/bin/activate
uv pip install -r scripts/requirements.txt
  1. Run Pre-check:
.venv/bin/python ./scripts/detect_dify_instance.py cn-shanghai

Alibaba Cloud DMS Data Agent Platform Setup Data Schema & Taxonomy

This Openclaw Skills module structures parameters using a structured JSON payload passed to openAPI_call.py. The schema organization includes:

Primary Core Schema Parameters

Parameter Type Description
VpcId String The target Virtual Private Cloud ID
VSwitchId String Primary Virtual Switch ID
BackupVSwitchId String Secondary Virtual Switch for HA
SecurityGroupId String Firewall security group ID
WorkspaceOption String CreateNewInstance or UseExistingInstance
DatabaseOption String Database creation method (CreateNewInstance / UseExistingInstance)
KvStoreOption String KV store creation method (CreateNewInstance / UseExistingInstance)
VectordbOption String Vector database method (CreateNewInstance / UseExistingInstance)
DryRun Boolean Validation-only flag (true / false)

Sub-Service Custom Resource Mapping

If reusing existing infrastructure in Advanced Mode, integers mapping to database assets must be extracted using the CLI:

  • DbResourceId: Integer ID of an existing database
  • KvStoreResourceId: Integer ID of an existing KV Store/Redis
  • VectordbResourceId: Integer ID of an existing Vector DB

Alibaba Cloud DMS Data Agent Platform Setup Advanced Features

  • Dual Execution Modes: Choose Simple Mode for fast, fully managed resource instantiation, or Advanced Mode for fine-grained sub-service binding.
  • Dry Run Verification: Validate configuration payloads, IAM policies, and VPC network connectivity constraints safely before provisioning physical cloud assets.
  • Automated Resource Identification: Query existing DMS active instance resources directly using automated CLI subprocesses when IDs are unknown.
  • Unified Session Tracking: Every deployment leverages a generated session tracking ID embedded in user-agent string headers to simplify cloud audit trail tracking with Openclaw Skills.
  • Flexible Licensing and Sizing: Set resource quotas, replicas, pay types (prepaid vs. postpaid), and specify OpenCommunity, Community, or Enterprise editions natively.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*