| name | hugging-face-cli-workflows |
| description | Use when working with Hugging Face CLI or Hub workflows for TRL training, including auth, repositories, uploads, downloads, Jobs, buckets, model persistence, dataset checks, Space links, and remote artifact movement. |
Hugging Face CLI Workflows
Use this skill for Hub, CLI, Jobs, buckets, and artifact workflows around TRL
training.
Workflow
- Check auth with
hf auth whoami before remote actions.
- Identify the target type: model repo, dataset repo, Space, Job, or bucket.
- Keep scripts portable: remote Jobs cannot read local files unless the script
is uploaded, inlined, or available by URL.
- Ensure ephemeral runners push or upload artifacts before completion.
- Summarize exact repo ids, job ids, paths, and commands.
Safety
- Never print
HF_TOKEN or credentials.
- Use private repos or buckets for non-public data by default.
- Confirm before deleting or overwriting Hub artifacts.
- Keep large checkpoints outside this context repository.
References
references/hub-workflows.md: auth, repos, upload/download, and artifacts.
references/jobs-workflows.md: HF Jobs conventions for TRL runs.