hf-cli

Manage Hugging Face Hub models, datasets, and spaces via command-line interface.

Updated May 5, 2026
One-click install
npx skills add https://github.com/iani-kuli/harness_bro --skill hf-cli-iani-kuli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hf-cli
Source: https://github.com/iani-kuli/harness_bro/tree/main/.claude/skills/ported/hf-cli
Command: npx skills add https://github.com/iani-kuli/harness_bro --skill hf-cli-iani-kuli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill simplifies interaction with the Hugging Face ecosystem by providing a unified command-line interface for managing models, datasets, spaces, and infrastructure, removing the need for manual web-based navigation.

Core Features & Use Cases

  • Resource Management: Easily download, upload, and sync repositories, datasets, and model files.
  • Infrastructure Control: Manage Inference Endpoints, Jobs, and Spaces directly from your terminal.
  • Use Case: Use this skill to quickly deploy a model to an Inference Endpoint or to sync a local dataset folder with a repository on the Hub without leaving your development environment.

Quick Start

Use the hf-cli skill to list all models in the repository named meta-llama/Llama-3.1-8B.

Frequently Asked Questions about hf-cli

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

FAQPage Schema
How do I manage Hugging Face models and datasets from the command line?

You can manage Hugging Face models and datasets from the command line by using a CLI interface to download, upload, and sync repositories directly without manual web navigation. It provides programmatic control over repository versioning and file management.

Can I deploy to Hugging Face Inference Endpoints and Spaces via CLI?

Yes, you can deploy to Hugging Face Inference Endpoints and Spaces via CLI. The interface provides direct infrastructure control, allowing you to manage remote job execution and cloud deployment entirely from your terminal environment.

What is the best way to automate Hugging Face Hub API interactions?

The best way to automate Hugging Face Hub API interactions is through a command-line interface that handles authentication and cache operations. This enables automated script control over repository versioning and webhook configuration.

Does the Hugging Face CLI support repository versioning and webhook configuration?

Yes, the Hugging Face CLI supports repository versioning and webhook configuration. It facilitates comprehensive command-line interaction with the Hub API, enabling programmatic control over repository updates and automated event triggers.

How do I sync a local dataset folder with a Hugging Face repository?

To sync a local dataset folder with a Hugging Face repository, use the CLI to upload and synchronize files directly. This removes the need for manual web-based navigation and streamlines local-to-cloud dataset management.