SKILLEMALL.ai

BB huawei-cloud-obs-dir-count

Counts the number of directories (folders) inside a Huawei Cloud OBS (Object Storage Service) bucket and returns ONLY the numeric count. Supports counting the immediate subdirectories under the bucket (or a given prefix) as well as all nested directories recursively. Uses the KooCLI obsutil-backed `hcloud OBS ls -d` command (primary) or the huaweicloudsdkobs Python SDK (fallback). Read-only — never creates, modifies or deletes any resource. Use this skill whenever the user wants to know how many directories/folders an OBS bucket contains, e.g. for inventory, capacity review or structure checks. Triggers include: "count OBS directories", "OBS directory count", "number of directories in bucket", "OBS folder count", "how many folders in bucket", "OBS目录数量", "查询OBS目录数量", "OBS目录数", "桶目录数量", "目录数量", "文件夹数量", "统计目录", "目录统计".

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

Counts the number of directories (folders) 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 developmenttype 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 1449 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 828: 120–800 characters recommended
    • +3Output format is not stated: the model decides each time
    • -32 of 3 scripts are never mentioned in SKILL.md
    • +1No license
    • +2Single-language instructions
    • +5Description quotes 7 example trigger phrases
    • +4Structure: 13 headings
    • +3Step-by-step instructions: 19 items
    • +4Has examples (7 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 directory counter, with credential and shell-use cautions users should handle carefully.
    LLM: benign (high) · VirusTotal: · 3 Aug 2026