In short.
hf-cli is an instruction skill for AI assistants helping developers work with Hugging Face, but it depends on a separate command-line tool and suitable account permissions. It provides a broad reference for transferring files, inspecting models and datasets, managing repositories and controlling hosted workloads. Relevant commands document revision selection, dry-run options and structured output. Its activation guidance extends to general AI, machine learning and cloud storage requests, while its command catalogue includes credential display, deletion and infrastructure creation. Command correctness, assistant compatibility, operational reliability and service costs have not been assessed through execution.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete selected skills/hf-cli/SKILL.md at revision 25910b3d0ba31a2ba102f901cdc9e008c278a69c and the repository-root LICENSE as related rights evidence. Other folders, linked pages, installer scripts, release binaries, the hf implementation and the hf-mount implementation are excluded. Installation, command execution, outputs, permissions, service availability and charges have not been tested.
The overview
identity
The resource is skills/hf-cli/SKILL.md in the huggingface/skills repository. It contains an activation description, a generated hf command catalogue, installation pointers and usage tips. It identifies huggingface_hub v2.4.0 as its generator.
The selected resource is an instruction file. The hf executable and the separately mentioned hf-mount tool are external dependencies whose implementations are outside this scope.
assessment
The skill offers a useful reference for an assistant handling several kinds of Hugging Face work: finding assets, moving files, managing repositories and operating hosted services. It gives concrete command names and flags rather than general promotional claims.
Its main tradeoff is breadth. The activation description covers virtually any Hugging Face mention, general AI and machine learning requests, and cloud storage needs. The file does not define an approval step before destructive commands or infrastructure creation, so its practical fit depends on the assistant's execution controls.
users
The strongest apparent fit is developers and machine learning practitioners who already use Hugging Face and want an assistant to help with terminal commands. Dataset users and researchers may also find the dataset-querying and paper-reading commands relevant.
Beginners receive a command reference, but little explanation of access tokens, repository permissions, cloud billing or recovery from failed operations. They will need additional guidance for those topics. Experienced users can make more direct use of revision flags, filters, JSON output and hardware configuration options.
capabilities
The documented commands cover authentication, downloads and uploads, bucket transfers and synchronization, local cache cleanup and checksum verification, repository administration, collections, discussions and pull requests. Discovery commands inspect models, datasets and Spaces; paper commands search, list and read papers.
More technical operations include querying dataset Parquet files through DuckDB SQL, running and scheduling container or UV-script jobs, configuring Spaces, managing webhooks and deploying inference endpoints. Experimental sandbox commands manage remote execution environments. These are documented capabilities of the external CLI; successful operation is unverified.
Using it
requirements
To perform the documented operations, an assistant needs access to an installed hf executable and a command-execution environment. Remote Hub operations also require network access, with authentication and account permissions appropriate to the requested action.
The skill recommends HF_TOKEN for token-based authentication and lists interactive login commands. Minimum operating-system requirements, runtime dependencies, supported assistant products, account eligibility and required permission scopes are not specified.
mechanism
The intended mechanism is for an assistant to use the activation description and command catalogue when choosing hf commands. Actual transfers, queries and cloud changes depend on the external CLI and relevant services.
Many entries expose structured-output options, and relevant operations support repository revisions, filtering or dry runs. These can help an assistant construct more specific requests. The file provides no executable orchestration, output-validation logic or demonstrated error-recovery behavior.
setup
The installation command points to [https://hf.co/cli/install.sh] and pipes the downloaded script to Bash. The installer itself is outside the supplied evidence. Documented orientation commands include hf --help, hf version, hf auth login and hf auth whoami.
For assistant skills, the reference lists hf skills add with destination and global-install options, hf skills preview to display generated instructions, and hf skills update. It does not give assistant-specific discovery paths or establish that these commands retrieve this exact captured revision.
example
For a model repository, an illustrative, unexecuted command is hf download OWNER/MODEL --revision COMMIT --dry-run --format json. OWNER/MODEL and COMMIT are placeholders for a real repository and revision.
The documented flags request a download preview for that revision with JSON output. Removing --dry-run would attempt the transfer. No output, access result or successful download is established by this example.
Assessment & evidence
limitations
The command catalogue contains an output-format inconsistency: individual entries commonly enumerate auto, human, agent, json and quiet, while the common-options text describes table as the default. Exact accepted values and defaults therefore need confirmation against the installed CLI.
The reference includes operations with material consequences. hf auth token prints the active credential, repository deletion is described as irreversible, synchronization can delete files, and several commands create or change hosted infrastructure. The skill does not establish safeguards for these operations. Installation, command behavior and assistant task success remain untested.
reasoning
The strongest practical argument for this skill is reduced lookup effort when an assistant moves between Hugging Face tasks. Related command families share one reference, including options for structured output, revision selection and previewing certain operations.
That catalogue establishes documented coverage; effectiveness still needs runtime evidence. There are no comparative results showing improved accuracy, speed or reliability. For occasional tasks, the amount of account and infrastructure functionality in the reference may exceed what the user needs.
alternatives
Developers can use the documented hf --help and hf <command> --help interfaces directly for task-specific guidance. This is a practical option when assistant-driven command selection is unnecessary.
For accessing repositories or buckets through local filesystem paths, the source points to hf-mount at [https://github.com/huggingface/hf-mount] and describes on-demand fetching. Its implementation and compatibility are outside this scope. No evidence supports a performance, cost or reliability comparison between these approaches.
evidence
The primary source is the complete selected instruction file at [https://raw.githubusercontent.com/huggingface/skills/25910b3d0ba31a2ba102f901cdc9e008c278a69c/skills/hf-cli/SKILL.md]. The accompanying licence is at [https://raw.githubusercontent.com/huggingface/skills/25910b3d0ba31a2ba102f901cdc9e008c278a69c/LICENSE].
These sources establish the instruction text, documented command surface and licence terms. They provide no executable implementation, installation results, command transcripts or benchmarks. Linked pages and other repository folders are excluded.
Access & freshness
costs
The accompanying Apache licence grants no-charge copyright and applicable patent permissions. That does not establish the cost of operating the external tools or Hugging Face services.
Prices, quotas, billing prerequisites and storage or transfer charges are unknown. The file lists hardware choices for jobs, Spaces, endpoints and sandboxes, but provides no rates or workload cost estimates.
rights
The accompanying repository licence is Apache License 2.0. It permits reproduction, modification and distribution subject to its conditions, including supplying the licence, marking modified files, retaining applicable notices and carrying forward applicable NOTICE attributions when present.
The licence includes warranty disclaimers and does not grant general trademark rights. No separate NOTICE file is supplied. This licence evidence does not establish the rights for models, datasets, installers or external tools accessed through the documented commands.
freshness
The source snapshot is pinned to revision 25910b3d0ba31a2ba102f901cdc9e008c278a69c and was captured on 2026-11-12 at 01:00:22.050 UTC. The skill identifies huggingface_hub v2.4.0 as its generator; this does not establish the version installed in a user's environment.
The file directs users of the deprecated huggingface-cli command toward hf and documents regeneration through hf skills add --force. Its release date, subsequent changes and compatibility with other CLI versions are unknown.
actions
Before adopting the skill, compare hf version and task-specific help with the captured command reference, particularly output-format options. Use hf skills preview to inspect the instructions generated by the installed CLI.
Confirm the active account with hf auth whoami and keep hf auth token output out of shared transcripts. For relevant operations, inspect dry-run results and target revisions before making changes. Establish account-specific permissions and service pricing before using infrastructure-creation commands.
