huawei-cloud-flexus-l-server-ops
БесплатноЗапускает вложенные скриптыНе проверенBased on Huawei Cloud Flexus L API for instance management and operations. Supports querying instance list and details, querying traffic packages, batch…
от huaweicloudskill489 установок в других каталогахОб этом скилле
⚠️ Security Execution Rules (Highest Priority):
- All scripts MUST be executed via skill action=exec, NEVER run directly in shell
- NEVER print script contents or commands containing AK/SK/Token in conversation
- NEVER create temporary script files, prefer inline execution (python -c)
- On execution failure, only return error info, do NOT rewrite scripts or print full commands
- AK/SK/Token MUST be passed via environment variables, NEVER appear in conversation
- ⚠️ ABSOLUTELY NEVER expose, log, or print AK/SK/Token values in any form - this is a critical security requirement
Huawei Cloud Flexus L Instance Operations
Overview
This skill provides complete operational capabilities for Huawei Cloud Flexus L instances, covering instance lifecycle management, configuration modification, monitoring queries, and other core scenarios.
Architecture
OpenClaw Agent → Flexus L Ops Skill → Huawei Cloud SDK → Huawei Cloud Services
│ │ │
│ │ ├─ Flexus L (instance/lifecycle/password)
│ │ └─ BSS (traffic query)
│ │
└─ scripts/ └─ huaweicloudsdk{core,ecs,bss,config}
Core Components:
- Flexus L Service: Elastic Cloud Server, provides instance management, lifecycle control, password reset, etc.
- BSS Service: Business Support System, provides traffic package usage query
- Python SDK: Official Huawei Cloud SDK, encapsulates API call logic
- Operation Scripts: 6 independent scripts, each corresponding to one operation
Applicable Scenarios
Typical Problem Scenarios:
- Instance Status View: Need to quickly view the running status of all Flexus L instances under the account
- Batch Operations: Need to perform start, stop, reboot operations on multiple servers
- Configuration Modification: Need to modify instance name, description, hostname, and other basic information
- Password Management: Need to reset instance login password
- Traffic Monitoring: Need to view traffic package remaining amount and usage
Trigger Keywords:
| English Keyword | Chinese Keyword |
|---|---|
| Flexus L | Flexus L |
| Huawei Cloud Ops | 华为云运维 |
| Query Instance | 查询实例 |
| Start/Stop/Reboot | 开机/关机/重启 |
| Reset Password | 重置密码 |
| Update Info | 修改信息 |
| Query Traffic | 查流量 |
| Traffic Package | 流量包 |
| List All Servers | 查所有服务器 |
| My Servers | 我的服务器有哪些 |
| List All Instances | 列出所有实例 |
Prerequisites
1. Python Environment and dependencies
- Python >= 3.8
- huaweicloudsdkcore >= 3.0.0
- huaweicloudsdkecs >= 3.0.0
- huaweicloudsdkbss >= 3.0.0
- huaweicloudsdkconfig >= 3.0.0
- requests >= 2.31.0
2. Install Huawei Cloud SDK
pip3 install huaweicloudsdkcore huaweicloudsdkecs huaweicloudsdkconfig huaweicloudsdkbss \
-i https://repo.huaweicloud.com/repository/pypi/simple
⚠️ Important: Script Usage Rules
Different operations MUST use the corresponding script. Do NOT use other scripts' commands.
| Operation | Must Use Script | Correct Command | ❌ Wrong Command |
|---|---|---|---|
| Query Flexus L instances | query_instances.py |
query_instances.py list |
password_unified.py list |
| Query instance details | query_instances.py |
query_instances.py detail -i <ID> |
lifecycle.py list |
| Start/Stop/Reboot | lifecycle.py |
lifecycle.py stop --instance-id <ID> |
query_instances.py stop |
| Reset password | password_unified.py |
password_unified.py reset --instance-id <ID> --password <pwd> |
lifecycle.py reset |
| Modify server info | update_server.py |
update_server.py --instance-id <ID> --name <name> |
query_instances.py update |
Operation Feedback Requirement
After any lifecycle operation (start/stop/reboot), MUST query and report the final status to user.
Example feedback format:
✅ Operation completed
Instance: your-instance-name
Status: Running
Public IP: <IP>
This ensures the user knows the operation has completed successfully.
Scripts Description
Functional Scripts (4 scripts)
| Script | Function | Commands |
|---|---|---|
| query_instances.py | Instance query tool ⭐ | list, detail, free-resources, traffic, traffic-region |
| lifecycle.py | Lifecycle management | stop, start, reboot |
| password_unified.py | Password reset | test, list, reset |
| update_server.py | Modify server info | --name, --description, --hostname |
Helper Scripts (2 scripts)
| Script | Function |
|---|---|
| auth.py | Authentication management |
| params.py | Parameter processing |
Core Commands
See Execution Flow for operation steps.
Parame
Установить huawei-cloud-flexus-l-server-ops в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл huawei-cloud-flexus-l-server-ops?
Based on Huawei Cloud Flexus L API for instance management and operations. Supports querying instance list and details, querying traffic packages, batch start/stop/reboot instances, resetting passwords, and modifying instance information. Suitable for daily operations, lifecycle management, configuration changes, traffic monitoring, and other scenarios for Flexus L instances. Triggers: Flexus L, Huawei Cloud ops, query instance, start, stop, reboot, reset password, modify info, check traffic, traffic package (中文触发词: L实例运维,查询L实例,L实例开机,L实例关机,L实例重启,L实例重置密码,查询L实例流量包).
Как установить скилл huawei-cloud-flexus-l-server-ops?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл huawei-cloud-flexus-l-server-ops запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic