Command Palette

Search for a command to run...

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

huawei-cloud-bcs-manage

БесплатноЗапускает вложенные скриптыНе проверен

Query and manage Huawei Cloud BCS (Blockchain Service, 区块链服务) from one entry point. Read-only: list blockchain instances with status/version/charging details…

huaweicloudskillот huaweicloudskill178 установок в других каталогах

Об этом скилле

Huawei Cloud BCS Manage Skill

Overview

This skill is the single entry point for Huawei Cloud BCS (Blockchain Service, 区块链服务): read-only inspection and state-changing operations live in one script and one document.

Read-only coverage:

  • instance inventory and per-instance detail
  • organization and peer node information
  • channels, union members and invitation notifications
  • specifications, quotas and creation/deployment status
  • asynchronous operation records
  • alerts (current/history, optional statistics) and monitoring metrics

Write coverage:

  • certificate and Fabric SDK configuration download
  • certificate creation, freeze and unfreeze
  • channel create/delete, peer add/remove, organization removal
  • instance create/update/delete
  • union member invitation, invitation cancellation, invitation handling and union quit

Architecture:

Agent → scripts/bcs_manage.py → huaweicloudsdkbcs (SDK) → BCS v2 API

Execution mode: SDK. KooCLI exposes BCS only when the local KooCLI metadata cache contains the BCS service template (~/.hcloud/metaRepo/template/bcs); on a machine without that template hcloud BCS --help returns [USE_ERROR]Unsupported service: BCS. (exit 0). Because that availability is environment-dependent, this skill does not depend on KooCLI and always uses the huaweicloudsdkbcs Python SDK. API paths below were verified from the SDK's _http_info definitions.

Feature Method API path
Instance list list_blockchains GET /v2/{project_id}/blockchains
Instance detail show_blockchain_detail GET /v2/{project_id}/blockchains/{blockchain_id}
Organization nodes show_blockchain_nodes GET /v2/{project_id}/blockchains/{blockchain_id}/nodes
Channels list_blockchain_channels GET /v2/{project_id}/blockchains/{blockchain_id}/channels
Union members list_members GET /v2/{project_id}/members
Notifications list_notifications GET /v2/{project_id}/notifications
Specifications show_blockchain_flavors GET /v2/{project_id}/blockchains/flavors
Quotas list_quotas GET /v2/{project_id}/quotas
Creation status show_blockchain_status GET /v2/{project_id}/blockchains/{blockchain_id}/status
Operation records list_op_record GET /v2/{project_id}/operation/record
Alerts list_bcs_events POST /v2/{project_id}/blockchains/{blockchain_id}/events
Alert statistics list_bcs_events_statistic POST /v2/{project_id}/blockchains/{blockchain_id}/events/statistic
Instance metrics list_bcs_metric POST /v2/{project_id}/blockchains/{blockchain_id}/metric/list
Entity metrics list_entity_metric POST /v2/{project_id}/blockchains/{blockchain_id}/entity/metric/list
Node metrics list_instance_metric POST /v2/{project_id}/blockchains/{blockchain_id}/entity/instance/metric/list
Download certificates download_blockchain_cert GET /v2/{project_id}/blockchains/{blockchain_id}/cert
Download SDK config download_blockchain_sdk_config POST /v2/{project_id}/blockchains/{blockchain_id}/sdk-cfg
Create user certificate create_blockchain_cert_by_user_name POST /v2/{project_id}/blockchains/{blockchain_id}/orgs/{org_name}/usercert/{user_name}
Freeze certificate freeze_cert POST /v2/{project_id}/blockchains/{blockchain_id}/orgs/{org_name}/usercert/{user_name}/freeze
Unfreeze certificate unfreeze_cert POST /v2/{project_id}/blockchains/{blockchain_id}/orgs/{org_name}/usercert/{user_name}/unfreeze
Create channels batch_create_channels POST /v2/{project_id}/blockchains/{blockchain_id}/channels
Add peers to channel batch_add_peers_to_channel POST /v2/{project_id}/blockchains/{blockchain_id}/channels/peers
Remove peers batch_remove_peers_from_channel PUT /v2/{project_id}/blockchains/{blockchain_id}/{channel_id}/peers/quit
Remove organizations batch_remove_orgs_from_channel PUT /v2/{project_id}/blockchains/{blockchain_id}/{channel_id}/orgs/quit
Delete channel delete_channel DELETE /v2/{project_id}/blockchains/{blockchain_id}/channel/{channel_id}
Create instance create_new_blockchain POST /v2/{project_id}/blockchains
Update instance update_instance PUT /v2/{project_id}/blockchains/{blockchain_id}
Delete instance delete_blockchain DELETE /v2/{project_id}/blockchains/{blockchain_id}
Invite members batch_invite_members_to_channel POST /v2/{project_id}/members/invitations
Cancel invitation delete_member_invite DELETE /v2/{project_id}/members/invitations
Handle invitation handle_notification POST /v2/{project_id}/notification/handle
Quit union handle_union_member_quit_list PUT /v2/{project_id}/members/quit

Execution-quality reporting: every run reports trace_id, status (success / biz_fail / sys_fail), error code and co

Полный SKILL.md на ClawHub

Установить huawei-cloud-bcs-manage в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл huawei-cloud-bcs-manage?

Query and manage Huawei Cloud BCS (Blockchain Service, 区块链服务) from one entry point. Read-only: list blockchain instances with status/version/charging details, instance detail, organization/peer nodes, channels, union members and invitations, specifications, quotas, creation/deployment status, asynchronous operation records, alerts and monitoring metrics. Write: download certificates and Fabric SDK configuration, create/freeze/unfreeze user certificates, create/delete channels, add/remove peers and organizations, create/update/delete instances, and handle union member invitations. Uses the huaweicloudsdkbcs Python SDK (KooCLI only exposes BCS when its local metadata cache holds the BCS service template, so this skill does not depend on KooCLI). Read-only commands never prompt; every write prints an impact preview and requires --confirm, and asynchronous results are reported through ListOpRecord. Never queries or modifies chaincode lifecycle (no BCS OpenAPI; use the console). Use when the user wants to list/inspect BCS instances, channels, organizations, peers, members, quotas, alerts or metrics (inventory, daily inspection, troubleshooting, cost review), or to change BCS resources: create or delete an instance, manage channels/peers/organizations, issue or revoke certificates, download SDK config, or accept/reject union invitations. Triggers include: "BCS", "blockchain service", "区块链", "区块链服务", "BCS 实例", "blockchain instance", "BCS channel", "通道", "联盟成员", "BCS 配额", "BCS 告警", "BCS 监控", "BCS 监控指标", "list BCS", "query blockchain", "查看区块链实例", "查询区块链通道", "查询链码 SDK 配置", "how many blockchain instances", "创建区块链实例", "删除区块链实例", "BCS channel management", "创建通道", "删除通道", "添加节点", "移除组织", "下载证书", "下载SDK配置", "冻结证书", "联盟邀请", "BCS manage".

Как установить скилл huawei-cloud-bcs-manage?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл huawei-cloud-bcs-manage запускает скрипты?

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

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

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