Logo van Huggingface Hub

Huggingface Hub

Organisatie
VectorSpaceLab
huggingface-hub

Use the Hugging Face Hub Python client and hf CLI for repository and artifact management, downloads and caching, hosted inference, cloud compute, model integration, and safe automation.

Overzicht

UitgeverVectorSpaceLab
RepositoryAREX-Skill
Skillnaamhuggingface-hub
Sterren
341
Forks
26
Meegeleverde bestanden
30
LicentieApache-2.0
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 30

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door VectorSpaceLab op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Huggingface Hub in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/VectorSpaceLab/AREX-Skill/tree/main/examples/creator/repo-to-skills/artifacts/huggingface_hub/huggingface-hub
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/VectorSpaceLab/AREX-Skill.git /tmp/AREX-Skill
mkdir -p .claude/skills
cp -r /tmp/AREX-Skill/examples/creator/repo-to-skills/artifacts/huggingface_hub/huggingface-hub .claude/skills/huggingface-hub
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Huggingface Hub in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Huggingface Hub automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Huggingface Hub niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Hugging Face Hub

Use this repo skill for huggingface_hub 1.29.0 workflows: the official Python client and hf CLI for interacting with model, dataset, Space, and storage resources on the Hugging Face Hub. This is a router, not an exhaustive API manual. Resolve the user's dominant operation and load only the smallest focused route.

Install and establish the version

For an application, install the base package:

bash
python -m pip install huggingface_hub
python -c "import huggingface_hub; print(huggingface_hub.__version__)"

Add only the optional surface required by the task:

  • huggingface_hub[torch] for torch/safetensors model serialization and mixins.
  • huggingface_hub[oauth] for OAuth server helpers.
  • huggingface_hub[mcp] for MCP client/agent connections.
  • huggingface_hub[gradio] for Gradio-based webhook server integrations.
  • huggingface_hub[hf_xet] when explicitly controlling the Xet transfer extra.

The base package includes the hf entry point. Before relying on a detailed flag, run hf --help, hf version, and the relevant command's --help; CLI surfaces are version-sensitive. Keep HF_TOKEN or an existing login in a secret store and never put a token in source, output, URLs, or reports.

Route the request

User intentLoad this route
Create/search/manage repos, upload or commit files, branches/tags, cards, collections, discussions, PRs, or Hub webhook resourceshub-operations
Download files/snapshots, use cache/offline mode, Xet, HfFileSystem, hf://, buckets, copy, or syncdownloads-and-storage
Call hosted models, select providers, stream/async chat, use tools or JSON schema, MCP, or manage Inference Endpointsinference-and-endpoints
Choose hf commands, parse output, automate shell flows, use extensions, or generate/update CLI skillscli-and-automation
Run Jobs/Sandboxes, configure Spaces, build OAuth/webhook servers, integrate models/cards, serialize DDUF or torch checkpoints, or use TensorBoardhosted-compute-and-integrations

When a workflow crosses routes, keep one owner per operation: use the CLI route for command syntax and output, the Hub route for remote repository mutations, the storage route for read/cache behavior, and the hosted-compute route for paid or stateful cloud resources.

Safety contract

  1. Identify the endpoint, namespace/repo ID, singular Python repo_type (model, dataset, or space), revision, and credential source.
  2. Classify each step as local/read-only, remote mutation, credentialed, or destructive. Use placeholders only for examples, never as authorization.
  3. Inspect resources and current revisions before changing them. Pin a commit or branch when reproducibility or optimistic concurrency matters.
  4. Preview downloads, copies, sync plans, uploads, visibility changes, and deletes. Confirm exact targets immediately before destructive actions.
  5. Keep remote, paid, networked, credentialed, and long-running operations out of local smoke checks. Use mocked transports and temporary fixtures first.
  6. Verify the result by reading the resulting resource, revision, cache path, output shape, or terminal cloud status; do not infer success from a request being accepted.

Read cross-cutting troubleshooting when access, version, network, optional dependencies, cache state, or ambiguous mutation outcomes are involved. Read repository provenance before deciding whether this skill matches a checkout or needs refreshing.

Minimal local check

bash
python -c "import huggingface_hub; from huggingface_hub import HfApi, InferenceClient; print(huggingface_hub.__version__)"
hf --help

Do not run a command that creates, deletes, uploads, launches compute, changes secrets, or incurs inference cost until the target and authorization are explicit. The generated references contain safe mocked and local-only checks; they are not a substitute for permission to contact or mutate the Hub.

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Huggingface Hub?

Use the Hugging Face Hub Python client and hf CLI for repository and artifact management, downloads and caching, hosted inference, cloud compute, model integration, and safe automation.

Waarom Huggingface Hub gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Huggingface Hub bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Huggingface Hub in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/VectorSpaceLab/AREX-Skill/tree/main/examples/creator/repo-to-skills/artifacts/huggingface_hub/huggingface-hub. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Huggingface Hub gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Huggingface Hub gebruiken?

Zoveel als je wilt. Je kunt Huggingface Hub gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Huggingface Hub gratis?

Ja. Deze skill is door VectorSpaceLab op GitHub gepubliceerd onder de licentie Apache-2.0. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