hugging-face-cli

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

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/3kpro/aiarsenal --skill hugging-face-cli-3kpro
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hugging-face-cli
Source: https://github.com/3kpro/aiarsenal/tree/main/hugging-face-skills/skills/hugging-face-cli
Command: npx skills add https://github.com/3kpro/aiarsenal --skill hugging-face-cli-3kpro

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines interactions with the Hugging Face Hub, enabling efficient management of models, datasets, and spaces directly from your terminal.

Core Features & Use Cases

  • Model & Dataset Management: Download, upload, create, and manage repositories for models and datasets.
  • Authentication & Cache: Handle authentication securely and manage your local Hugging Face cache.
  • Cloud Compute: Run jobs on Hugging Face's infrastructure, including GPU-accelerated tasks.
  • Use Case: Quickly download a specific model version, upload your fine-tuned weights, or list available datasets for a project without navigating the web interface.

Quick Start

Log in to your Hugging Face account using the hf auth login command.

Frequently Asked Questions about hugging-face-cli

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

FAQPage Schema
How do I manage Hugging Face repositories from the command line?

You can manage Hugging Face repositories from the command line by using the CLI to create, upload, and download models and datasets directly, bypassing the web interface for workflow automation.

Can I run cloud compute jobs on Hugging Face infrastructure via CLI?

Yes, you can execute cloud compute jobs on Hugging Face infrastructure via CLI, allowing you to run and manage GPU-accelerated tasks directly from your terminal.

How do I authenticate and manage cache for Hugging Face models?

You authenticate and manage cache for Hugging Face models by using the `hf auth login` command to securely handle your credentials and configure your local cache.

What is the best way to download a specific model version from Hugging Face?

The best way to download a specific model version from Hugging Face is using the CLI, which streamlines pulling exact model weights and datasets straight to your local environment.

Does the Hugging Face CLI require any special dependencies to upload datasets?

No special dependencies are required to upload datasets; the CLI integrates directly with Hugging Face infrastructure to let you push fine-tuned weights and data repositories seamlessly.

When should I use the Hugging Face CLI instead of the web interface?

You should use the Hugging Face CLI instead of the web interface when you need to automate workflows, execute remote cloud compute jobs, or rapidly manage multiple model repositories.