Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计提醒

hf-hub高频集线器

Agent Skill

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

总安装

1,077

周安装

44

GitHub Stars

公开资料未说明

下载量

348
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:hf-hub(高频集线器)
来源仓库:https://github.com/noesis-boss/hf-hub
安装命令:
openclaw skills install hf-hub
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install hf-hub

简介

通过 Huggingface_hub Python 库访问 Hugging Face Hub 模型、数据集和空间。当您需要列出、搜索、下载或上传 HF 资产时使用。

SKILL.md

name
huggingface-hub
description
Access Hugging Face Hub models, datasets, and spaces via the huggingface_hub Python library. Use when you need to list, search, download, or upload HF assets.
compatibility
Created for Zo Computer
metadata
author
jaknyfe.zo.computer

Hugging Face Hub Skill

Interact with Hugging Face Hub — browse models/datasets/spaces, download files, upload artifacts, and more.

Prerequisites

Install the library:

pip install huggingface_hub

Save your HF token to Settings > Advanced as HF_TOKEN (get one at https://huggingface.co/settings/tokens).

Usage

python3 /home/workspace/Skills/huggingface-hub/scripts/hf_hub.py <command> [options]

Commands

CommandDescription
list-modelsList models. Options: --search, --sort, --direction, --limit
list-datasetsList datasets. Options: --search, --sort, --direction, --limit
list-spacesList spaces. Options: --search, --sort, --direction, --limit
model-infoGet model info. Options: --model
dataset-infoGet dataset info. Options: --dataset
download-fileDownload a file from a repo. Options: --repo-id, --filename, --revision
upload-fileUpload a file. Options: --local-path, --repo-id, --repo-type, --path-in-repo
whoamiShow authenticated user info

Examples

# Search for text-to-image models
python3 .../hf_hub.py list-models --search "text-to-image" --limit 10

# Download a model file
python3 .../hf_hub.py download-file --repo-id "stabilityai/stable-diffusion-xl-base-1.0" --filename "pytorch_model.bin"

# Upload a file
python3 .../hf_hub.py upload-file --local-path ./model.pt --repo-id "your-username/my-model" --repo-type "model"

# List top-rated datasets
python3 .../hf_hub.py list-datasets --sort "likes" --direction desc --limit 5

API Reference

This skill wraps huggingface_hub. Key functions:

  • list_models, list_datasets, list_spaces — browse hub
  • huggingface_hub — authentication and file ops
  • InferenceClient — run inference on hosted models/spaces

Notes

  • Downloads cache to ~/.cache/huggingface/
  • repo-type values: model, dataset, space
  • Default revision is main

适合场景

01

文本生成图片

02

图片风格化

03

产品图和创意图

04

需要 FLUX 模型时

能力概览

能力 1

调用 FLUX 图像模型

能力 2

支持文本生图和图像改写

能力 3

覆盖 LoRA 或风格适配

能力 4

适合创意视觉生成

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

75.79%
按下载量换算264

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills