---
title: Zero-Shot vs Few-Shot Examples in SKILL.md | SkillMarket
description: Test zero-shot rules versus 1-shot and 3-shot examples inside SKILL.md packages across frontier LLMs to measure real accuracy lift per token.
canonical: "https://skillmarket.ai/j/rank-zero-shot-vs-few-shot-examples-in-skills"
modified: 2026-11-14
author: skillmarket.ai editorial team
source: "https://skillmarket.ai"
category: Cost, Token Footprint & Latency Rankings
category_url: "https://skillmarket.ai/j#group-cost-latency-optimization"
---

# Measure whether embedded few-shot examples in SKILL.md justify their extra token cost

> Five verbose examples can anchor style nicely—or bias the model into copying dummy variable names while adding 2,500 tokens per run.

## Prepared starting prompt

Check ablation benchmarks showing where 1–2 concise input/output examples beat prose rules vs where examples cause cargo-cult copying.

### Quick scenarios
- **Structured DSL / custom syntax:** See accuracy lift from 2 compact few-shot pairs on custom DSLs and query languages.
- **Overfitting & cargo-cult traps:** Spot where hardcoded example IDs or structure bias models on diverse inputs.
- **Contrastive good-vs-bad pairs:** Compare 1 positive + 1 anti-pattern example against 5 positive-only examples.

- [Join Early Access Waitlist](https://skillmarket.ai/#waitlist-8efd41)

## How to test whether every example in SKILL.md earns its keep

1. **Use 1 good + 1 bad contrastive pair over 5 similar examples** — Showing one crisp anti-pattern alongside the corrected output teaches boundaries in half the tokens of repetitive positive samples.
2. **Keep examples essential for bespoke formats and tone** — Custom internal DSLs, commit-message conventions, and non-standard JSON envelopes gain +12–20% compliance from one concrete example.
3. **Check for literal leakage of placeholder names** — Poorly demarcated examples cause models to copy 'acme-prod-db' or 'foo_handler' into real outputs; wrap samples in clear <example> tags.
4. **Run leave-one-out ablation on existing examples** — Drop examples one by one against your eval suite; delete any sample whose removal changes pass rate by 0%.

## Frequently Asked Questions

### Do frontier reasoning models still need few-shot examples in skills?

Less for chain-of-thought reasoning—which reasoning models handle natively—but still strongly for exact output structure, voice conciseness, and custom DSL syntax.

### How many tokens should examples consume inside a core SKILL.md?

Ideally 200–600 tokens inline for universal output format, moving extended domain galleries into references/examples.md for on-demand lookup.

### What is 'example anchoring bias' in agent skills?

If both few-shot examples solve bugs by editing config files, agents disproportionately suspect config files even when handed a pure logic bug.

## Related tasks in this category

- [Compare AI skills by total dollar cost per verified completed task—including failed retries](https://skillmarket.ai/j/rank-skills-by-cost-per-completed-task.md)
- [Trim bloated 4,000-token SKILL.md files down to lean instructions without losing accuracy](https://skillmarket.ai/j/reduce-skill-md-context-window-footprint.md)
- [Compare p50 and p95 wall-clock completion latency across interactive agent skills](https://skillmarket.ai/j/benchmark-end-to-end-skill-p95-latency.md)
- [Identify and eliminate runaway retry loops that burn $5+ on a single stuck agent run](https://skillmarket.ai/j/detect-infinite-retry-loops-in-agent-skills.md)
- [Test progressive on-demand reference loading vs monolithic skill files on domain knowledge](https://skillmarket.ai/j/optimize-progressive-reference-file-loading.md)
- [Evaluate high-volume background skill execution using Batch APIs, concurrency queues, and async workers](https://skillmarket.ai/j/compare-batch-vs-streaming-skill-throughput.md)

---

*Published by **Wondel.ai sp. z o.o.** · [skillmarket.ai](https://skillmarket.ai) · [About](https://skillmarket.ai/about) · [Editorial Guidelines](https://skillmarket.ai/editorial) · [Contact](https://skillmarket.ai/contact) · [Wondel.ai Products](https://wondel.ai/products)*