huawei-cloud-dis-manage
БесплатноЗапускает вложенные скриптыНе проверенManages Huawei Cloud DIS (Data Ingestion Service) full lifecycle: stream channel create/list/show/delete, retention and data-type updates, partition…
от huaweicloudskill178 установок в других каталогахОб этом скилле
Huawei Cloud DIS Stream Management Skill
Overview
This Skill provides a full-lifecycle operations toolkit for Huawei Cloud DIS
(Data Ingestion Service, 数据接入服务) using the dis service of the hcloud
CLI. It covers six capability groups:
- Stream channels —
ListStreams,ShowStream,CreateStream,DeleteStream,UpdateStream,UpdatePartitionCount - Dump (transfer) tasks —
CreateObsTransferTask,CreateDwsTransferTask,CreateDliTransferTask,CreateMrsTransferTask,CreateCloudTableTransferTask,ListTransferTasks,ShowTransferTask,BatchStartTransferTask,BatchStopTransferTask,DeleteTransferTask - Monitoring —
ShowStreamMetrics,ShowPartitionMetrics,ShowConsumerState - Consumption apps and checkpoints —
CreateApp,ListApp,ShowApp,DeleteApp,CommitCheckpoint,ShowCheckpoint,DeleteCheckpoint - Data verification —
SendRecords,ShowCursor,ConsumeRecords - Governance —
CreatePolicies,ListPolicies, stream tags (CreateTag,BatchCreateTags,ListTags,ShowStreamTags,DeleteTag,BatchDeleteTags,ListResourcesByTags)
Every operation is executed through KooCLI against the DIS v2/v3 REST API; the
verified operation catalog (method, path, required parameters) is in
references/dis-operation-catalog.md.
Important Constraints
| Constraint | Policy |
|---|---|
| High-risk operations | Double confirmation required before DeleteStream, DeleteTransferTask, BatchStopTransferTask/BatchStartTransferTask on production streams, DeleteApp, DeleteCheckpoint, UpdatePartitionCount scale-down, UpdateStream retention/data-type changes, and CreatePolicies/DeleteTag. Never delete streams or dump tasks during a patrol — report candidates and wait for confirmation |
| Data privacy | SendRecords accepts Base64-encoded payloads. Never include production customer data in test records; use synthetic payloads |
| Credentials | AK/SK are read from the user's KooCLI profile or environment. Never hardcode, print, or extract credentials; mask them in every report |
| Scope | All operations stay within DIS resources; no OBS object content changes, no IAM policy changes, no changes to DWS/DLI/MRS/CloudTable internal data |
Dependency: Quality telemetry is collected automatically via skill-quality-cli (installed by scripts/ensure_cli.sh if absent).
Prerequisites
- hcloud CLI installed (KooCLI 3.x or later) and authenticated with a valid
AK/SK profile. Installation and configuration:
references/cli-installation-guide.md. - IAM permissions: DIS read permissions for queries; DIS write permissions
for create/update/delete/scale/policy actions. See
references/iam-policies.md. - Region and project: DIS is regional. Pass
--cli-region={region}on every command;--project_idis auto-filled from the profile (parent project of the selected region) and normally omitted. - Transfer task dependencies: an agency (
dis_admin_agencyor an equivalent user-created agency granting DIS access) plus the destination resource (OBS bucket, DWS cluster/table, DLI database/table, MRS cluster with non-Kerberos auth, or CloudTable cluster/table). - Consumer app: create an app (
CreateApp) before committing checkpoints.
skill-quality-cli— ensured bybash scripts/ensure_cli.sh(idempotent, skips if present)- Upgrade: run
skill-quality-cli upgrademanually (no auto-upgrade); if a new shell reportscommand not found, runexport PATH="$HOME/.local/bin:$PATH". - Disable telemetry report: set
SKILL_QUALITY_REPORT=0
- Upgrade: run
Workflow
Scenario 1: Stream Inventory and Health Patrol (巡检)
ListStreams --limit -> stream names; ShowStream per stream -> status, partitions, retention, data type
ListTransferTasks per stream -> dump task state; ShowStreamMetrics -> ingest/egress rate and latency
Output: structured patrol report (inventory + unhealthy streams + failed dump tasks + cleanup proposals)
Scenario 2: Create a Stream Channel
ListStreams -> verify the name is free (DIS stream names are unique per tenant/region)
CreateStream --stream_name --partition_count --stream_type --data_type --data_duration
ShowStream -> verify status RUNNING and partition count
Output: created stream snapshot (name, id, partitions, retention, type)
Partition sizing: one partition is the base throughput unit; COMMON streams are 1 Mbit/s each and ADVANCED streams 5 Mbit/s each. Default quota is 50 COMMON or 10 ADVANCED partitions per account; request a quota increase for larger streams.
Scenario 3: Capacity Changes (扩容/缩容)
ShowStream -> current partition count and status
UpdatePartitionCount --target_partition_count -> scale-up or scale-down (max 5 changes/hour)
UpdateStream -> retention (24-72 h), data type, auto-scaling bounds
ShowStream -> verify the new partition count
Scenario 4: Configure a Dump Task (数据转储)
ListTransfe
Установить huawei-cloud-dis-manage в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл huawei-cloud-dis-manage?
Manages Huawei Cloud DIS (Data Ingestion Service) full lifecycle: stream channel create/list/show/delete, retention and data-type updates, partition scale-up/scale-down, dump (transfer) tasks to OBS/DWS/DLI/MRS/CloudTable with start/stop/delete, real-time ingestion metrics for streams and partitions, consumer apps, cursors, checkpoints, data upload/consumption verification, stream authorization policies and resource tags. Produces structured inventory and monitoring reports; all mutating operations require explicit user confirmation. Triggers include: "DIS通道管理", "DIS数据接入", "创建DIS通道", "查询DIS通道", "删除DIS通道", "DIS分区扩容", "DIS转储任务", "DIS监控指标", "DIS消费组", "DIS数据上传", "DIS日常巡检", "DIS troubleshooting", "Data Ingestion Service", "DIS stream", "create DIS stream", "DIS dump task", "DIS metrics", "DIS partition scale", "ingest data into DIS".
Как установить скилл huawei-cloud-dis-manage?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл huawei-cloud-dis-manage запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic