alibabacloud-bailian-m…
Explain, evaluate, demonstrate, provision, and integrate Alibaba Cloud Bailian Managed Agent (CMA / ManagedAgents). Use for Bailian Managed Agent product…
Creates and triggers an LHM per-table count validation task, corresponding to run_count_check() in the outer common.py.
$ npx -y skills add aliyun/alibabacloud-aiops-skills --skill lhm-count-check --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/lhm-count-checkContext preview
The summary Claude sees to decide when to auto-load this skill.
Creates and triggers an LHM per-table count validation task, corresponding to run_count_check() in the outer common.py.
name: lhm-count-check version: 1.0.0 description: Creates and triggers an LHM per-table count validation task, corresponding to run_count_check() in the outer common.py.
Creates and triggers an LHM (Lakehouse Migration Center) per-table count validation task. Automatically completes: task creation → per-table configuration → batch saving → immediate execution.
1. Confirm that the aliyun CLI + aliyun-cli-lhm plugin and `pyyaml` are installed (see "Environment Preparation" in the root README). 2. Construct the `--tables-json` argument: a JSON array where each element is a list of 4 strings `[source_table, target_table, source_partition, target_partition]`; an empty string for a partition means a whole-table check. 3. Invoke this script, passing all required parameters via the command line. Data sources support alias mode: use `--src-alias` and `--dst-alias` to resolve from data_validation_config.yaml, in which case `--src-ds-id/name/type` do not need to be passed. 4. The script calls `run_count_check()` in the outer `scripts/common.py` to create the task and trigger execution. 5. On success, stdout outputs JSON: `{"ok": true, "task_id": ..., "batch_id": ...}`.
Input (command line):
python atomic-skills/lhm-count-check/scripts/run.py \
--task-name "逐表数据量校验" \
--src-ds-id ds-src-001 \
--src-ds-name "源端MySQL" \
--src-ds-type MySQL \
--dst-ds-id ds-dst-001 \
--dst-ds-name "目标端Hive" \
--dst-ds-type Hive \
--tables-json '[
["src_db.orders", "dst_db.orders", "dt=20240305", "dt=20240305"],
["src_db.users", "dst_db.users", "", ""]
]' \
--threshold 0.0 \
--region hangzhouOutput (stdout):
{"ok": true, "task_id": 12345, "batch_id": 67890}Using alias mode (data sources resolved from data_validation_config.yaml):
python atomic-skills/lhm-count-check/scripts/run.py \ --task-name "逐表数据量校验" \ --src-alias mc_source \ --dst-alias sr_target \ --tables-json '[["src_db.orders", "dst_db.orders", "", ""]]' \ --threshold 0.0
Official Alibaba Cloud Agent Skills collection, providing AI agents with rich Alibaba Cloud product capabilities and general-purpose tooling.
Explain, evaluate, demonstrate, provision, and integrate Alibaba Cloud Bailian Managed Agent (CMA / ManagedAgents). Use for Bailian Managed Agent product…
Alibaba Cloud Parse-X intelligent document parsing and extraction tool. Supports two capabilities: (1) Parse — convert documents, images, and audio/video to…
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),…
Operate Alibaba Cloud AgentLoop Dataset resources with aliyun CLI and the AgentLoop API version 2026-05-20. Use when requests concern AgentLoop datasets, data…
Orchestrate AgentLoop evaluation workflows through the Aliyun CLI plugin with safe previews, saved evaluator and evaluator-skill management, one-shot sample…
Proactively use AgentLoop Recall to retrieve prior Alibaba Cloud AgentLoop experience through the bundled SearchContext CLI whenever the user asks or implies…