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 metaspartan/cybara --skill huggingface-llm-trainergit clone --depth 1 https://github.com/metaspartan/cybaraWrote 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/metaspartan/cybara/huggingface-llm-trainer)<a href="https://agentmods.dev/skills/metaspartan/cybara/huggingface-llm-trainer"><img src="https://agentmods.dev/badge/skills/metaspartan/cybara/huggingface-llm-trainer/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/metaspartan/cybara/huggingface-llm-trainer"><img src="https://agentmods.dev/badge/skills/metaspartan/cybara/huggingface-llm-trainer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00042 | $0.00455 |
| Opus 5 | $0.00021 | $0.00228 |
| Sonnet 5 | $0.00008 | $0.00091 |
| Haiku 4.5 | $0.00004 | $0.00046 |
Grade A, and why
huggingface-llm-trainer 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 10d ago.
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.
What it actually says
Hugging Face LLM Trainer
Use TRL and PEFT for supervised fine-tuning, preference optimization, reinforcement learning, and reward modeling. Use Hugging Face Jobs when remote compute is requested.
Method selection
- SFT: instruction, conversation, or prompt-completion demonstrations
- DPO: prompt with chosen and rejected responses
- GRPO: prompts with deterministic, testable reward functions or environments
- Reward modeling: examples labeled or ranked for preference quality
Do not choose a method from the dataset name alone. Inspect the schema and sample records first with huggingface-datasets.
Training plan
- Record the base model ID and immutable revision, license, architecture, context length, tokenizer, and chat template.
- Validate train and evaluation splits, field mapping, length distribution, duplication, contamination risk, and redaction.
- Select full fine-tuning or PEFT from model size, hardware, memory, and deployment needs.
- Pin dependencies in a self-contained UV script.
- Seed data splitting and training, log the complete configuration, and define evaluation criteria before launch.
- Enable durable output with
push_to_hub, a target model ID, and checkpoints or mounted storage appropriate to the run. - Add Trackio or the requested tracker for loss, learning rate, throughput, evaluation metrics, and failure alerts.
- Run a tiny smoke job before the paid production run.
Use current TRL configuration names verified from the installed version or official docs. Do not guess parameters from older examples.
Before launching paid compute, present the model, dataset revision, method, hardware, timeout, estimated cost boundary, output repository, and command for confirmation. After launch, report the job ID and monitoring links. Do not claim model quality from training loss alone; run task-appropriate evaluation and preserve the results with the model card.
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.
- 10d ago First seen · 34 lines · 42 tokens per session scan A 20b53f6a9e1e
huggingface-llm-trainer is a skill published in the GitHub repository metaspartan/cybara (28 stars, last pushed yesterday), licensed MIT. It adds 42 tokens to every session and 455 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-08-30.
Other skills, from other repositories
ecc-cost-aware-llm-pipeline
Cost optimization patterns for LLM API usage — model routing by task complexity, budget tracking, retry logic, and prompt caching. Use when LLM spend needs to come down, or when routing tasks across model tiers and budgets.
bigquery-ai-ml
Skill for BigQuery AI and Machine Learning queries using standard SQL and AI. functions (preferred over dedicated tools).
ai-sdk
Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK functions like generateText, streamText, ToolLoopAgent, embed, or tools, (2) Want to build AI agents, chatbots, RAG systems, or text generation features, (3) Have questions about AI providers (OpenAI…
salary-market-scanner
Scan live job boards and salary databases to find real-time compensation data for any role and location. Use this skill when a user asks "what's the going rate for a senior React engineer in London", "software engineer salary Singapore", "how much do ML engineers make", "what should I be earning as a [role]", "is my…
weknora-shared
Use when driving a WeKnora RAG server through the weknora CLI as an agent — authenticating, managing knowledge bases / documents / sessions / agents, running search or chat, or interpreting the CLI's JSON envelopes and exit codes. Read this before any other weknora- skill.
weknora-rag-search
Use when retrieving from or asking questions against a WeKnora knowledge base via the weknora CLI — and especially when unsure whether to use chat, session ask, or search chunks for a given goal.