hf-cli - Manage Hugging Face Hub resources with hf
Use the hf CLI to authenticate, browse, download, upload, query, and manage Hugging Face Hub resources and infrastructure.
Tags
Updated: 2026-11-10Capabilities
What this skill does
- Authenticate with Hugging Face
- Download Hub files
- Upload files and folders
- Manage repositories
- Manage buckets
- Manage local cache
- Browse models and datasets
- Query dataset parquet files
- Manage collections
- Manage discussions and pull requests
- Run bucket synchronization
- Inspect environments and versions
Inputs
- Hugging Face commands
- Repository identifiers
- Dataset identifiers
- Bucket identifiers
- Local file paths
- Access tokens
- Search and filter parameters
- Discussion content
- Collection metadata
Outputs
- Command output messages
- Downloaded files
- Uploaded repository files
- Updated repositories
- Updated buckets
- Changed authentication state
- Changed local cache
- Dataset query results
- Updated collections
- Updated discussions and pull requests
Requirements
- Installed hf CLI
- Network access to Hugging Face Hub
- Hugging Face credentials for authenticated operations
