hugging-face-cli

Execute Hugging Face Hub operations via the hf CLI for models, datasets, and repositories.

10|2|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/bugrabilge/bilge-development-kit --skill hugging-face-cli-bugrabilge
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hugging-face-cli
Source: https://github.com/bugrabilge/bilge-development-kit/tree/main/skills-extra/hugging-face-cli
Command: npx skills add https://github.com/bugrabilge/bilge-development-kit --skill hugging-face-cli-bugrabilge

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides direct command-line access to the Hugging Face Hub, simplifying operations like downloading models, uploading files, and managing repositories.

Core Features & Use Cases

  • Model & Dataset Management: Download models, datasets, and spaces from the Hugging Face Hub.
  • Repository Operations: Create, upload to, and manage Hugging Face repositories.
  • Cache Control: Manage the local Hugging Face cache efficiently.
  • Cloud Compute: Run jobs on Hugging Face's infrastructure.
  • Use Case: Download a specific pre-trained model for a local AI project or upload your fine-tuned model to your Hugging Face profile.

Quick Start

Use the hugging-face-cli skill to download the model 'meta-llama/Llama-3.2-1B-Instruct' to the current directory.

Frequently Asked Questions about hugging-face-cli

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

FAQPage Schema
How do I download a model from the Hugging Face Hub to a local directory?

Upload files to your Hugging Face repository by using the `hf` CLI to manage repository operations, allowing you to publish fine-tuned models and datasets to your profile.

Can I run compute jobs on Hugging Face infrastructure using the command line?

Yes, you can run compute jobs on Hugging Face infrastructure by executing the `hf` CLI, which supports submitting and managing tasks directly on their cloud environment.

How do I manage the local Hugging Face cache when downloading large models?

Manage your local Hugging Face cache efficiently by using the `hf` CLI to control and clear stored files, preventing disk space issues when downloading large models or datasets.

Does the Hugging Face CLI require authentication to create and manage repositories?

Yes, the Hugging Face CLI handles authentication to securely create, upload to, and manage your repositories, ensuring authorized access when interacting with the Hub.

What is the best way to interact with the Hugging Face Hub for repository management?

The best way to interact with the Hugging Face Hub for repository management is using the `hf` CLI, providing direct command-line access to download, upload, and manage your assets.