huggingface-hub

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

Updated May 8, 2026
One-click install
npx skills add https://github.com/gztcode/my-skills --skill huggingface-hub-gztcode
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: huggingface-hub
Source: https://github.com/gztcode/my-skills/tree/main/huggingface-hub
Command: npx skills add https://github.com/gztcode/my-skills --skill huggingface-hub-gztcode

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the management of models, datasets, and Spaces on the Hugging Face Hub, streamlining tasks such as searching, downloading, uploading, and deploying.

Core Features & Use Cases

  • Model and Dataset Management: Search, download, and upload models and datasets.
  • Repository Management: Create, delete, duplicate, and manage repositories.
  • Authentication: Manage sessions and access tokens.
  • Infrastructure and Compute: Deploy and manage Inference Endpoints and run compute tasks.
  • Storage and Automation: Manage buckets, cache, webhooks, and collections.
  • Use Case: Imagine you need to quickly deploy a model for inference and manage its associated dataset. This Skill can handle the deployment, synchronization, and maintenance of the model and dataset.

Quick Start

Use the hf command to deploy a model for inference: hf deploy REPO_ID.

Frequently Asked Questions about huggingface-hub

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

FAQPage Schema
How do I manage Hugging Face Hub models and datasets from the command line?

You can manage Hugging Face Hub models and datasets from the command line by using the provided CLI to search, download, and upload repositories directly. This Skill streamlines repository management and synchronization tasks for models and datasets.

How do I deploy a model for inference on the Hugging Face Hub?

To deploy a model for inference on the Hugging Face Hub, use the `hf deploy REPO_ID` command. This Skill facilitates deploying and managing Inference Endpoints alongside associated dataset maintenance.

Do I need an access token to manage Hugging Face repositories?

Yes, managing Hugging Face repositories requires an access token for authorization. This Skill handles authentication by managing sessions and access tokens to operate securely on the Hub platform.

Can I automate Hugging Face workflows with webhooks and collections?

Yes, you can automate Hugging Face workflows by configuring webhooks and managing collections. This Skill provides storage and automation management, including buckets and cache, to streamline Hub operations.

What's the best way to create and duplicate repositories on the Hugging Face Hub?

The best way to create and duplicate repositories on the Hugging Face Hub is using the integrated CLI commands. This Skill supports creating, deleting, and duplicating repositories to manage your model and dataset lifecycle efficiently.