Token导航 LogoToken导航

Agent Skill · 研究检索

hugging-face-cli(hugging face CLI 搜索)

hugging-face-cli 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

hugging-face-cli 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 34,506。

总安装 2,212周安装 95GitHub Stars 35,728下载 775核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:hugging-face-cli(hugging face CLI 搜索)
来源仓库:https://github.com/sickn33/antigravity-awesome-skills
仓库路径:skills/hugging-face-cli
安装命令:
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill hugging-face-cli
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill hugging-face-cli

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

hugging-face-cli 提供 Hugging Face 模型与工具的命令行搜索支持。适用于快速查找预训练模型、数据集和推理服务场景。可基于关键词筛选候选资源并输出使用示例。hugging-face-cli 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

使用前需确认网络连通性和 API 调用配额限制。涉及商业用途时应检查模型许可证,避免侵权风险。

来源仓库内路径:skills/hugging-face-cli

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill hug…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

hugging-face-cli 怎么安装?

在终端执行 npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill hugging-face-…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

hugging-face-cli 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

hugging-face-cli 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

hugging-face-cli 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

hugging-face-cli 用的人多吗?

公开数据是累计安装 2,212 次,近一周安装 95 次,下载 775 次,GitHub 35,728 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

hugging-face-cli 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 来源仓库有 35,728 星,维护活跃度相对可查。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
hugging-face-cli

hugging face CLI 搜索 · 本页

2,21235,728需要联网未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Install by downloading the installer script first, reviewing it, and then running it locally. Example: curl -LsSf https://hf.co/cli/install.sh -o /tmp/hf-install.sh && less /tmp/hf-install.sh && bash /tmp/hf-install.sh

When to Use

Use this skill when you need the hf CLI for Hub authentication, downloads, uploads, repo management, or basic compute operations.

The Hugging Face Hub CLI tool hf is available. IMPORTANT: The hf command replaces the deprecated huggingface-cli command.

Use hf --help to view available functions. Note that auth commands are now all under hf auth e.g. hf auth whoami.

Generated with huggingface_hub v1.8.0. Run hf skills add --force to regenerate.

Commands

  • hf download REPO_ID — Download files from the Hub. [--type CHOICE --revision TEXT --include TEXT --exclude TEXT --cache-dir TEXT --local-dir TEXT --force-download --dry-run --quiet --max-workers INTEGER]
  • hf env — Print information about the environment.
  • hf sync — Sync files between local directory and a bucket. [--delete --ignore-times --ignore-sizes --plan TEXT --apply TEXT --dry-run --include TEXT --exclude TEXT --filter-from TEXT --existing --ignore-existing --verbose --quiet]
  • hf upload REPO_ID — Upload a file or a folder to the Hub. Recommended for single-commit uploads. [--type CHOICE --revision TEXT --private --include TEXT --exclude TEXT --delete TEXT --commit-message TEXT --commit-description TEXT --create-pr --every FLOAT --quiet]
  • hf upload-large-folder REPO_ID LOCAL_PATH — Upload a large folder to the Hub. Recommended for resumable uploads. [--type CHOICE --revision TEXT --private --include TEXT --exclude TEXT --num-workers INTEGER --no-report --no-bars]
  • hf version — Print information about the hf version.

hf auth — Manage authentication (login, logout, etc.).

  • hf auth list — List all stored access tokens.
  • hf auth login — Login using a token from huggingface.co/settings/tokens. [--add-to-git-credential --force]
  • hf auth logout — Logout from a specific token. [--token-name TEXT]
  • hf auth switch — Switch between access tokens. [--token-name TEXT --add-to-git-credential]
  • hf auth whoami — Find out which huggingface.co account you are logged in as. [--format CHOICE]

hf buckets — Commands to interact with buckets.

  • hf buckets cp SRC — Copy a single file to or from a bucket. [--quiet]
  • hf buckets create BUCKET_ID — Create a new bucket. [--private --exist-ok --quiet]
  • hf buckets delete BUCKET_ID — Delete a bucket. [--yes --missing-ok --quiet]
  • hf buckets info BUCKET_ID — Get info about a bucket. [--quiet]
  • hf buckets list — List buckets or files in a bucket. [--human-readable --tree --recursive --format CHOICE --quiet]
  • hf buckets move FROM_ID TO_ID — Move (rename) a bucket to a new name or namespace.
  • hf buckets remove ARGUMENT — Remove files from a bucket. [--recursive --yes --dry-run --include TEXT --exclude TEXT --quiet]
  • hf buckets sync — Sync files between local directory and a bucket. [--delete --ignore-times --ignore-sizes --plan TEXT --apply TEXT --dry-run --include TEXT --exclude TEXT --filter-from TEXT --existing --ignore-existing --verbose --quiet]

