huggingface-hub

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

6|Updated Apr 26, 2026
One-click install
npx skills add https://github.com/Strategic-Automation/arachne --skill huggingface-hub-strategic-automation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: huggingface-hub
Source: https://github.com/Strategic-Automation/arachne/tree/main/src/arachne/skills/default/mlops/huggingface-hub
Command: npx skills add https://github.com/Strategic-Automation/arachne --skill huggingface-hub-strategic-automation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a command-line interface to manage Hugging Face Hub resources—repositories, models, datasets, and Spaces—without switching tools, speeding up workflows.

Core Features & Use Cases

  • CLI-based hub interactions: search, info, download, upload, deploy, and manage spaces across models, datasets, and repos.
  • Access governance: manage tokens, switch accounts, and handle private resources with built-in authentication controls.
  • Use Case: A data scientist publishes a new model to the Hub and creates a Space for it, all from the terminal.

Quick Start

Install the CLI, authenticate with a token, and run a basic operation such as listing your models.

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 from the command line?

You can manage Hugging Face Hub repositories from the command line using a CLI to create, delete, clone, and move repos. It automates searching, fetching metadata, and handling models or datasets without switching tools.

Can I upload models and deploy Hugging Face Spaces using a CLI?

Yes, you can upload model artifacts and deploy Hugging Face Spaces using CLI commands. This allows developers to publish models and create interactive Spaces directly from the terminal.

How does token-based authentication work for private Hugging Face resources?

Token-based authentication for private Hugging Face resources works by configuring your CLI with a access token. This allows you to switch accounts, manage private datasets, and securely interact with restricted Hub repositories.

What is the best way to automate listing and fetching metadata for Hugging Face datasets?

The best way to automate listing and fetching metadata for Hugging Face datasets is using CLI commands. It enables you to search, list, and retrieve dataset information across multiple projects programmatically.

Do I need prior CLI experience to manage Hugging Face models and datasets?

You need basic command line interface experience to manage Hugging Face models and datasets with this approach. It is designed for developers and data scientists automating workflows across multiple projects.

Why use a CLI for Hugging Face Hub management instead of switching tools?

Using a CLI for Hugging Face Hub management accelerates workflows by handling models, datasets, and Spaces in one place. It prevents context switching when publishing artifacts or automating repository operations.