SKILLEMALL.ai

DB huawei-cloud-kunpeng-source-code-migrate

Analyze the migrability of C/C++/ASM/Fortran/Go/Java/Python/Scala source code to Kunpeng (ARM64) platform using Huawei DevKit CLI tool. Connect to the source server via SSH, install DevKit, scan source code, and generate a migration assessment report. If the user does not have a remote server, this skill can automatically provision a Kunpeng ECS instance on Huawei Cloud (Guiyang Region 1) using hcloud CLI. Use this skill when the user wants to: (1) assess source code portability/migrability to Kunpeng ARM platform, (2) scan C/C++/ASM/Fortran/Go/Java/Python/Scala code for migration issues, (3) generate a Kunpeng migration report for their software project, (4) check source code compatibility with ARM64/Kunpeng architecture, (5) provision a Kunpeng server on Huawei Cloud for migration assessment. Trigger: user mentions "鲲鹏移植", "鲲鹏迁移", "Kunpeng migration", "Kunpeng porting", "源码迁移", "源码移植", "ARM64迁移", "ARM移植评估", "DevKit", "可迁移性分析", "migrability", "porting assessment", "migration report", "鲲鹏评估", "购买鲲鹏服务器", "鲲鹏云服务器", "Kunpeng ECS"

Not recommendedlow grade D
ClawHub Agent Skills author: huaweicloud-skills-team v1.0.0 MIT-0 21 files · 2 scripts body ≈ 6 023 tokens Open the sourceclawhub.ai analyzed 2 d ago

Analyze the migrability of C/C++/ASM/Fortran/Go/Java/Python/Scala source code to Kunpeng (ARM64) platform using Huawei DevKit CLI tool.

As a process B 73/100 · Nearly there — weak spots: result and completion

AnalyzerSoftware developmenttype and topics are labelled automatically from the skill text
JSON
Technical rating
D
42/100
safety, quality, tests
Safety 60%
35
Quality 40%
52
Run on models
none yet
Process rating
B
73/100
Nearly there
Result and completion w 14
40
Tools and files w 18
60
Steps w 15
60
the three weakest of ten parameters · all ten

What is at stake

Medium-severity findings: the skill is probably honest, but read what alarmed the scanner.

Dangerous commands medium severity

Below is the worst case for this category. The finding here is medium: the guard saw a sign, not a proof.

If you install

The skill contains commands that delete files, rewrite disks or execute code fetched from the network. The agent may run them without asking if it believes the instructions require it.

For the author

Replace destructive commands with safe equivalents that ask for confirmation, scope them to one folder, and stop piping curl into a shell: pin a version and a checksum.

How to improve

  1. Shorten the description to 1024 characters.
  2. The SKILL.md body is over 5,000 tokens: move reference detail into references/ and load it when needed.
For the model run — optional
  • Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
  • A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.

Guard findings · 13

✓ No critical or high findings

Medium and low: 13
  • medium Dangerous commands cmd-privilege references/cli-installation-guide.md:35
    Privilege escalation / world-writable permissions
    sudo mv hcloud /usr/local/bin/
  • medium Dangerous commands cmd-privilege references/cli-installation-guide.md:44
    Privilege escalation / world-writable permissions
    sudo mv hcloud /usr/local/bin/
  • medium Dangerous commands cmd-privilege references/cli-installation-guide.md:57
    Privilege escalation / world-writable permissions
    sudo mv hcloud /usr/local/bin/
  • medium Dangerous commands cmd-shell-rc references/prerequisites.md:113
    Writes to a shell startup file
    echo "export MIGRATE_SSH_PASS='<your-password>'" >> ~/.bashrc
  • medium Dangerous commands cmd-shell-rc references/prerequisites.md:114
    Writes to a shell startup file
    echo "export KUNPENG_SERVER_HOST='<your-server-ip>'" >> ~/.bashrc
  • medium Dangerous commands cmd-shell-rc references/prerequisites.md:115
    Writes to a shell startup file
    echo "export KUNPENG_SERVER_PORT='22'" >> ~/.bashrc
  • medium Dangerous commands cmd-shell-rc references/prerequisites.md:116
    Writes to a shell startup file
    echo "export KUNPENG_SERVER_USER='root'" >> ~/.bashrc
  • medium Dangerous commands cmd-privilege references/troubleshooting.md:125
    Privilege escalation / world-writable permissions
    sudo chmod -R o+r <source_path>
  • medium Dangerous commands cmd-shell-rc references/troubleshooting.md:229
    Writes to a shell startup file
    echo 'export KUNPENG_SERVER_HOST=<your-server-ip>' >> ~/.bashrc
  • medium Dangerous commands cmd-privilege references/troubleshooting.md:391
    Privilege escalation / world-writable permissions
    sudo mv hcloud /usr/local/bin/
  • medium Dangerous commands cmd-privilege scripts/install_devkit.sh:310
    Privilege escalation / world-writable permissions
    $SUDO cp -a "${EXTRACTED_DIR}." "$INSTALL_DIR/"
  • medium Dangerous commands cmd-privilege scripts/install_devkit.sh:319
    Privilege escalation / world-writable permissions
    $SUDO chmod +x "${INSTALL_DIR}/devkit"
  • medium Dangerous commands cmd-privilege SKILL.md:86
    Privilege escalation / world-writable permissions
    tar -xzf huaw….gz && chmod +x hcloud && sudo mv hcloud /usr/local/bin/

Files scanned: 21. Evidence is masked. Grey chips explain why severity was lowered.

Against the Agent Skills spec

  • error description-long description is 1043 chars, limit 1024
  • warning body-long SKILL.md body ≈ 6023 tokens (recommended < 5000); move details to references/

Process rating: all ten parameters 73/100

  • 40Result and completion. Does not say what the result is
  • 60Tools and files. Uses tools (bash, python) that frontmatter does not declare
  • 60Steps. 37 steps, 4 vague phrases
  • 70Inputs and preconditions. Inputs and preconditions are listed
  • 70Execution cost. Instruction body is 6023 tokens
  • 100When it triggers. States when to use and when not to
  • 100Failures and branches. 1 branches, has a failure section
  • 100Consistency. Name and required fields are in place
  • 100Running it twice. Mutating operations check current state
  • 100Progress reporting. Reports progress
  • medium Safety rules and hard prohibitions inside a skill: they belong in the system prompt, here they protect nothing
  • low 13 top-level sections: this looks like several domains in one skill
  • low The response is described with custom markup (17 tags): a typed call is more reliable

Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.

Quality signals

  • +4Description does not say when NOT to use the skill (false activations)
  • +3Description length 1042: 120–800 characters recommended
  • +3Output format is not stated: the model decides each time
  • -4Absolute local paths (C:\Users, /home/…): not portable
  • -229 emoji in the instructions: noise for the model
  • +1No license
  • +2Single-language instructions
  • +5Description quotes 12 example trigger phrases
  • +4Structure: 19 headings
  • +3Step-by-step instructions: 37 items
  • +4Has examples (15 code blocks)
  • +4Reference files are cited in the instructions (15 of 15)
  • +3All 4 scripts are documented

Quality base 70; lint remarks subtract, signals add up to 100. Result: 52.

External checks

ClawHub: suspicious
The skill is mostly purpose-aligned, but it needs Review because it can provision paid cloud infrastructure, enable root password SSH, run arbitrary remote commands, install packages, and persist SSH secrets in temp files.
LLM: suspicious (high) · 27 Aug 2026