alibabacloud-bailian-m…
Explain, evaluate, demonstrate, provision, and integrate Alibaba Cloud Bailian Managed Agent (CMA / ManagedAgents). Use for Bailian Managed Agent product…
Agent Playbook for LHM schedule data source management. Guides the user through data source creation, validation, OSS file upload, and connectivity testing. Triggers: create a data source, add a data source, validate a data source name, upload a metadata file, test connectivity,
$ npx -y skills add aliyun/alibabacloud-aiops-skills --skill lhm-sch-ds --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/lhm-sch-dsContext preview
The summary Claude sees to decide when to auto-load this skill.
Agent Playbook for LHM schedule data source management. Guides the user through data source creation, validation, OSS file upload, and connectivity testing. Triggers: create a data source, add a data source, validate a data source name, upload a metadata file, test connectivity,
name: lhm-sch-ds description: | Agent Playbook for LHM schedule data source management. Guides the user through data source creation, validation, OSS file upload, and connectivity testing. Triggers: create a data source, add a data source, validate a data source name, upload a metadata file, test connectivity, or any request related to LHM schedule data source management. Do not trigger for: schedule migration tasks, SQL conversion, DDL translation, or other non-data-source-management tasks.
This Skill is **Agent-driven**. The `lhm-sch-ds` CLI exposes **stateless single-step commands**: each command makes **exactly one** API call, prints structured JSON status, and exits. There are **no loops inside** — the **Agent** is responsible for orchestrating step order, asking the user for decisions, and performing the OSS file upload (via curl). State (parsed configuration, data source name, new ID) is passed explicitly via command-line arguments; the CLI itself persists nothing.
This skill covers **data source management only** — querying existing data sources, name validation, metadata upload, creation, and connectivity testing. It never plans, executes, or collects parameters for the schedule migration chain (exploration / conversion / deployment).
**The environment and credentials have already been prepared by [lhm-sch-env](../lhm-sch-env/SKILL.md) at session start; this skill performs no environment validation whatsoever.** Simply run the business commands — do not run validation scripts, do not run `validate`, and do not re-confirm credentials or prompt the user about configuration.
> ⛔ **The one exception — the `aliyun-cli-lhm` plugin (hard stop)**: every command below reaches the service through `aliyun lhm <command>`, so the plugin (>= 0.1.1, i.e. `~/.aliyun/plugins/aliyun-cli-lhm/manifest.json` exists) must be present. If it is not, **stop before Step 0**: report the environment error verbatim and terminate. > > In particular, do **not** ask the user for `dsName`, `dsType`, or any other business parameter. The clarification rules further below are mandatory **only once the plugin is confirmed available** — while it is missing, every `check` / `check-name` / `create` / `test-conn` call is guaranteed to fail, so an answer collected now can never be used. Do **not** run `uv tool install` or `lhm-sch-ds` either: this CLI shells out to `aliyun lhm`, so a successful install is never proof that the flow can proceed.
Only when a command actually reports an environment-class error (e.g., credentials not found, command not found) should it be handed to [lhm-sch-env](../lhm-sch-env/SKILL.md); when relaying its guidance, **never write secrets on behalf of the user, and never echo secret values**.
All commands are executed via `lhm-sch-ds <command>`.
Each single-step command outputs a JSON object with a `status` field to **stdout** and exits with an exit code; the Agent branches on them:
| `status` | Exit code | Meaning | Agent action | |----------|-----------|---------|--------------| | `ok` | `0` | Operation succeeded | Use the payload and proceed to the next step | | `empty` | `0` | `check` — no same-name data source found | Continue with `check-name` → `create` | | `match` | `0` | `check` — one or more existing data sources found | Show `matches` to the user and ask which one to use | | `available` | `0` | `check-name` — the name is available | Continue with upload/create | | `exists` | `2` | `check-name` — the name is taken or invalid | Have the user provide a new name and rerun `check-name` | | `failed` | `2` | Unrecoverable business/API error | Report `err_message` and abort | | *(config error)* | `1` | Missing credentials / invalid config file | Fix the environment and retry |
# 1. Query whether a same-name data source already exists (ListMetaDataComponentPage) # --ds-type may be omitted: when omitted, dsType is sent as an empty string "" (no type filtering) lhm-sch-ds check --ds-name <DS_NAME> [--ds-type <DS_TYPE>] [--category-type WORKFLOW] # 2. Validate name uniqueness before creation (ExecMetaDataComponentName) lhm-sch-ds check-name --ds-name <DS_NAME> # 3. Upload a local metadata file to OSS — o
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…