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 agentmods add skills/fmind/dot/hfnpx skills add fmind/dot --skill hfgit clone --depth 1 https://github.com/fmind/dotWrote 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/fmind/dot/hf)<a href="https://agentmods.dev/skills/fmind/dot/hf"><img src="https://agentmods.dev/badge/skills/fmind/dot/hf.svg" alt="Measured on agentmods" 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 | $0.00042 | $0.00783 |
| Opus 5 | $0.00021 | $0.00392 |
| Sonnet 5 | $0.00008 | $0.00157 |
| Haiku 4.5 | $0.00004 | $0.00078 |
Grade A, and why
hf 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 yesterday.
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 — 52 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Hugging Face CLI
Use hf for Hub operations from the shell. The CLI generates its own command skill from the installed version; this skill owns authentication, cache hygiene, and the authority boundary around uploads and paid jobs.
Workflow
-
Resolve the account:
hf auth whoami; log in withhf auth loginor passHF_TOKENthrough the environment. Never runhf auth tokenin a transcript or log. -
Read before writing:
hf models info <repo-id>,hf models card <repo-id>,hf models ls --sort downloads --limit 10, and thedatasetsandspacestwins answer most questions without a download. -
Download into an ignored directory: gated repositories need the license accepted on the website first.
hf download <repo-id> --local-dir models/<name> hf download <owner>/<dataset> --repo-type dataset --local-dir data/<name> -
Keep the cache under control:
hf cache ls,hf cache prune,hf cache rm <repo-id>;HF_HOMErelocates it (see reclaim-disk). -
Upload with authority:
hf repos create <repo-id> --privatethenhf upload <repo-id> <local-path>; confirm repository, visibility, and license before the first push, then verify withhf models infoorhf repos ls. -
Remote compute with authority:
hf jobs runandhf jobs uv runbill by hardware flavor; confirm the flavor and timeout, then watchhf jobs logsandhf jobs ps.
Gotchas
- Name:
hfreplacedhuggingface-cli; the mise tool ispipx:huggingface_hub. - Large transfers:
hf downloadandhf uploadresume;hf cache verifychecks checksums after an interrupted run. - Pin a revision: pass
--revision <sha>for reproducible downloads; anything loaded withtrust_remote_codeis third-party code to review first.
Official Skills
Upstream: huggingface/skills, the same packages the CLI marketplace serves. hf skills add writes the CLI's own skill and hf skills list shows the marketplace; install at project scope (never -g) after reviewing the snapshot (see agent-skills):
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.
- yesterday First seen · 52 lines · 42 tokens per session scan A 8b6bae80f690
hf is a skill published in the GitHub repository fmind/dot (4 stars, last pushed yesterday), licensed MIT. It adds 42 tokens to every session and 783 once invoked, about $0.0002 per session on Opus 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-09-03.
Other skills, from other repositories
agent-evaluation
Evaluate stochastic LLM/RAG/model/retrieval/tool agents in trials. Compare baseline/candidate on development/sealed holdouts with calibrated deterministic/model/trace graders; measure reliability, variance, leakage, safety, and cost.
prompt-design
Design production LLM or agent prompt stacks: instructions, tool contracts, examples, outputs, and runtime context. Use for precedence, conflicts, dynamic or untrusted context; prove behavior with agent-evaluation.
go-stack
Build Go projects, libraries, CLIs, TUIs, web apps, or ADK agents with the standard package layout and pinned tooling.
python-stack
Build typed Python projects with uv, Ruff, ty, pytest, Litestar, and Typer. Use for packages, CLIs, web apps, tests, typing, or API verification.
chezmoi
Manage chezmoi dotfiles: source naming, Go templates, age-encrypted secrets, and the edit-source then apply/diff workflow.
hugo
Canonical Hugo static-site stack with the Hextra docs theme — Hugo Modules, mise tasks, dprint, lefthook, and GitHub Pages deploy. Use for documentation sites, project docs, and static websites.