huggingface-hub

Manage Hugging Face Hub repositories, models, datasets, and Spaces via the hf CLI.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/VYRE-Studios/Windows-Agentic-Framework --skill huggingface-hub-vyre-studios
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: huggingface-hub
Source: https://github.com/VYRE-Studios/Windows-Agentic-Framework/tree/main/skills/mlops/huggingface-hub
Command: npx skills add https://github.com/VYRE-Studios/Windows-Agentic-Framework --skill huggingface-hub-vyre-studios

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Hugging Face Hub CLI (hf) centralizes repository, model, dataset, and Space management, simplifying discovery, versioning, and deployment workflows for ML teams.

Core Features & Use Cases

  • Hub Administration: Create, fork, move, and delete repositories, models, datasets, and Spaces from a single CLI.
  • Data & Model Discovery: List and query items, view metadata, and inspect lineage across the Hub.
  • Advanced Interactions: Run SQL-like queries against datasets using DuckDB, deploy Inference Endpoints, and manage Hub webhooks.

Quick Start

Install the hf CLI, authenticate with your Hugging Face token, and begin managing models, datasets, and Spaces on the Hub.

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 repositories, models, and datasets from the command line?

You can manage Hugging Face Hub resources by using the hf CLI to create, fork, move, and delete repositories, models, datasets, and Spaces from a single command line interface.

Can I run SQL queries directly against Hugging Face datasets?

Yes, you can run SQL-like queries against Hugging Face parquet datasets using DuckDB integrated into the hf CLI, allowing advanced data interactions directly from your terminal.

What do I need to authenticate with the Hugging Face Hub for CLI operations?

To authenticate with the Hugging Face Hub, you need to install the hf CLI and configure it with your Hugging Face token before beginning to manage models, datasets, and Spaces.

Does the Hugging Face CLI support deploying Inference Endpoints and managing webhooks?

Yes, the Hugging Face CLI supports advanced interactions including deploying Inference Endpoints and managing Hub webhooks for automated workflows across local development and production deployments.

What is the best way to discover and inspect model lineage on the Hugging Face Hub?

The best way to discover items is using the hf CLI to list and query models, view metadata, and inspect lineage across the Hub for streamlined data and model discovery.

Can I use the Hugging Face CLI to manage Spaces for local development and production deployments?

Yes, the hf CLI enables Hub administration of Spaces alongside models and datasets, satisfying requirements for CLI-based operations across both local development and production deployment workflows.