huggingface-hub

Manage Hugging Face Hub repositories for models, datasets, and Spaces.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/MarbleSodas/Mavis --skill huggingface-hub-marblesodas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: huggingface-hub
Source: https://github.com/MarbleSodas/Mavis/tree/main/skills/mlops/huggingface-hub
Command: npx skills add https://github.com/MarbleSodas/Mavis --skill huggingface-hub-marblesodas

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you search, download, and publish Hugging Face Hub assets without manually browsing pages or stitching together multiple tools.

Core Features & Use Cases

  • Model, dataset, and repo operations: Download artifacts, upload changes, and manage repository lifecycle for models, datasets, and Spaces.
  • Automation-friendly actions: Use machine-readable output for scripting around sync, cache management, and listing.
  • Compute and infrastructure management: Deploy and manage inference endpoints, run jobs, and work with Spaces (including dev workflows).

Quick Start

Upload a local folder to your Hugging Face repository in one step by running: upload-large-folder your-org/your-repo ./local-folder

Frequently Asked Questions about huggingface-hub

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I upload a large folder of datasets to Hugging Face Hub?

To upload a large folder to the Hugging Face Hub, use the modern hf CLI command `upload-large-folder` with your target repository and local directory path to sync artifacts efficiently.

Can I automate Hugging Face model management and sync storage with scripting?

Yes, you can automate Hugging Face model management and storage syncing by using supported hf CLI subcommands that provide JSON output for machine-readable workflows.

What is the best way to manage Hugging Face inference endpoints and jobs?

Managing Hugging Face inference endpoints and jobs is handled directly through the hf CLI, which provides subcommands to deploy compute infrastructure and operate automation features.

Do I need the modern hf CLI to maintain Hugging Face repositories for models and Spaces?

Yes, maintaining Hugging Face repositories for models, datasets, and Spaces requires the modern hf CLI to execute supported subcommands for repository lifecycle operations.

How does Hugging Face Hub authentication work for downloading and publishing artifacts?

Hugging Face Hub authentication is managed through the hf CLI, which handles auth subcommands to enable secure downloading, uploading, and publishing of ML workflow artifacts.