Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-obs-total-sizegit clone --depth 1 https://github.com/huaweicloud/huaweicloud-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-obs-total-size)<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-obs-total-size"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-obs-total-size/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-obs-total-size"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-obs-total-size.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00253 | $0.02332 |
| Opus 5.5 | $0.00101 | $0.00933 |
| Sonnet 5.5 | $0.00051 | $0.00466 |
| Haiku 4.5 | $0.00025 | $0.00233 |
Grade A, and why
huawei-cloud-obs-total-size scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 24d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 203 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Huawei Cloud OBS Total Size Skill
Overview
This skill queries the total size of Huawei Cloud OBS buckets and prints the size value. The default output is a single number in bytes; with --unit kb|mb|gb or --human it prints a scaled or human-readable value instead. It is a read-only statistics skill: it never creates, modifies, or deletes buckets, directories, or objects.
Output behavior: the final size is printed as one value on stdout. Warnings for skipped inaccessible buckets and error messages are written to stderr only, never mixed into the size value.
Architecture:
Agent → hcloud CLI (KooCLI OBS / obsutil, primary) → Huawei Cloud OBS API
↘ huaweicloudsdkobs Python SDK (fallback) ↗
Two query scopes:
| Scope | Description | Example |
|---|---|---|
| Single bucket | Total size of one bucket only | --bucket my-bucket → 5002295 |
| All buckets (default) | Combined total size across all buckets under the account | --all → 9533151096 |
Applicable Scenarios:
- Capacity review: "how much storage does this bucket / my OBS account use?"
- Cost estimation: estimate OBS storage billing based on total bytes
- Storage planning: compare usage before migration or quota changes
- Compliance auditing: track total storage growth
Prerequisites
- hcloud CLI (KooCLI) installed and authenticated — See
references/cli-installation-guide.md - obsutil installed — required by the
hcloud OBS lscommand (bundled with KooCLI or standalone) - OBS credentials configured for obsutil —
hcloud OBS lsreads AK/SK/endpoint from the obsutil config file (.obsutilconfigin the user home directory), which is separate from the KooCLI account credentials - Python 3.8+ with
huaweicloudsdkobspackage (SDK fallback) —pip install huaweicloudsdkobs - IAM permissions —
obs:bucket:ListBucket,obs:object:List,obs:bucket:ListAllMyBuckets— Seereferences/iam-policies.md
What ships with it
7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 24d ago First seen · 203 lines · 253 tokens per session scan A ea27039d405a
huawei-cloud-obs-total-size is a skill published in the GitHub repository huaweicloud/huaweicloud-skills (59 stars, last pushed 4d ago), licensed MIT. It adds 253 tokens to every session and 2,332 once invoked, about $0.0010 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-06.
huawei-cloud-obs-total-size compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| huawei-cloud-obs-total-sizehuaweicloud/huaweicloud-skills | Skill | 59 | 4d ago | MIT | A | 253 | Claude Code, Codex |
| huawei-cloud-apig-instance-managementhuaweicloud/huaweicloud-devkit | Skill | 71 | today | Apache-2.0 | A | 206 | Claude Code |
| huawei-cloud-deployment-task-managementhuaweicloud/huaweicloud-devkit | Skill | 71 | today | Apache-2.0 | A | 203 | Claude Code |
| Capacity, Performance & Cost Assumptionss977043/river-review | Skill | 8 | today | MIT | A | 30 | Claude Code |
| huawei-cloud-account-onboardingontology-of-everything/SemanticSkills | Skill | 8 | 2mo ago | Apache-2.0 | A | 139 | Claude Code, Codex |
| huawei-cloud-cost-estimationontology-of-everything/SemanticSkills | Skill | 8 | 2mo ago | Apache-2.0 | C | 124 | Claude Code, Codex |
| gke-compute-classesgoogle/skills | Skill | 25k | today | Apache-2.0 | A | 83 | Claude Code, Codex |