CtrlK
BlogDocsLog inGet started
Tessl Logo

hf-cli

Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing repositories, models, datasets, and Spaces on the Hugging Face Hub. Replaces now deprecated `huggingface-cli` command.

76

2.27x
Quality

66%

Does it follow best practices?

Impact

100%

2.27x

Average score across 3 eval scenarios

SecuritybySnyk

Advisory

Suggest reviewing before use

Fix and improve this skill with Tessl

tessl review fix ./projects/pre-training/.agents/skills/hf-cli/SKILL.md
SKILL.md
Quality
Evals
Security

Evaluation results

100%

Hugging Face Model Inventory Script

HF CLI auth and model listing script

Criteria
Without context
With context

Uses hf not huggingface-cli

100%

100%

hf auth whoami for auth check

100%

100%

HF_TOKEN env var authentication

100%

100%

JSON format flag

100%

100%

Quiet flag for IDs only

100%

100%

hf models ls command

100%

100%

100%

100%

Model Publishing and Cache Cleanup Workflow

Upload workflow and cache management

Criteria
Without context
With context

hf repos create used

0%

100%

hf upload for single file

0%

100%

hf upload-large-folder for directory

0%

100%

hf cache ls for inspection

0%

100%

hf cache prune for cleanup

0%

100%

Uses hf not huggingface-cli

0%

100%

100%

68%

Dataset Exploration and SQL Analysis

Dataset SQL querying without download

Criteria
Without context
With context

hf datasets parquet command

0%

100%

hf datasets sql for counting

0%

100%

hf datasets sql for sampling

0%

100%

Uses hf not huggingface-cli

46%

100%

No full dataset download

100%

100%

Output captured to file

100%

100%

Repository
huggingface/context-course
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.