tune

tune is an agent for Claude Code from jeremylongshore/tons-of-skills-marketplace. It costs 74 tokens per session (846 once invoked), scanned A, original, MIT.

An assistant for adapting large language models to specific tasks through fine-tuning methods such as PEFT and LoRA, as well as systematic prompt improvement. Fine-tuning changes a model using example data; LoRA is a lower-cost method that updates a smaller set of model parameters.

In plain words
What is it for?
Use it to design a fine-tuning pipeline, prepare instruction datasets, apply PEFT or LoRA, or optimize prompts against a measured baseline.
Why use it?
It helps determine whether better prompts or retrieval are enough before committing to fine-tuning. When fine-tuning is appropriate, it helps structure the data and training approach for consistent output or a smaller, cheaper model.

Agent for Claude Code

Written for Claude Code: background in frontmatter. Also seen: model in frontmatter.

Part of the tonone plugin — 100 agents, 9 plugins shipped together

Good fit Use it to design a fine-tuning pipeline, prepare instruction datasets, apply PEFT or LoRA, or optimize prompts against a measured baseline.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jeremylongshore/tons-of-skills-marketplace/tune
About the project

Tons of Skills is a model-agnostic marketplace that distributes reusable skills, plugins, agents, commands, hooks, and settings for coding-agent tools. It is intended for people who want to browse, install, and manage agent extensions, with Claude Code as its verified native harness. The catalogue entries are extensions provided by or associated with this marketplace.

jeremylongshore/tons-of-skills-marketplace · 2,717 stars · on GitHub · tonsofskills.com

Install

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.

Clone the repo
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace

Made for: Claude Code.

Or install tonone, the plugin that ships this one along with the rest of its 100 agents, 9 plugins.

Wrote 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.

agentmods badge for tune

README.md
[![agentmods](https://agentmods.dev/badge/agents/jeremylongshore/tons-of-skills-marketplace/tune/github.svg)](https://agentmods.dev/agents/jeremylongshore/tons-of-skills-marketplace/tune)
Your own site
<a href="https://agentmods.dev/agents/jeremylongshore/tons-of-skills-marketplace/tune"><img src="https://agentmods.dev/badge/agents/jeremylongshore/tons-of-skills-marketplace/tune/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.

agentmods 80×15 button for tune

Your own site · 80×15
<a href="https://agentmods.dev/agents/jeremylongshore/tons-of-skills-marketplace/tune"><img src="https://agentmods.dev/badge/agents/jeremylongshore/tons-of-skills-marketplace/tune.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 846 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00074 $0.00846
Opus 5 $0.00037 $0.00423
Sonnet 5 $0.00015 $0.00169
Haiku 4.5 $0.00007 $0.00085

Measured 8d ago against content hash 140662803546, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

tune 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 8d 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.

plugins/ai-agency/tonone/agents/tune.md · 74 lines

How it starts

The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are Tune — LLM Fine-tuning Engineer on the Data Science Team. Specializes in adapting LLMs to specific tasks through fine-tuning, PEFT, and systematic prompt optimization.

Think in data, experiments, and statistical rigor. Every claim needs a number. Every model needs a baseline. Every experiment needs a power analysis.

Communication

Respond terse. All technical substance stays — only filler dies. Follow output-kit protocol: compressed prose, no filler, fragments OK. Documents: normal prose. See docs/output-kit.md for CLI skeleton, severity indicators, 40-line rule.

Operating Principle

Fine-tuning is not always the answer. Prompt engineering + RAG covers 80% of use cases at 1% of the cost. Fine-tune when: you need a specific output format consistently, the task requires knowledge the base model lacks, or you need latency/cost reduction via a smaller model. LoRA/QLoRA makes fine-tuning accessible — full fine-tuning is rarely justified.

What you skip: Embedding models — that's Vect. General LLM orchestration — that's Cortex.

What you never skip: Never fine-tune before establishing a prompt engineering baseline. Never fine-tune on contaminated data (overlapping with eval set). Never skip human evaluation on RLHF preference data.

Scope

Owns: PEFT/LoRA fine-tuning, instruction datasets, RLHF, prompt optimization, model distillation

Skills

  • Tune Finetune: Design a fine-tuning pipeline — PEFT config, dataset format, training loop, and evaluation.
  • Tune Prompt: Systematically optimize prompts for a task — few-shot, chain-of-thought, structured output.
  • Tune Recon: Audit existing fine-tuning or prompt engineering work — find quality gaps and optimization opportunities.

Key Rules

  • Decision tree: prompting → RAG → fine-tuning (escalate only when previous tier fails)
  • LoRA rank: r=8 for style/format tasks, r=64 for knowledge-intensive tasks
  • Dataset quality: 100 high-quality examples > 10k noisy ones for instruction tuning
  • Evaluation: fine-tuned model must beat base model + best prompt on held-out set
  • Distillation: fine-tune a small model on GPT-4 outputs for cost reduction with quality parity

Read the full file on GitHub · 74 lines

Changes

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.

  1. 8d ago First seen · 74 lines · 74 tokens per session scan A 140662803546

Subscribe to this mod's changes

tune is an agent published in the GitHub repository jeremylongshore/tons-of-skills-marketplace (2,717 stars, last pushed today), licensed MIT. It adds 74 tokens to every session and 846 once invoked, about $0.0004 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.

Related

Other agents, from other repositories

ai-engineer

AI/ML Engineer (Reza Tehrani) - LLM seçimi, prompt engineering, RAG, AI agent mimarisi, fine-tuning.

vibeeval/vibecosystem · 36 tokens

ai-engineer

Build LLM applications, RAG systems, and prompt pipelines. Implements vector search, agent orchestration, and AI API integrations. Use PROACTIVELY for LLM features, chatbots, or AI-powered applications.

echoVic/blade-code · 48 tokens

report-generator

Performs blind comparison of repeated prompt-execution pairs, then maps observed differences to optimization findings after identity reveal. Use when original and optimized prompt trials are available.

shinpr/rashomon · 35 tokens

ai-ml-engineer

AI/ML Engineer specialising in prompt engineering, RAG architecture, LLM evaluation, AI safety, and agent orchestration. Use when: "build an AI feature", "LLM", "ChatGPT", "Claude API", "prompt engineering", "RAG", "vector database", "embeddings", "fine-tuning", "AI agent", "LangChain", "LangGraph", "evaluation"…

Ghosteken/agent-harness · 0 tokens

prompt-engineer

Optimizes prompts for LLMs and AI systems. Use when building AI features, improving agent performance, or crafting system prompts. Expert in prompt patterns and techniques, including synthetic test data generation.

NickCrew/Claude-Cortex · 44 tokens

prompt-engineer

Optimizes prompts for LLMs and AI systems. Use when building AI features, improving agent performance, or crafting system prompts. Expert in prompt patterns and techniques.

NickCrew/Claude-Cortex · 38 tokens