Skip to content
Agentmart
Submit a tool

hf-cli

Inspect and manage Hugging Face Hub models, datasets, Spaces, repositories, cache, authentication, and downloads with the current hf CLI.

Skill by metaspartan

IndexedMIT★ 32
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/metaspartan-hf-cli

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Inspect and manage Hugging Face Hub models, datasets, Spaces, repositories, cache, authentication, and downloads with the current hf CLI.

Use cases: ml

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/hf-cli

What's inside

Skill name
hf-cli
Description
Inspect and manage Hugging Face Hub models, datasets, Spaces, repositories, cache, authentication, and downloads with the current hf CLI.
License
MIT
Instructions
30 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Hugging Face CLI

Use the current `hf` CLI for Hub operations. Do not use the deprecated `huggingface-cli` command.

## Workflow

1. Run `hf version` and `hf --help` before relying on a command that may vary by installed version.
2. Use public read-only operations without authentication when possible.
3. For private or write operations, run `hf auth whoami` without printing stored tokens.
4. Prefer structured output such as `--format json` when another tool will consume the result.
5. Use `--dry-run` when supported before downloads, cache cleanup, synchronization, or deletion.
6. Confirm the repository, revision, visibility, and affected paths before uploads or destructive changes.

## Common operations

```bash
hf models info namespace/model --format json
hf models list --search "query" --limit 20 --format json
hf datasets info namespace/dataset --format json
hf datasets list --search "query" --limit 20 --format json
hf download namespace/model --include "*.json" --dry-run
hf cache list --limit 30
hf papers list --limit 20 --format json
```

Use `hf upload` for a bounded file or directory and `hf upload-large-folder` for resumable large uploads. Never place a token in command arguments, source files, logs, or chat output. Use the authenticated credential store or `HF_TOKEN` environment variable.

If `hf` is unavailable, report that prerequisite clearly. Do not install software unless the user requested installation.

From metaspartan/cybara, MIT.

More from metaspartan/cybara

Compare and alternatives

    Featured in

    Signals

    Stars
    32
    Forks
    9
    Open issues
    0
    Last commit (this folder)
    Jul 30, 2026 (2 months ago)
    Last release
    Oct 24, 2026 (3 days ago)

    From GitHub (fetched Oct 24, 2026).

    Details

    License
    MIT
    Website
    cybara.ai
    First seen
    Oct 24, 2026
    Last checked
    Oct 24, 2026

    More from metaspartan

    Cite this page

    hf-cli skill. Agent Mart. https://agentmart.dev/skills/metaspartan-hf-cli (last updated 2026-10-24)