
huawei-cloud-cce-env-assessment
A skill for huawei cloud container(CCE) assessment. It automatically collects metrics and configurations from containerized application environments on Huawei Cloud to generate a comprehensive assessment report. Use this when users want to evaluate if their Huawei Cloud applications align with cloud-native best practices and identify areas for improvement.
- Installs
- 222
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/huaweicloud/huaweicloud-skills --skill huawei-cloud-cce-env-assessment- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads huawei-cloud-cce-env-assessment automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Huawei Cloud — CCE ENV Assessment Skill
Overview
Automatically collects evaluation metrics of the huawei cloud container environment, outputs metric scoring tables by dimension, and generates evaluation reports and improvement suggestions.
Prerequisites
Prerequisite check: Huawei Cloud CLI (hcloud) >= 7.2.2 required Run
hcloud versionto verify the version is >= 7.2.2, andhcloud configure listto confirm a profile exists. If it is not installed or the version is too low, see references/koocli-installation-guide.md for the installation guide.
hcloud version
hcloud configure list
Prerequisite check: Python >= 3.6 required Run
python --versionto verify the version is >= 3.6.0 If it is not installed or the version is too low, The skill execution is interrupted proactively, and the user is prompted to install Python 3.6 or later. If the Python version is 3.6.x, run the following command to upgrade pip to the latest versionpip3 install --user --upgrade 'pip<22'
⚠️ Mandatory Execution Rules
Rule 1: Step-by-step Confirmation
After each step, you MUST:
- Print the completion status of the current step
- Show the output produced by that step
- Every Skill run starts from Step 1 — do NOT skip Step 1 and jump into later steps
- Strictly follow this Skill's rules and wait for user confirmation after every step
- Strictly follow the described flow; do not perform extra operations. If anything errors, return the error to the user as-is — do not try to fix it yourself
- All execution rules take precedence over efficiency
Do NOT chain multiple steps in a single run!
Rule 2: Fixed Directories
After each step, you MUST:
- Save all intermediate files under the
data/directory
Rule 3: Permission Issues
- When you hit a permission problem, try
sudo. If that does not resolve it, error out and abort the Skill flow
Rule 4: Anti-skip Check
Before executing each step, verify that its prerequisites are satisfied:
| Step | Prerequisite |
|---|---|
| Step 2: Environment check | Step 1 is complete; Huawei Cloud AK/SK have been obtained |
| Step 3: Container environment collection | Step 2 is complete with no errors; data/ and artifacts/ are emptied |
| Step 4: Metric scoring | Step 3 is complete; data/cloud-native-collection.md has been generated |
| Step 5: Report generation | Step 4 is complete; artifacts/cloud-native-summary.xlsx has been generated |
Rule 5: Information Collection Method
- For every piece of information collected, prefer the Huawei Cloud KooCLI tool (
hcloudcommands)
Rule 6: Status Tracking
📋 Cloud-Native Container Assessment — Status Board
├────────────────────────────────────────────┤
│ Step 1: Configuration [⏳ In progress]│
│ Step 2: Environment check [○ Pending] │
│ Step 3: Information collect [○ Pending] │
│ Step 4: Metric scoring [○ Pending] │
│ Step 5: Report generation [○ Pending] │
└────────────────────────────────────────────┘
After each step, update the status board:
📋 Cloud-Native Container Assessment — Status Board
├────────────────────────────────────────────┤
│ Step 1: Configuration [✅ Done] │
│ Step 2: Environment check [✅ Done] │
│ Step 3: Information collect [✅ Done] │
│ Step 4: Metric scoring [✅ Done] │
│ Step 5: Report generation [⏳ In progress]│
└────────────────────────────────────────────┘
🔐 Permission Boundary
The AI is allowed to:
- Follow the SKILL steps exactly
- Invoke only the scripts specified in the SKILL
- Return errors as-is when problems occur
The AI is forbidden to:
- Temporarily modify or bypass the workflow
- Switch to an alternative approach (e.g. fall back to Markdown when html fails)
- Modify any script or configuration without user consent
- Perform any operation not explicitly listed in the SKILL
Handling out-of-bounds operations
Any out-of-bounds operation must stop immediately and wait for user confirmation. Continuing is forbidden.
Core Workflows
Step 1: Configuration
Prompt the user for the environment configuration.
| Item | Description | Example |
|---|---|---|
| Huawei Cloud AK/SK | Access Key and Secret Key for Huawei Cloud API | AK/SK = HPUAN3EWCG... / 1Bt5sdDU.. |
| Region | Region where the container cluster lives | region = cn-north-4 |
| Cluster name | CCE cluster name (Step 1 only) | cce_name = dify-cce-cluster |
| Dockerfile source | Source code repository (containing the Dockerfile) | Dockerfile = https://github.com/langgenius/dify |
Once the user supplies the configuration, save the values into environment variables HWC_AK, HWC_SK, CCE_Region, CCE_NAME, Dockerfile_REPO_URL respectively.
Diamond Gate 1: Get user confirmation before Step 2.
Step 2: Environment Check
Using the configuration provided in Step 1, verify that the environment is reachable and that local runtime dependencies are present.
- Use
hcloudwith AK/SK to access the Huawei Cloud CCE environment and confirm it is reachable, If it is not installed or the version is too low, see references/koocli-installation-guide.md for the installation guide. - Verify that the local Python environment is working correctly, Python version requirement is greater than 3.6, If the Python version is 3.6.x, run the following command to upgrade pip to the latest version
pip3 install --user --upgrade 'pip<22' - Check whether the Python dependency library is installed. Go to the references directory. If the Python version is 3.6.x, run the command
python3 -m pip install -r requirements.txt. If the Python version is later than 3.7, Execute commands using a Python virtual environmentpip3 install -r requirements.txt. - Empty any historical files inside
data/; ifdata/does not exist, create it - Empty any historical files inside
artifacts/; ifartifacts/does not exist, create it - Once the checks complete, return the result to the user and wait for confirmation on whether to install dependencies or to continue
Step 3: Container Environment Information Collection
For every metric listed in references/cloud-native-checklist.xlsx, collect the corresponding environment information.
- Every collection run MUST be driven by the actual metric items in
references/cloud-native-checklist.xlsxand MUST invokescripts/collect_all.pyto collect fresh data — do NOT reuse historical or cached data - Acceptance metric: the metric item being assessed
- Quantified target: the reference standard for that metric
- Acceptance method: how the environment information for that metric is collected
- During collection, if any required piece of information cannot be obtained, explore alternative ways to retrieve it and ask the user for confirmation
- Once collection is complete for every metric, fill the collection method (including, but not limited to, Python scripts and executed commands) and the collected data into
templates/cloud-native-assessment-template.md, write the result todata/cloud-native-collection.md, and show it to the user
Step 4: Metric Scoring
Based on the collection data in data/cloud-native-collection.md, score each metric:
- Compare the collected data against the quantified target to derive an acceptance verdict (Fully Satisfied / Mostly Satisfied / Partially Satisfied / Not Satisfied; metrics that cannot be compared are recorded as Not Satisfied; "Not Applicable" and "Not Evaluated" both roll up into Not Satisfied, and the basis field must state that the metric is N/A or Not Evaluated) and a scoring basis (describe based on the collected data — include the metric's environment information, the collection method used, and the reason for non-satisfaction)
- Convert the verdict to a score: Fully Satisfied = 3, Mostly Satisfied = 2, Partially Satisfied = 1, Not Satisfied = 0
- Invoke
scripts/score_and_excel.pyto produce a fresh scoring sheet, output as Excel containing the columns: number, cloud-native dimension, level, acceptance metric, quantified target, acceptance method, description, acceptance verdict, score, full score, scoring basis. Save toartifacts/cloud-native-summary.xlsx
Step 5: Report Generation
Using the contents of the scoring sheet artifacts/cloud-native-summary.xlsx, generate the final assessment report:
-
The final report uses
templates/report_template.mdas its base template -
The report title is fixed as "Cloud-Native Assessment Report"
-
The report contains 4 chapters; Chapter 1 and Chapter 2 reuse the content of
templates/report_template.mddirectly -
Chapter 3 of the final report is populated from the scoring sheet
artifacts/cloud-native-summary.xlsx -
Invoke
scripts/make_charts.pyagainst thecloud-native-summary.xlsxproduced in Step 4 to generate a radar chart and a staircase chartChart generation requirements:
- Radar chart: group metrics by cloud-native dimension. The score for each dimension = (sum of that dimension's metric scores / sum of that dimension's full scores) × 5. The radar has exactly six dimensions: Service-orientation, Security, Automation, Elasticity, Observability, Resilience. If a metric belongs to multiple dimensions (e.g. metric #1 belongs to both Service-orientation and Automation), it contributes to the scoring of every dimension it belongs to.
- Staircase chart: overall score = (sum of all metric scores / sum of all full scores) × 5. Stage thresholds — score ≤ 1: Traditional; 1 < score ≤ 2: Basic Cloud; 2 < score ≤ 3: Service-Oriented; 3 < score ≤ 4: Automated; score > 4: Intelligent. The chart must visually render as stairs.
-
Place the generated radar chart into report section 3.3.3 and the staircase chart into 3.3.4
-
Replace Chapter 4 of the final report with the actual remediation recommendations
-
Based on the assessment results, output remediation recommendations by P0/P1/P2 priority:
- P0: Not Satisfied (0 pts) — mandatory items
- P1: Partially Satisfied (1 pt) — items to fix
- P2: Mostly Satisfied (2 pts) — recommended improvements
-
Invoke
scripts/make_report_html.pyto generate the final report as a html, written toartifacts/cloud-native-report.html
Core Commands
Get cluster ID and basic info
hcloud cce ListClusters --cli-region=cn-north-4
Get cluster kubeconfig certificate
hcloud cce CreateKubernetesClusterCert \
--cli-region=cn-north-4 \
--cluster_id=a5659ec8-55b5........ \
--duration=1
Get detailed cluster info
hcloud cce ListClusters --cli-region=cn-north-4
Authentication parameters
| Auth mode | Required | Optional |
|---|---|---|
| AKSK | --cli-access-key, --cli-secret-key | --cli-security-token |
| Profile | --cli-profile | --cli-mode, --cli-region |
Output Format
- The final report is delivered as a html file
- The scoring sheet is delivered as an Excel file
- All output files are saved under the
artifacts/directory
Verification
Post-install verification
- Version check:
hcloud versionMUST return 7.2.2 or higher - Help check:
hcloud --helpMUST list the available services
Authentication verification
- Profile check:
hcloud configure listMUST show the configured profile
Best Practices
- Evaluate and analyze the container environment running on Huawei Cloud.
- Harden the configuration of existing container clusters and modify the cluster configuration based on the optimization suggestions.
References
report_template.md— Final report templatecloud-native-checklist.xlsx— Description of assessment metricsrequirements.txt— Python dependency library
Scripts
collect_all.py— Main assessment script; integrates all collection modulesmake_charts.py— Chart generation scriptmake_report.py— Report generation scriptscore_and_excel.py— Scoring sheet generation script
Templates
report_template.md— Final report templatecloud-native-assessment-template.md— Data collection template
Notes
- Make sure the Huawei Cloud container environment is reachable
- Make sure the Huawei Cloud credentials are valid and not expired
- If the Huawei Cloud Koocli tool and Python environment cannot be automatically installed using the skill, it is recommended that users install them manually.
- Currently only public-network access to the container environment is supported
- Output may be truncated during execution; clearing historical data and re-running the Skill is recommended in that case
FAQ
What does the huawei-cloud-cce-env-assessment skill do?
A skill for huawei cloud container(CCE) assessment. It automatically collects metrics and configurations from containerized application environments on Huawei Cloud to generate a comprehensive assessment report. Use this when users want to evaluate if their Huawei Cloud applications align with cloud-native best practices and identify areas for improvement.
How do I install huawei-cloud-cce-env-assessment?
Run npx skills add https://github.com/huaweicloud/huaweicloud-skills --skill huawei-cloud-cce-env-assessment in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/huawei-cloud-cce-env-assessment/ (personal) or .claude/skills/huawei-cloud-cce-env-assessment/ (project).
Which AI agents can use huawei-cloud-cce-env-assessment?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is huawei-cloud-cce-env-assessment safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains huawei-cloud-cce-env-assessment?
It is published by huaweicloud in huaweicloud/huaweicloud-skills. It has 222 recorded installs.
More from huaweicloud/huaweicloud-skills
huawei-cloud-terraform-installer
huaweicloud/huaweicloud-skills
Installs Terraform CLI cross-platform with Huawei Cloud mirror support. Use this skill whenever the user mentions installing Terraform, setting up Terraform environment, or when IaC tasks detect missing Terraform. Trigger: install terraform, setup terraform, terraform environment, huaweicloud provider.
huawei-cloud-find-skills
huaweicloud/huaweicloud-skills
Invoke this skill to search, list, query, discover, browse, find and install any Huawei Cloud (华为云) agent skill. Triggers include: "华为云", "华为云有什么skill", "华为云相关skill", "华为云agent skill 市场", "华为云skill类目", "explore Huawei Cloud skills", "show Huawei Cloud skill categories", "does a Huawei Cloud skill exist for...", "which Huawei Cloud skills exist", "搜索华为云技能", "查询华为云skill列表", "有没有管理ECS/OBS/RDS的skill", "帮我找 XX 华为云skill", "介绍 XX Skill 内容", "华为云 XX Skill 具体做什么", "安装华为云Skill".
huawei-cloud-billing-scout
huaweicloud/huaweicloud-skills
Huawei Cloud BSS billing (not AWS/Azure/other clouds; refuses pricing quotes, real-name review, and any non-billing scope): balance, spend, attribution, reconciliation, coupons, stored-value cards, enterprise/partner billing. One-page briefing via hcloud. Use only when the user explicitly mentions 华为云 / Huawei Cloud / BSS and 余额/账单/对账/资源包/代金券/储值卡/企业或伙伴账务; refuses pay, renew, refund, delete.
huawei-cloud-computing-query
huaweicloud/huaweicloud-skills
Queries Huawei Cloud computing resources (ECS/BMS/IMS/AS), Covers ECS instances, flavors, keypairs, quotas, server groups, block devices, NICs, VNC console, BMS bare metal servers/flavors/quotas, IMS images/OS versions/members/quotas, and AS scaling groups/configs/policies/activity logs/lifecycle hooks/warm pools/quotas. No write operations. Use this skill when the user needs to query ECS instance details, list flavors, check BMS availability, browse images, or view auto-scaling group/policy status. Triggers: 弹性云服务器, ECS, 裸金属, BMS, 镜像, IMS, 弹性伸缩, AS, 伸缩组, 伸缩策略, 规格查询, flavor, instance, image, scaling.
huawei-cloud-obs-upload
huaweicloud/huaweicloud-skills
Upload local files or directories to Huawei Cloud OBS (Object Storage Service) buckets, list OBS buckets with capacity and object count, and schedule periodic uploads via crontab. Use this skill when the user wants to: (1) upload a local file or directory to an OBS bucket, (2) list OBS buckets and check their storage capacity and object count, (3) set up a scheduled/periodic upload task to automatically sync a local directory to an OBS bucket. Triggers include: user mentions "OBS", "object storage", "bucket list", "bucket capacity", "upload to OBS", "upload file", "upload directory", "scheduled upload", "periodic upload", "sync to bucket", "对象存储", "桶列表", "桶容量", "上传文件", "上传目录", "定时上传", "OBS管理"
huawei-cloud-terraform-generator
huaweicloud/huaweicloud-skills
Generate Huawei Cloud Terraform configurations and execute deployment with user-guided approval. Use this skill when users want to create Huawei Cloud infrastructure as Terraform, whether they ask explicitly for Terraform or describe goals such as deploying a website, launching an application, or creating network, compute, database, load balancing, or storage resources. Trigger when users mention 创建/create、生成/generate、部署/deploy、配置/configure、使用/use、管理/manage、华为云/Huawei Cloud、Terraform、ECS、VPC、资源/resource、云服务器/ECS、虚拟机/VM、实例/instance、网络/network、负载均衡/ELB、数据库/database、RDS、存储/storage、OBS、桶/bucket、域名/domain、DNS、证书/certificate、SSL、监控/monitoring、日志/log、备份/backup、容器/container、CCE、函数工作流/FunctionGraph
Popular code quality & workflow skills
grill-me
mattpocock/skills
A relentless interview to sharpen a plan or design.
improve-codebase-architecture
mattpocock/skills
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
handoff
mattpocock/skills
Compact the current conversation into a handoff document for another agent to pick up.
domain-modeling
mattpocock/skills
Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.
codebase-design
mattpocock/skills
Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.
diagnosing-bugs
mattpocock/skills
Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.