SKILLEMALL.ai

BB huawei-cloud-obs-file-count

Counts the total number of files (objects) inside a Huawei Cloud OBS (Object Storage Service) bucket and returns ONLY the numeric count. Supports counting all files in a whole bucket or all files under a given prefix (folder). Zero-byte folder-marker keys (ending with '/') are excluded — only real files/objects are counted. Uses the KooCLI obsutil-backed `hcloud OBS ls ... -limit=0` command (primary, parses the "File number" line) or the huaweicloudsdkobs Python SDK (fallback, paginated ListObjects). Read-only — never creates, modifies or deletes any resource. Use this skill whenever the user wants to know how many files or objects an OBS bucket (or a folder inside it) contains, e.g. for inventory, capacity review, migration planning or compliance checks. Triggers include: "count OBS files", "OBS file count", "number of files in bucket", "how many objects in bucket", "OBS object count", "OBS文件数量", "查询OBS文件总数", "OBS文件总数", "桶里有多少个文件", "统计文件数量", "对象数量", "查询对象总数".

ClawHub Agent Skills author: huaweiclouddev-dev v1.0.0 MIT-0 11 files · 2 scripts body ≈ 1 647 tokens Open the sourceclawhub.ai analyzed 2 d ago

Counts the total number of files (objects) inside a Huawei Cloud OBS (Object Storage Service) bucket and returns ONLY the numeric count.

As a process B 71/100 · Nearly there — weak spots: result and completion, progress reporting

ProcedureSoftware developmentSecuritytype and topics are labelled automatically from the skill text
JSON
Technical rating
B
83/100
safety, quality, tests
Safety 60%
80
Quality 40%
87
Run on models
none yet
Process rating
B
71/100
Nearly there
Progress reporting w 2
0
Result and completion w 14
40
Failures and branches w 10
50
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

    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 · 4

    ✓ No critical or high findings

    Medium and low: 4
    • medium Dangerous commands cmd-privilege references/cli-installation-guide.md:23
      Privilege escalation / world-writable permissions
      sudo mv hcloud /usr/local/bin/
    • medium Dangerous commands cmd-privilege references/cli-installation-guide.md:32
      Privilege escalation / world-writable permissions
      sudo mv hcloud /usr/local/bin/
    • medium Dangerous commands cmd-privilege references/cli-installation-guide.md:67
      Privilege escalation / world-writable permissions
      sudo mv obsu…64_*/obsutil /usr/local/bin/
    • medium Dangerous commands cmd-privilege references/cli-installation-guide.md:76
      Privilege escalation / world-writable permissions
      sudo mv obsu…64_*/obsutil /usr/local/bin/

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

    Against the Agent Skills spec

    ✓ No remarks against the Agent Skills spec

    Process rating: all ten parameters 71/100

    • 0Progress reporting. Says nothing while it works
    • 40Result and completion. Does not say what the result is
    • 50Failures and branches. 0 branches, has a failure section
    • 60Tools and files. Uses tools (bash, python) that frontmatter does not declare
    • 70When it triggers. States when to use, but not when not to
    • 70Inputs and preconditions. Inputs and preconditions are listed
    • 100Steps. 19 steps
    • 100Consistency. Name and required fields are in place
    • 100Execution cost. Instruction body is 1647 tokens
    • 100Running it twice. Mutating operations check current state

    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 974: 120–800 characters recommended
    • +3Output format is not stated: the model decides each time
    • -31 of 3 scripts are never mentioned in SKILL.md
    • +1No license
    • +2Single-language instructions
    • +5Description quotes 12 example trigger phrases
    • +4Structure: 12 headings
    • +3Step-by-step instructions: 19 items
    • +4Has examples (9 code blocks)
    • +4Reference files are cited in the instructions (5 of 5)

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

    External checks

    ClawHub: clean
    This skill is a disclosed, read-only Huawei OBS object counter that uses local cloud credentials only to list and count objects.
    LLM: benign (high) · VirusTotal: · 5 Aug 2026