navveenb/lean-agentic-ai-skills/fine-tune-vs-prompt-advisor

Claude Code and agent skill by navveenb/lean-agentic-ai-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Decide the cheapest path to an AI capability — prompting, RAG, fine-tuning, or distillation — with the honest amortization math for each. Use this skill whenever the user asks "should we fine-tune", weighs prompt engineering against training a custom model, wants a capability at lower ongoing cost, or is designing a new AI feature and choosing its approach. Part of Lean Agentic AI Skills; emits lean-findings.json.

Install

npx vskill@latest install navveenb/lean-agentic-ai-skills/fine-tune-vs-prompt-advisor

SKILL.md

The same SKILL.md was published earlier as navveenb/lean-agentic-ai-skills/fine-tune-vs-prompt-advisor.

Fine-Tune vs Prompt Advisor

Subject type: emit subject.type: "ai-inference" in findings.

Advisor skill. Input: the capability description, quality bar, expected volume, latency needs, data available for training, and current approach if one exists. Output: a recommendation with the trade-off math structure (not invented numbers) + lean-findings.json.

Teams reach for fine-tuning by instinct and prompting by inertia; both instincts are expensive when wrong. The decision is an amortization problem: one-time costs (data curation, training runs, eval builds) against per-request costs (prompt tokens, retrieval, model tier) at the actual expected volume.

Decision ladder (cheapest first — exit at the first rung that meets the bar)

  1. Better prompting — instructions, few-shot, output constraints on an existing model. Zero one-time infra; per-request cost = the prompt (pairs with prompt-carbon-optimizer to keep it lean). Right when the base model has the capability latent.
  2. RAG — when the gap is knowledge, not behavior. Adds retrieval cost per request and index maintenance; avoids training entirely and stays current as data changes (pairs with rag-pipeline-optimizer).
  3. Fine-tuning — when the gap is behavior/format/style at volume: a tuned smaller model can replace a larger prompted one, cutting per-request tokens AND tier. One-time training cost amortizes only past a volume threshold — state the threshold structure explicitly: (training GPU-hours + data effort) vs (per-request savings × requests/month). Below the threshold, fine-tuning is vanity.
  4. Distillation — fine-tuning's industrial cousin: teacher-generated data trains a much smaller student for one narrow task at very high volume. Highest one-time cost, lowest per-request cost; justified only by sustained scale.

What the recommendation must contain

The chosen rung and why the cheaper rungs fail the bar; the amortization structure with the user's own numbers where supplied (volume, current tokens/request) and named placeholders where not; the maintenance tail honestly stated (fine-tuned models freeze knowledge and need re-training on drift — a recurring cost prompting doesn't have); and the eval gate: no path switch ships without a quality eval on the user's task.

Cost signal (countable)

Cost drivers, per rung: prompt tokens/request (rungs 1-2), training GPU-hours (one-time, rungs 3-4), per-request tokens at the new tier (rungs 3-4). All countable from the user's logs and training configs; the advisor's job is arranging them into the honest comparison, never inventing the missing terms.

Honesty rules

Volume forecasts are the user's claim, not yours — mark the break-even as conditional on them. "Fine-tuning improves quality" is not assumable; only the eval says so. Knowledge-cutoff staleness of tuned models is a named cost, not a footnote.

Not this skill's job

Executing the tuning efficiently (training-efficiency-audit), the prompt itself (prompt-carbon-optimizer), retrieval design (rag-pipeline-optimizer), serving the result (llm-serving-optimizer).

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/navveenb/lean-agentic-ai-skills/fine-tune-vs-prompt-advisor/badge)](https://verified-skill.com/skills/navveenb/lean-agentic-ai-skills/fine-tune-vs-prompt-advisor)

Something wrong with this skill or its page? Tell us.