Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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…

huaweicloudskillот 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:

  1. Stream channels — ListStreams, ShowStream, CreateStream, DeleteStream, UpdateStream, UpdatePartitionCount
  2. Dump (transfer) tasks — CreateObsTransferTask, CreateDwsTransferTask, CreateDliTransferTask, CreateMrsTransferTask, CreateCloudTableTransferTask, ListTransferTasks, ShowTransferTask, BatchStartTransferTask, BatchStopTransferTask, DeleteTransferTask
  3. Monitoring — ShowStreamMetrics, ShowPartitionMetrics, ShowConsumerState
  4. Consumption apps and checkpoints — CreateApp, ListApp, ShowApp, DeleteApp, CommitCheckpoint, ShowCheckpoint, DeleteCheckpoint
  5. Data verification — SendRecords, ShowCursor, ConsumeRecords
  6. 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

  1. hcloud CLI installed (KooCLI 3.x or later) and authenticated with a valid AK/SK profile. Installation and configuration: references/cli-installation-guide.md.
  2. IAM permissions: DIS read permissions for queries; DIS write permissions for create/update/delete/scale/policy actions. See references/iam-policies.md.
  3. Region and project: DIS is regional. Pass --cli-region={region} on every command; --project_id is auto-filled from the profile (parent project of the selected region) and normally omitted.
  4. Transfer task dependencies: an agency (dis_admin_agency or 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).
  5. Consumer app: create an app (CreateApp) before committing checkpoints.
  • skill-quality-cli — ensured by bash scripts/ensure_cli.sh (idempotent, skips if present)
    • Upgrade: run skill-quality-cli upgrade manually (no auto-upgrade); if a new shell reports command not found, run export PATH="$HOME/.local/bin:$PATH".
    • Disable telemetry report: set SKILL_QUALITY_REPORT=0

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
Полный SKILL.md на ClawHub

Установить 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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить huawei-cloud-dis-manage с