hf cache — Manage local cache directory.

  • hf cache list — List cached repositories or revisions. [--cache-dir TEXT --revisions --filter TEXT --format CHOICE --quiet --sort CHOICE --limit INTEGER]
  • hf cache prune — Remove detached revisions from the cache. [--cache-dir TEXT --yes --dry-run]
  • hf cache rm TARGETS — Remove cached repositories or revisions. [--cache-dir TEXT --yes --dry-run]
  • hf cache verify REPO_ID — Verify checksums for a single repo revision from cache or a local directory. [--type CHOICE --revision TEXT --cache-dir TEXT --local-dir TEXT --fail-on-missing-files --fail-on-extra-files]

hf collections — Interact with collections on the Hub.

  • hf collections add-item COLLECTION_SLUG ITEM_ID ITEM_TYPE — Add an item to a collection. [--note TEXT --exists-ok]
  • hf collections create TITLE — Create a new collection on the Hub. [--namespace TEXT --description TEXT --private --exists-ok]
  • hf collections delete COLLECTION_SLUG — Delete a collection from the Hub. [--missing-ok]
  • hf collections delete-item COLLECTION_SLUG ITEM_OBJECT_ID — Delete an item from a collection. [--missing-ok]
  • hf collections info COLLECTION_SLUG — Get info about a collection on the Hub. Output is in JSON format.
  • hf collections list — List collections on the Hub. [--owner TEXT --item TEXT --sort CHOICE --limit INTEGER --format CHOICE --quiet]
  • hf collections update COLLECTION_SLUG — Update a collection's metadata on the Hub. [--title TEXT --description TEXT --position INTEGER --private --theme TEXT]
  • hf collections update-item COLLECTION_SLUG ITEM_OBJECT_ID — Update an item in a collection. [--note TEXT --position INTEGER]

hf datasets — Interact with datasets on the Hub.

  • hf datasets info DATASET_ID — Get info about a dataset on the Hub. Output is in JSON format. [--revision TEXT --expand TEXT]
  • hf datasets list — List datasets on the Hub. [--search TEXT --author TEXT --filter TEXT --sort CHOICE --limit INTEGER --expand TEXT --format CHOICE --quiet]
  • hf datasets parquet DATASET_ID — List parquet file URLs available for a dataset. [--subset TEXT --split TEXT --format CHOICE --quiet]
  • hf datasets sql SQL — Execute a raw SQL query with DuckDB against dataset parquet URLs. [--format CHOICE]

hf discussions — Manage discussions and pull requests on the Hub.

  • hf discussions close REPO_ID NUM — Close a discussion or pull request. [--comment TEXT --yes --type CHOICE]
  • hf discussions comment REPO_ID NUM — Comment on a discussion or pull request. [--body TEXT --body-file PATH --type CHOICE]
  • hf discussions create REPO_ID --title TEXT — Create a new discussion or pull request on a repo. [--body TEXT --body-file PATH --pull-request --type CHOICE]
  • hf discussions diff REPO_ID NUM — Show the diff of a pull request. [--type CHOICE]
  • hf discussions info REPO_ID NUM — Get info about a discussion or pull request. [--comments --diff --no-color --type CHOICE --format CHOICE]
  • hf discussions list REPO_ID — List discussions and pull requests on a repo. [--status CHOICE --kind CHOICE --author TEXT --limit INTEGER --type CHOICE --format CHOICE --quiet]
  • hf discussions merge REPO_ID NUM — Merge a pull request. [--comment TEXT --yes --type CHOICE]
  • hf discussions rename REPO_ID NUM NEW_TITLE — Rename a discussion or pull request. [--type CHOICE]
  • hf discussions reopen REPO_ID NUM — Reopen a closed discussion or pull request. [--comment TEXT --yes --type CHOICE]

hf endpoints — Manage Hugging Face Inference Endpoints.

  • hf endpoints catalog deploy --repo TEXT — Deploy an Inference Endpoint from the Model Catalog. [--name TEXT --accelerator TEXT --namespace TEXT]
  • hf endpoints catalog list — List available Catalog models.
  • hf endpoints delete NAME — Delete an Inference Endpoint permanently. [--namespace TEXT --yes]
  • hf endpoints deploy NAME --repo TEXT --framework TEXT --accelerator TEXT --instance-size TEXT --instance-type TEXT --region TEXT --vendor TEXT — Deploy an Inference Endpoint from a Hub repository. [--namespace TEXT --task TEXT --min-replica INTEGER --max-replica INTEGER --scale-to-zero-timeout INTEGER --scaling-metric CHOICE --scaling-threshold FLOAT]
  • hf endpoints describe NAME — Get information about an existing endpoint. [--namespace TEXT]
  • hf endpoints list — Lists all Inference Endpoints for the given namespace. [--namespace TEXT --format CHOICE --quiet]
  • hf endpoints pause NAME — Pause an Inference Endpoint. [--namespace TEXT]
  • hf endpoints resume NAME — Resume an Inference Endpoint. [--namespace TEXT --fail-if-already-running]
  • hf endpoints scale-to-zero NAME — Scale an Inference Endpoint to zero. [--namespace TEXT]
  • hf endpoints update NAME — Update an existing endpoint. [--namespace TEXT --repo TEXT --accelerator TEXT --instance-size TEXT --instance-type TEXT --framework TEXT --revision TEXT --task TEXT --min-replica INTEGER --max-replica INTEGER --scale-to-zero-timeout INTEGER --scaling-metric CHOICE --scaling-threshold FLOAT]

