Huggingface hub

From graniet/kheish · View interactive version

Huggingface hub is an AI agent skill from the GitHub repository graniet/kheish. Hugging Face Hub CLI (hf) — search, download, and upload models and datasets, manage repos, query datasets with SQL, deploy inference endpoints, manage Spaces and buckets.

How to use this skill

Skill file

Kheish Compatibility

This skill is repo-local and stays inactive until explicitly activated.

When the original instructions refer to legacy tool names, use these Kheish mappings:

When the instructions mention local helper files, resolve them from ${KHEISH_SKILL_DIR}.

Hugging Face CLI (`hf`) Reference Guide

The hf command is the modern command-line interface for interacting with the Hugging Face Hub, providing tools to manage repositories, models, datasets, and Spaces.

IMPORTANT: The hf command replaces the now deprecated huggingface-cli command.

Quick Start


Core Commands

General Operations

Authentication (`hf auth`)

Repository Management (`hf repos`)


Specialized Hub Interactions

Datasets & Models

Discussions & Pull Requests (`hf discussions`)

Infrastructure & Compute

Storage & Automation


Advanced Usage & Tips

Global Flags

Extensions & Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.