← Catalog

No. 069 · ai-ml

Hugging Face CLI

Hub operations and model management

Version 1.0.0 License MIT Format SKILL.md

Use the Hugging Face CLI: upload/download models and datasets, manage repos, configure tokens, search the Hub, and integrate with CI/CD pipelines.

When to use this skill

  • Uploading a model to the Hub
  • Downloading a dataset
  • Setting up HF CLI authentication

Core concepts

This skill provides guidance on hugging face cli best practices, patterns, and common pitfalls. It is designed to be loaded on demand when a relevant task is detected.

Installation

curl -LO https://opencode-skills.example/downloads/ai-ml/hf-cli.zip
unzip hf-cli.zip -d ~/.config/opencode/skills/

Restart OpenCode — the skill loads automatically.

When it triggers

  • uploading a model to the Hub
  • downloading a dataset
  • setting up HF CLI authentication