hf extensions — Manage hf CLI extensions.

  • hf extensions exec NAME — Execute an installed extension.
  • hf extensions install REPO_ID — Install an extension from a public GitHub repository. [--force]
  • hf extensions list — List installed extension commands. [--format CHOICE --quiet]
  • hf extensions remove NAME — Remove an installed extension.
  • hf extensions search — Search extensions available on GitHub (tagged with 'hf-extension' topic). [--format CHOICE --quiet]

hf jobs — Run and manage Jobs on the Hub.

  • hf jobs cancel JOB_ID — Cancel a Job [--namespace TEXT]
  • hf jobs hardware — List available hardware options for Jobs
  • hf jobs inspect JOB_IDS — Display detailed information on one or more Jobs [--namespace TEXT]
  • hf jobs logs JOB_ID — Fetch the logs of a Job. [--follow --tail INTEGER --namespace TEXT]
  • hf jobs ps — List Jobs. [--all --namespace TEXT --filter TEXT --format TEXT --quiet]
  • hf jobs run IMAGE COMMAND — Run a Job. [--env TEXT --secrets TEXT --label TEXT --volume TEXT --env-file TEXT --secrets-file TEXT --flavor CHOICE --timeout TEXT --detach --namespace TEXT]
  • hf jobs scheduled delete SCHEDULED_JOB_ID — Delete a scheduled Job. [--namespace TEXT]
  • hf jobs scheduled inspect SCHEDULED_JOB_IDS — Display detailed information on one or more scheduled Jobs [--namespace TEXT]
  • hf jobs scheduled ps — List scheduled Jobs [--all --namespace TEXT --filter TEXT --format TEXT --quiet]
  • hf jobs scheduled resume SCHEDULED_JOB_ID — Resume (unpause) a scheduled Job. [--namespace TEXT]
  • hf jobs scheduled run SCHEDULE IMAGE COMMAND — Schedule a Job. [--suspend --concurrency --env TEXT --secrets TEXT --label TEXT --volume TEXT --env-file TEXT --secrets-file TEXT --flavor CHOICE --timeout TEXT --namespace TEXT]
  • hf jobs scheduled suspend SCHEDULED_JOB_ID — Suspend (pause) a scheduled Job. [--namespace TEXT]
  • hf jobs scheduled uv run SCHEDULE SCRIPT — Run a UV script (local file or URL) on HF infrastructure [--suspend --concurrency --image TEXT --flavor CHOICE --env TEXT --secrets TEXT --label TEXT --volume TEXT --env-file TEXT --secrets-file TEXT --timeout TEXT --namespace TEXT --with TEXT --python TEXT]
  • hf jobs stats — Fetch the resource usage statistics and metrics of Jobs [--namespace TEXT]
  • hf jobs uv run SCRIPT — Run a UV script (local file or URL) on HF infrastructure [--image TEXT --flavor CHOICE --env TEXT --secrets TEXT --label TEXT --volume TEXT --env-file TEXT --secrets-file TEXT --timeout TEXT --detach --namespace TEXT --with TEXT --python TEXT]

hf models — Interact with models on the Hub.

  • hf models info MODEL_ID — Get info about a model on the Hub. Output is in JSON format. [--revision TEXT --expand TEXT]
  • hf models list — List models on the Hub. [--search TEXT --author TEXT --filter TEXT --num-parameters TEXT --sort CHOICE --limit INTEGER --expand TEXT --format CHOICE --quiet]

hf papers — Interact with papers on the Hub.

  • hf papers info PAPER_ID — Get info about a paper on the Hub. Output is in JSON format.
  • hf papers list — List daily papers on the Hub. [--date TEXT --week TEXT --month TEXT --submitter TEXT --sort CHOICE --limit INTEGER --format CHOICE --quiet]
  • hf papers read PAPER_ID — Read a paper as markdown.
  • hf papers search QUERY — Search papers on the Hub. [--limit INTEGER --format CHOICE --quiet]

