[1.7.2] `hf` CLI skill improvements, `uv` extension installs & bug fixes
hf CLI skill now fully expands subcommand groups and inlines all flags and options, making the CLI self-describing and easier for agents to discover.
hf extension install now uses uv for Python extension installation when available making extension installation faster:
> hyperfine "hf extensions install alvarobartt/hf-mem --force"
# Before
Benchmark 1: hf extensions install alvarobartt/hf-mem --force
Time (mean ± σ): 3.490 s ± 0.220 s [User: 1.925 s, System: 0.445 s]
Range (min … max): 3.348 s … 4.097 s 10 runs
# After
Benchmark 1: hf extensions install alvarobartt/hf-mem --force
Time (mean ± σ): 519.6 ms ± 119.7 ms [User: 216.6 ms, System: 95.2 ms]
Range (min … max): 371.6 ms … 655.2 ms 10 runs
Other QoL improvements:
--format json to hf auth whoami (#3938) by @hanouticelinahuggingface-cli with hf in brew upgrade command (#3946) by @hanouticelinaFull Changelog: https://github.com/huggingface/huggingface_hub/compare/v1.7.1...v1.7.2
Fetched April 7, 2026