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/rchaz/tunelab/tune-evalnpx skills add rchaz/tunelab --skill tune-evalgit clone --depth 1 https://github.com/rchaz/tunelabWrote 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/rchaz/tunelab/tune-eval)<a href="https://agentmods.dev/skills/rchaz/tunelab/tune-eval"><img src="https://agentmods.dev/badge/skills/rchaz/tunelab/tune-eval.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.1 | $0.00207 | $0.04473 |
| Opus 5 | $0.00103 | $0.02237 |
| Sonnet 5 | $0.00041 | $0.00895 |
| Haiku 4.5 | $0.00021 | $0.00447 |
Grade A, and why
tune-eval 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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 195 lines — stays where its author put it; the contents beside it link to each section on GitHub.
tune-eval — the honest scoreboard
Evaluation answers one question: does the tuned model meet the pre-registered bar on data it has never influenced? The validation set already steered training; only test.jsonl — untouched until now — gives an honest number (see concepts/validation-vs-test.md — bundled at the plugin root, ../../concepts/ relative to this file).
Teaching note: each step below is framed as four short lines before running it — What we're doing · Why (the failure it prevents) · Expect (healthy output) · Read (how to interpret what came out) — and one line after connecting result → next decision. One-liners, not essays; define jargon inline on first use with a concepts/ pointer. If the user says "skip the teaching" (or is clearly expert), drop Why/Expect/Read and keep What plus the result reading.
<skill-dir> below = the directory containing this SKILL.md; run commands from the user's project workdir.
Step 0 — Read the project state from disk (before asking anything)
On invocation, BEFORE asking the user a single question, check the project workdir:
EXPERIMENT-LOG.md— prior decisions, the tune-decide interview summary, training runs, and (critically) whether a bar + metric set was already pre-registered. tune-decide writes the interview and level decision there precisely so later skills — and later sessions — never re-ask. If a bar exists, confirm it in one line; do not renegotiate. Also check whether the currenttest.jsonlwas already spent by a previous eval round.runs/*/state.json— the run-continuity contract (tune-train owns writing it; all skills may read it):
{ "run_id", "status": "running|interrupted|completed|failed", "pid", "command",
"model", "adapter_path", "data_dir", "log_path", "total_iters", "save_every",
"hparams": {"batch_size", "learning_rate", "num_layers", "max_seq_length"},
"started_at", "updated_at", "best_val": {"iter", "loss"}, "resume_history": [] }
This file hands you model, adapter_path, and data_dir — build every command below from it instead of asking. If status is running, do not eval a moving target: poll the log tail (tail runs/<id>/train.log), never hold the training process in conversation context. If interrupted, route back to tune-train first — resume is weights-only in mlx-lm 0.31.3 (--resume-adapter-file restores weights; fresh optimizer, iter counter resets): completed iters = highest NNNNNNN_adapters.safetensors in adapter_path; rerun with --iters <total minus completed> plus that checkpoint, and expect a brief loss bump from cold optimizer state. Only completed runs get the scoreboard.
What ships with it
6 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.
- 6d ago First seen · 195 lines · 207 tokens per session scan A 404f431a2228
tune-eval is a skill published in the GitHub repository rchaz/tunelab (6 stars, last pushed 1mo ago), licensed MIT. It adds 207 tokens to every session and 4,473 once invoked, about $0.0010 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-31.
Other skills, from other repositories
implementing-llms-litgpt
Implements and trains LLMs using Lightning AI's LitGPT with 20+ pretrained architectures (Llama, Gemma, Phi, Qwen, Mistral). Use when need clean model implementations, educational understanding of architectures, or production fine-tuning with LoRA/QLoRA. Single-file implementations, no abstraction layers.
deepeval
DeepEval evaluation workflow for AI agents and LLM applications. TRIGGER when the user wants to evaluate or improve an AI agent, tool-using workflow, multi-turn chatbot, RAG pipeline, or LLM app; add evals; generate datasets or goldens; use deepeval generate; use deepeval test run; send results to Confident AI…
llama-factory
Expert guidance for fine-tuning LLMs with LLaMA-Factory - WebUI no-code, 100+ models, 2/3/4/5/6/8-bit QLoRA, multimodal support.
tinker-fine-tuning
Provides guidance for fine-tuning LLMs using the Tinker cloud training API from Thinking Machines Lab. Use when running supervised fine-tuning, reinforcement learning (GRPO/PPO), or LoRA training on cloud GPUs via Tinker's managed infrastructure instead of local compute.
colab-finetuning
Fine-tune LLMs on Google Colab GPUs directly from openscience. Connects to Colab runtimes via WebSocket bridge for remote training with Unsloth. Supports SFT, GRPO, DPO, vision, and TTS workflows on free T4 to Pro A100 GPUs.
llm-integration
LLM integration patterns for function calling, streaming responses, local inference with Ollama, and fine-tuning customization. Use when implementing tool use, SSE streaming, local model deployment, LoRA/QLoRA fine-tuning, or multi-provider LLM APIs.