huggingface-hub

Manage models and datasets on the Hugging Face Hub via the hf CLI.

Updated Jun 26, 2026
One-click install
npx skills add https://github.com/NITISH-gitbit/hermes-custom --skill huggingface-hub-nitish-gitbit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: huggingface-hub
Source: https://github.com/NITISH-gitbit/hermes-custom/tree/main/skills/mlops/huggingface-hub
Command: npx skills add https://github.com/NITISH-gitbit/hermes-custom --skill huggingface-hub-nitish-gitbit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires hf-cli, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a command-line interface to interact with the Hugging Face Hub, enabling users to search, download, upload, and manage models and datasets with ease.

Core Features & Use Cases

  • Model and Dataset Management: Search, download, upload, and manage models and datasets from the Hugging Face Hub.
  • Automation of CLI Operations: Automate repetitive tasks with the hf command.
  • Integration with CI/CD Pipelines: Use hf commands to streamline model and dataset deployment in CI/CD pipelines.

Quick Start

Install the hf CLI and use hf search "image recognition" to search for models related to image recognition.

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 executing `hf` commands to search, download, and upload files directly within your terminal workflows.

Can I automate Hugging Face model and dataset management in CI/CD pipelines?

Yes, you can automate Hugging Face model and dataset management in CI/CD pipelines by integrating `hf` CLI commands to streamline your deployment and automated operations.

Do I need the hf CLI installed to interact with the Hugging Face Hub?

Yes, you need the `hf` CLI installed and properly configured on your system to execute commands for searching, downloading, and uploading Hugging Face Hub assets.

How do I search for Hugging Face models for image recognition using the command line?

To search for Hugging Face models for image recognition, use the command `hf search "image recognition"` in your terminal to query available Hub resources.

What is the best way to automate repetitive Hugging Face Hub tasks?

The best way to automate repetitive Hugging Face Hub tasks is by scripting `hf` CLI commands, allowing developers to programmatically manage datasets and models without manual intervention.

Does this approach work for both Hugging Face models and datasets?

Yes, this command-line approach works for both Hugging Face models and datasets, providing a unified interface to search, download, upload, and manage assets on the Hub.