Skip to main content
skill CX Codex

alibabacloud-data-agent-skill — Claude Code skill: setup guide

alibabacloud-data-agent-skill connects your coding assistant to Alibaba Cloud Apsara Data Agent for natural language database queries and automated reports.

no license 180 installs ★ 300 updated 2026-10-23

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-data-agent-skill -a claude-code
Open on GitHub

What alibabacloud-data-agent-skill does

The skill routes data questions to scripts/data_agent_cli.py, wrapping the enterprise Apsara Data Agent. It looks up metadata in DMS, verifies assets in the workspace, and runs sync queries via ASK_DATA or lengthy explorations in ANALYSIS mode.

Databases must be registered in the Data Center beforehand using the dms discovery and import subcommands. Without Python 3.10 or newer and appropriate AliyunDMSFullAccess permissions, CLI execution fails immediately.

What it helps with

  • inspect database assets and tables managed inside Alibaba Cloud DMS
  • run plain-text analytics against live enterprise databases
  • trigger long-running metric investigations with async progress tracking
  • summarize patterns and trends from local CSV files

Example prompts for the agent

  • Query the employee database using Data Agent to calculate average tenure
  • Start an asynchronous deep analysis session for recent billing anomalies
  • List available DMS instances and import the sales schema into Data Center

How to install alibabacloud-data-agent-skill

1Skills CLI (Vercel)

npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-data-agent-skill -a claude-code

2Manually: put the files in place

~/.claude/skills/alibabacloud-data-agent-skill/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/alibabacloud-data-agent-skill/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about alibabacloud-data-agent-skill

How to install alibabacloud-data-agent-skill in Claude Code?

Run npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-data-agent-skill -a claude-code. The file will be placed at ~/.claude/skills/alibabacloud-data-agent-skill/SKILL.md.

What does alibabacloud-data-agent-skill do?

It lets the AI assistant call Alibaba Cloud Apsara Data Agent via CLI, turning natural language questions into database insights and formatted summaries.

What prerequisites are needed before running queries?

You need Python 3.10+ in a virtual environment, target schemas imported into Data Agent Data Center, and valid credentials via default chain or DATA_AGENT_API_KEY.

Similar skills

All skills for Cloud: AWS, Azure, GCP →

From the same set66

The whole set →
alibabacloud-odps-maxframe-coding alibabacloud-odps-maxframe-coding — a skill for MaxFrame SDK on Alibaba Cloud MaxCompute: builds data pipelines, reads and writes ODPS tables, debugs jobs, and creates custom DPE runtime images. CX Codex +1 188installs alibabacloud-ecs-install-extension alibabacloud-ecs-install-extension is a Claude Code skill for browsing Alibaba Cloud ECS packages, checking compatibility, and installing extensions such as Python and Node.js with one click. CX Codex +1 186installs alibabacloud-solution-deploy The alibabacloud-solution-deploy skill automates deployment of official Alibaba Cloud solutions via Terraform or CLI. Use it to spin up ready-made architectures—from RAG systems to web applications—without clicking through the console. CX Codex +1 182installs alibabacloud-sas-incident-manage alibabacloud-sas-incident-manage queries Alibaba Cloud Security Center for incidents, incident details, and threat trends through Cloud SIEM and Aliyun CLI. CX Codex +1 181installs alibabacloud-polardbx-sql alibabacloud-polardbx-sql — a skill for writing SQL on distributed PolarDB-X 2.0 Enterprise Edition databases in AUTO mode, designing partition schemes, and avoiding MySQL incompatibilities. CX Codex +1 180installs alibabacloud-emr-starrocks-manage alibabacloud-emr-starrocks-manage — a skill for Alibaba Cloud EMR Serverless StarRocks lifecycle management: create, scale, configure, and troubleshoot instances via CLI. Use it when SREs or architects need to automate StarRocks operations. CX Codex +1 176installs alibabacloud-esa-pages-deploy alibabacloud-esa-pages-deploy deploys HTML files, frontend build folders, and custom JavaScript edge functions to Alibaba Cloud ESA nodes with Edge KV management. CX Codex +1 176installs alibabacloud-dts-task-query alibabacloud-dts-task-query polls the Alibaba Cloud CLI for DTS job state in every region, then prints a Chinese report grouped by type with filters for instance or job name. CX Codex +1 174installs

Project sponsors

Companies that keep this analytics open