hugging-face-cli SKILL.md skillA

hugging-face-cli from tayyabexe/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add tayyabexe/skills/hugging-face-cli@git:20260109.351508f

Pins git:20260109.351508f in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
tayyabexe/skills
Path
skills/hugging-face-cli/SKILL.md
Versions recorded
2
Latest version
git:20260109.351508f, committed Jan 9, 2026
First version recorded
Jan 7, 2026
Size
7,428 bytes
Repository stars
4
License
Apache-2.0

Execute Hugging Face Hub operations using the `hf` CLI. Use when the user needs to download models/datasets/spaces, upload files to Hub repositories, create repos, manage local cache, or run compute jobs on HF infrastructure. Covers authentication, file transfers, repository creation, cache operations, and cloud compute.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Hugging Face CLI

The `hf` CLI provides direct terminal access to the Hugging Face Hub for downloading, uploading, and managing repositories, cache, and compute resources.

## Quick Command Reference

| Task | Command |
|------|---------|
| Login | `hf auth login` |
| Download model | `hf download <repo_id>` |
| Download to folder | `hf download <repo_id> --local-dir ./path` |
| Upload folder | `hf upload <repo_id> . .` |
| Create repo | `hf repo create <name>` |
| Create tag | `hf repo tag create <repo_id> <tag>` |
| Delete files | `hf repo-files delete <repo_id> <files>` |
| List cache | `hf cache ls` |
| Remove from cache | `hf cache rm <repo_or_revision>` |
| List models | `hf models ls` |
| Get model info | `hf models info <model_id>` |
| List datasets | `hf datasets ls` |
| Get dataset info | `hf datasets info <dataset_id>` |
| List spaces | `hf spaces ls` |
| Get space info | `hf spaces info <space_id>` |
| List endpoints | `hf endpoints ls` |
| Run GPU job | `hf jobs run --flavor a10g-small <image> <cmd>` |
| Environment info | `hf env` |

## Core Commands

### Authentication
```bash
hf auth login                    # Interactive login
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add tayyabexe/skills/hugging-face-cli@sha256:c011e33ff672d5b1

The line at the top of this page pins the label git:20260109.351508f, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_d6sac3dvrfoz4zfj.svg)](https://markdownregistry.com/a/art_d6sac3dvrfoz4zfj)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Jan 7, 2026 and Jan 9, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
git:20260109.351508f latest2026-01-09 351508f 7,428 BA view · diff
git:20260107.a25b8e52026-01-07 a25b8e5 6,375 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (7428 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

tayyabexe/skills · 4 stars · license Apache-2.0 · pushed 2026-10-14 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_d6sac3dvrfoz4zfj
GET https://markdownregistry.com/api/v1/resolve?ref=tayyabexe/skills/hugging-face-cli
GET https://markdownregistry.com/api/v1/blob/c011e33ff672d5b1ec80fd280f245ff0c15e8dac3b8a0d146c8973a596185878

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from tayyabexe/skills

AGENTS.md@agents AGENTS.md file
tayyabexe/skills · agents/AGENTS.md
git:20260302.f55e49d · audit A · 4 stars
hf-mcp SKILL.md skill
tayyabexe/skills · hf-mcp/skills/hf-mcp/SKILL.md · Use Hugging Face Hub via MCP server tools. Search models, datasets, Spaces, papers. Get repo details, fetch…
git:20260106.fa7188e · audit A · 4 stars
hugging-face-dataset-viewer SKILL.md skill
tayyabexe/skills · skills/hugging-face-dataset-viewer/SKILL.md · Use this skill for Hugging Face Dataset Viewer API workflows that fetch subset/split metadata, paginate rows, search…
git:20260219.1814e63 · audit A · 4 stars
hugging-face-datasets SKILL.md skill
tayyabexe/skills · skills/hugging-face-datasets/SKILL.md · Create and manage datasets on Hugging Face Hub. Supports initializing repos, defining configs/system prompts, streaming…
git:20260112.b417fad · audit A · 4 stars
hugging-face-evaluation SKILL.md skill
tayyabexe/skills · skills/hugging-face-evaluation/SKILL.md · Add and manage evaluation results in Hugging Face model cards. Supports extracting eval tables from README content…
git:20260112.b417fad · audit A · 4 stars
hugging-face-jobs SKILL.md skill
tayyabexe/skills · skills/hugging-face-jobs/SKILL.md · This skill should be used when users want to run any workload on Hugging Face Jobs infrastructure. Covers UV scripts…
git:20260107.a25b8e5 · audit A · 4 stars
hugging-face-model-trainer SKILL.md skill
tayyabexe/skills · skills/hugging-face-model-trainer/SKILL.md · This skill should be used when users want to train or fine-tune language models using TRL (Transformer Reinforcement…
git:20260130.55b11ff · audit A · 4 stars
hugging-face-paper-publisher SKILL.md skill
tayyabexe/skills · skills/hugging-face-paper-publisher/SKILL.md · Publish and manage research papers on Hugging Face Hub. Supports creating paper pages, linking papers to…
git:20260112.b417fad · audit A · 4 stars
hugging-face-tool-builder SKILL.md skill
tayyabexe/skills · skills/hugging-face-tool-builder/SKILL.md · Use this skill when the user wants to build tool/scripts or achieve a task where using data from the Hugging Face API…
git:20260107.a25b8e5 · audit A · 4 stars
hugging-face-trackio SKILL.md skill
tayyabexe/skills · skills/hugging-face-trackio/SKILL.md · Track and visualize ML training experiments with Trackio. Use when logging metrics during training (Python API), firing…
git:20260227.ec9f530 · audit A · 4 stars
gradio SKILL.md skill
tayyabexe/skills · skills/huggingface-gradio/SKILL.md · Build Gradio web UIs and demos in Python. Use when creating or editing Gradio apps, components, event listeners…
git:20260224.e6fd8b8 · audit A · 4 stars

Every file in tayyabexe/skills

Browse by kind, by grade A, or by owner.