hf-cli

Manage models, datasets, spaces, and repos on the Hugging Face Hub.

Updated Apr 5, 2026
One-click install
npx skills add https://github.com/tony-ng-vn/Resume-agent --skill hf-cli-tony-ng-vn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hf-cli
Source: https://github.com/tony-ng-vn/Resume-agent/tree/main/.agents/skills/hf-cli
Command: npx skills add https://github.com/tony-ng-vn/Resume-agent --skill hf-cli-tony-ng-vn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires huggingface_hub, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of interacting with the Hugging Face Hub, making it easier to manage models, datasets, spaces, and more.

Core Features & Use Cases

  • Hugging Face Hub Management: Handle authentication, local cache, buckets, jobs, repos, and more.
  • Model and Dataset Management: Download, upload, and manage models and datasets.
  • Space and Endpoint Management: Configure spaces, set up webhooks, and deploy inference endpoints.
  • Use Case: If you need to download a model from the Hub, use the 'hf download' command.

Quick Start

Use the hf-cli skill to download a model from the Hugging Face Hub.

Frequently Asked Questions about hf-cli

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

FAQPage Schema
How do I download and upload models from the Hugging Face Hub?

To download and upload models from the Hugging Face Hub, you can use the hf-cli to manage Hub resources directly, handling authentication and local cache for seamless file transfers.

Can I deploy inference endpoints and manage spaces on Hugging Face Hub?

Yes, you can deploy inference endpoints and manage spaces on the Hugging Face Hub. The cli handles space configuration, webhook setup, and endpoint deployment for your models.

Do I need the huggingface_hub library to manage Hub datasets and repos?

Yes, you need the huggingface_hub library installed to manage Hub datasets and repos. This dependency is required for the cli to interact with and authenticate Hub operations.

What is the best way to manage local cache and authentication for Hugging Face resources?

The best way to manage local cache and authentication for Hugging Face resources is using the hf-cli, which streamlines credential handling and optimizes local storage for models and datasets.

Does the Hugging Face cli support managing buckets, jobs, and papers?

Yes, the Hugging Face cli supports managing buckets, jobs, and papers. It extends resource management beyond models and datasets to include repositories and academic papers on the Hub.