hf repos — Manage repos on the Hub.

  • hf repos branch create REPO_ID BRANCH — Create a new branch for a repo on the Hub. [--revision TEXT --type CHOICE --exist-ok]
  • hf repos branch delete REPO_ID BRANCH — Delete a branch from a repo on the Hub. [--type CHOICE]
  • hf repos create REPO_ID — Create a new repo on the Hub. [--type CHOICE --space-sdk TEXT --private --public --protected --exist-ok --resource-group-id TEXT --flavor TEXT --storage TEXT --sleep-time INTEGER --secrets TEXT --secrets-file TEXT --env TEXT --env-file TEXT]
  • hf repos delete REPO_ID — Delete a repo from the Hub. This is an irreversible operation. [--type CHOICE --missing-ok]
  • hf repos delete-files REPO_ID PATTERNS — Delete files from a repo on the Hub. [--type CHOICE --revision TEXT --commit-message TEXT --commit-description TEXT --create-pr]
  • hf repos duplicate FROM_ID — Duplicate a repo on the Hub (model, dataset, or Space). [--type CHOICE --private --public --protected --exist-ok --flavor TEXT --storage TEXT --sleep-time INTEGER --secrets TEXT --secrets-file TEXT --env TEXT --env-file TEXT]
  • hf repos move FROM_ID TO_ID — Move a repository from a namespace to another namespace. [--type CHOICE]
  • hf repos settings REPO_ID — Update the settings of a repository. [--gated CHOICE --private --public --protected --type CHOICE]
  • hf repos tag create REPO_ID TAG — Create a tag for a repo. [--message TEXT --revision TEXT --type CHOICE]
  • hf repos tag delete REPO_ID TAG — Delete a tag for a repo. [--yes --type CHOICE]
  • hf repos tag list REPO_ID — List tags for a repo. [--type CHOICE]

hf skills — Manage skills for AI assistants.

  • hf skills add — Download a skill and install it for an AI assistant. [--claude --codex --cursor --opencode --global --dest PATH --force]
  • hf skills preview — Print the generated SKILL.md to stdout.

hf spaces — Interact with spaces on the Hub.

  • hf spaces dev-mode SPACE_ID — Enable or disable dev mode on a Space. [--stop]
  • hf spaces hot-reload SPACE_ID — Hot-reload any Python file of a Space without a full rebuild + restart. [--local-file TEXT --skip-checks --skip-summary]
  • hf spaces info SPACE_ID — Get info about a space on the Hub. Output is in JSON format. [--revision TEXT --expand TEXT]
  • hf spaces list — List spaces on the Hub. [--search TEXT --author TEXT --filter TEXT --sort CHOICE --limit INTEGER --expand TEXT --format CHOICE --quiet]

hf webhooks — Manage webhooks on the Hub.

  • hf webhooks create --watch TEXT — Create a new webhook. [--url TEXT --job-id TEXT --domain CHOICE --secret TEXT]
  • hf webhooks delete WEBHOOK_ID — Delete a webhook permanently. [--yes]
  • hf webhooks disable WEBHOOK_ID — Disable an active webhook.
  • hf webhooks enable WEBHOOK_ID — Enable a disabled webhook.
  • hf webhooks info WEBHOOK_ID — Show full details for a single webhook as JSON.
  • hf webhooks list — List all webhooks for the current user. [--format CHOICE --quiet]
  • hf webhooks update WEBHOOK_ID — Update an existing webhook. Only provided options are changed. [--url TEXT --watch TEXT --domain CHOICE --secret TEXT]

Common options

  • --format — Output format: --format json (or --json) or --format table (default).
  • -q / --quiet — Minimal output.
  • --revision — Git revision id which can be a branch name, a tag, or a commit hash.
  • --token — Use a User Access Token. Prefer setting HF_TOKEN env var instead of passing --token.
  • --type — The type of repository (model, dataset, or space).

Mounting repos as local filesystems

To mount Hub repositories or buckets as local filesystems — no download, no copy, no waiting — use hf-mount. Files are fetched on demand. GitHub: https://github.com/huggingface/hf-mount

Install by downloading the installer locally, reviewing it, and then running it. Example: curl -fsSL https://raw.githubusercontent.com/huggingface/hf-mount/main/install.sh -o /tmp/hf-mount-install.sh && less /tmp/hf-mount-install.sh && sh /tmp/hf-mount-install.sh

Some command examples:

  • hf-mount start repo openai-community/gpt2 /tmp/gpt2 — mount a repo (read-only)
  • hf-mount start --hf-token $HF_TOKEN bucket myuser/my-bucket /tmp/data — mount a bucket (read-write)
  • hf-mount status / hf-mount stop /tmp/data — list or unmount

Tips

  • Use hf <command> --help for full options, descriptions, usage, and real-world examples
  • Authenticate with HF_TOKEN env var (recommended) or with --token

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

平台分布

Codex

36.87%
按下载量换算286

Claude

28.32%
按下载量换算219

Cursor

18.01%
按下载量换算140

Gemini CLI

8.6%
按下载量换算67

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills