---
title: Progressive Disclosure vs Monolithic SKILL.md | SkillMarket
description: Benchmark progressive reference-file loading in multi-dialect AI skills against monolithic prompts—measuring routing accuracy and token savings.
canonical: "https://skillmarket.ai/j/optimize-progressive-reference-file-loading"
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"
---

# Test progressive on-demand reference loading vs monolithic skill files on domain knowledge

> Compare skills splitting dialect guides (AWS, GCP, Azure; BigQuery, Snowflake, Postgres) into separate reference files loaded only on demand.

## Prepared starting prompt

Compare progressive reference-file routing accuracy vs single-file SKILL.md for multi-warehouse SQL (Snowflake, BigQuery, DuckDB, Postgres).

### Quick scenarios
- **Multi-dialect SQL routing:** See token savings from splitting Snowflake, BigQuery, and Postgres reference docs.
- **1-hop link depth rule:** Verify why flat references/*.md links beat deeply nested doc chains.
- **Table-of-contents grep pattern:** Compare TOC headers + grep in large reference files vs loading full 1,000-line docs.

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

## Architecture rules for progressive disclosure inside skill folders

1. **Keep reference links strictly one hop from SKILL.md** — When SKILL.md links to A.md which links to B.md which links to C.md, agents stop following hops partway and miss critical rules.
2. **Make routing conditions unambiguous in SKILL.md** — Write 'If warehouse == BigQuery, read references/bigquery.md BEFORE writing SQL' rather than vague 'see docs if helpful.'
3. **Add top-of-file tables of contents to files >150 lines** — Structured headings let agents read or grep the exact relevant section instead of ingesting 2,000 lines of unrelated API endpoints.
4. **Verify models don't eagerly preload every reference file** — Badly phrased index lists cause anxious models to read all 8 reference files on turn 1—erasing progressive token savings.

## Frequently Asked Questions

### Do models reliably read linked reference files when instructed?

On frontier models (Claude Sonnet/Opus, GPT-4.1/o-series, Gemini 2.5), explicit conditional 'READ references/x.md when...' triggers hit >96% compliance.

### Why avoid nesting reference files two or three directories deep?

Benchmarks show a sharp drop in retrieval past 1 hop—agents skim or assume contents when forced to chase multi-file breadcrumb chains.

### When is keeping rules inline in SKILL.md still better?

Universal invariants that apply to 100% of runs belong inline in SKILL.md to save an extra read_file tool round-trip.

## 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)
- [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)
- [Forecast monthly LLM and tool-API spend before rolling agent skills out to 100+ seats](https://skillmarket.ai/j/forecast-monthly-llm-spend-for-team-skills.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)*