Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Nevaberry/nevaberry-plugins --skill huggingface-hub-knowledge-patchgit clone --depth 1 https://github.com/Nevaberry/nevaberry-pluginsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/nevaberry/nevaberry-plugins/huggingface-hub-knowledge-patch)<a href="https://agentmods.dev/skills/nevaberry/nevaberry-plugins/huggingface-hub-knowledge-patch"><img src="https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/huggingface-hub-knowledge-patch/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/nevaberry/nevaberry-plugins/huggingface-hub-knowledge-patch"><img src="https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/huggingface-hub-knowledge-patch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00015 | $0.02736 |
| Opus 5.5 | $0.00006 | $0.01094 |
| Sonnet 5.5 | $0.00003 | $0.00547 |
| Haiku 4.5 | $0.00002 | $0.00274 |
Grade A, and why
huggingface-hub-knowledge-patch scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 209 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Hugging Face Hub Compatibility
Load this skill when migrating Hub clients or working with downloads, uploads, repository APIs, authentication, inference, Spaces, jobs, or sandboxes. The references contain the complete guidance and examples by task.
| Reference | Topics |
|---|---|
| Client Migration and Compatibility | Removed APIs and CLI commands, HTTP client factories, transport, exceptions, Python support, CLI input |
| Files, Caches, and Upload Workflows | Downloads, revisions, offline behavior, Hub and Xet caches, uploads, filesystem listings, bucket transactions, dataset queries, model files |
| Inference, Endpoints, and Spaces | Hardware, endpoint deployment, providers, Space resources and OAuth, jobs, metrics, experimental sandboxes and network policies |
| Repository Writes and Authentication | OpenAPI, endpoints, tokens, gated access, commits, cards, webhooks, discussions, attachments, paper metadata |
Removed APIs and deprecations
In v1, replace configure_http_backend with set_client_factory and
set_async_client_factory; move per-call proxies= settings to the HTTPX client.
force_filename was removed: open the path returned by hf_hub_download.
Replace InferenceApi with InferenceClient for synchronous calls or
AsyncInferenceClient for asynchronous calls. Deprecated TensorFlow and Keras
utilities were removed; handle serialization and callbacks in the framework,
then publish the resulting files through HfApi.
For Python API removals in 2.0:
| API, argument, or operation | Migration |
|---|---|
upload_large_folder, HfApi.upload_large_folder |
Use upload_folder. |
| Space duplication | Use duplicate_repo. |
space_storage |
Pass space_volumes to create_repo or duplicate_repo. |
request_space_storage, delete_space_storage |
Use set_space_volumes, delete_space_volumes. |
repo_type_and_id_from_hf_id |
Use parse_hf_uri. |
InferenceEndpointType.PROTECTED |
Use InferenceEndpointType.AUTHENTICATED; create_inference_endpoint(type="protected") raises ValueError. |
list_models(model_name=...) |
Pass search in place of model_name. |
text_generation(stop_sequences=...) |
Pass stop in place of stop_sequences. |
Boolean InferenceClient(token=...) values |
Pass a token string or None. |
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today First seen · 209 lines · 15 tokens per session scan A 7f3b2cd111ca
huggingface-hub-knowledge-patch is a skill published in the GitHub repository Nevaberry/nevaberry-plugins (25 stars, last pushed yesterday), licensed MIT. It adds 15 tokens to every session and 2,736 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-02.
huggingface-hub-knowledge-patch compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| huggingface-hub-knowledge-patchNevaberry/nevaberry-plugins | Skill | 25 | yesterday | MIT | A | 15 | Claude Code |
| gws-modelarmor-create-templatefakoli/fakoli-plugins | Skill | 4 | 3d ago | MIT | A | 18 | Claude Code |
| gws-modelarmor-sanitize-promptfakoli/fakoli-plugins | Skill | 4 | 3d ago | MIT | A | 24 | Claude Code |
| gws-modelarmorfakoli/fakoli-plugins | Skill | 4 | 3d ago | MIT | A | 16 | Claude Code |
| ai-ml-developmenttravisjneuman/.claude | Skill | 115 | today | MIT | A | 43 | Claude Code |
| memobasemaximskorohod/memobase | Skill | 23 | 23d ago | MIT | A | 25 | Claude Code, Codex |
| effect-patterns-building-data-pipelinesPaulJPhilp/EffectPatterns | Skill | 807 | 5mo ago | MIT | A | 31 | Claude Code |