huawei-cloud-cloudrobo-weight-layout

huawei-cloud-cloudrobo-weight-layout is a skill for Claude Code, Codex from huaweicloud/huaweicloud-skills. It costs 146 tokens per session (1,251 once invoked), scanned A, original, MIT.

A file and folder layout for saving machine-learning model weights and periodic checkpoints. A checkpoint is a saved copy of training progress that can be loaded later.

In plain words
What is it for?
Use it when adding checkpoint saving to a PyTorch training script, reorganizing output folders, naming final weights, or locating the latest checkpoint.
Why use it?
Different training projects often store these files in different places, making them hard for loaders and deployment tools to find. This layout gives them consistent locations without changing each model's internal files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when adding checkpoint saving to a PyTorch training script, reorganizing output folders, naming final weights, or locating the latest checkpoint.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/huaweicloud/huaweicloud-skills/huawei-cloud-cloudrobo-weight-layout
Install

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.

Any agent
npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-cloudrobo-weight-layout
Clone the repo
git clone --depth 1 https://github.com/huaweicloud/huaweicloud-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for huawei-cloud-cloudrobo-weight-layout

README.md
[![agentmods](https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-cloudrobo-weight-layout/github.svg)](https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-cloudrobo-weight-layout)
Your own site
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-cloudrobo-weight-layout"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-cloudrobo-weight-layout/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.

agentmods 80×15 button for huawei-cloud-cloudrobo-weight-layout

Your own site · 80×15
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-cloudrobo-weight-layout"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-cloudrobo-weight-layout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 146 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,251 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00146 $0.01251
Opus 5.5 $0.00058 $0.00500
Sonnet 5.5 $0.00029 $0.00250
Haiku 4.5 $0.00015 $0.00125

Measured 26d ago against content hash 01f563bacbb6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

huawei-cloud-cloudrobo-weight-layout 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 26d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (references/loader.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/ai/cloudrobo/huawei-cloud-cloudrobo-weight-layout/SKILL.md · 118 lines

How it starts

The opening of the file, as written. The whole thing — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Weight Save Layout

Overview

Standardized rules for training-side output directories. The top level is {output_root}: all contents of the final-step weight folder go directly under {output_root}; all contents of each periodic weight folder go into {output_root}/_ckpt/checkpoint_{step}/.

Checkpoint internals produced by different models/frameworks (weight file names, configs, statistics, etc.) differ from one another — this layout only defines the outer storage location; it does not presuppose the internal structure and does not rename any files. Any loader, deployment service, or evaluation tool built on this layout can locate weights across models.

Prerequisites

  1. A training script that saves checkpoints (the code to modify).
  2. {output_root} — the training-side output root directory for the standard layout (its parent must be writable).
  3. A loader or path resolver (optional) — if the project consumes checkpoints, copy references/loader.py into the project's migrate_to_cloudrobo/loader.py for locating {output_root} and selecting the latest checkpoint. Loading .pt weights with load_state_dict() needs torch>=1.13, because it uses torch.load(..., weights_only=True) so that a checkpoint cannot execute code when loaded.

Workflow

1. Define the layout

{output_root}/
├── <all contents of the final-step weight folder>    # files/subfolders directly under root
└── _ckpt/                            # periodic checkpoints
    ├── checkpoint_1000/
    │   └── <all contents of that step's weight folder>
    └── checkpoint_2000/
        └── <all contents of that step's weight folder>

2. Apply the rules in the training script

  1. Final step: place all files/subfolders under the final-step weight folder directly at the root of {output_root}/ (do not create a final_model/ subdirectory).
  2. Periodic checkpoints: place all files/subfolders under each periodic weight folder into {output_root}/_ckpt/checkpoint_{step}/ (step is the saved step of that checkpoint).
  3. Move/copy contents only: do not rename or modify checkpoint-internal files — every model has a different checkpoint structure, and this layout does not presuppose one.
  4. _ckpt/ is created at training start, so the layout exists before the first checkpoint.

Read the full file on GitHub · 118 lines

Files

What ships with it

3 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.

Changes

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.

  1. 26d ago First seen · 118 lines · 146 tokens per session scan A 01f563bacbb6

Subscribe to this mod's changes

huawei-cloud-cloudrobo-weight-layout is a skill published in the GitHub repository huaweicloud/huaweicloud-skills (59 stars, last pushed 4d ago), licensed MIT. It adds 146 tokens to every session and 1,251 once invoked, about $0.0006 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-04.

Related

huawei-cloud-cloudrobo-weight-layout compared with skills from other repositories

huawei-cloud-cloudrobo-weight-layout next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
huawei-cloud-cloudrobo-weight-layouthuaweicloud/huaweicloud-skillsSkill594d agoMITA146Claude Code, Codex
agent-platform-model-registrygoogle/skillsSkill25ktodayApache-2.0A60Claude Code, Codex
llm-evaluationsickn33/agentic-awesome-skillsSkill51kyesterdayMITA25Claude Code
google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skillsSkill25ktodayApache-2.0A132Claude Code, Codex
training-checkwanshuiyin/Auto-claude-code-research-in-sleepSkill20kyesterdayMITA35Claude Code
foundry-config-setupmicrosoft/agent-frameworkSkill15k13d agoMITA65Claude Code, Codex
tao-run-inference-serviceNVIDIA/skillsSkill4.2k2d agoApache-2.0A92Claude Code