· 9 min read · 1606 words

Why AI Agents Skip Their Skills (And How to Fix SKILL.md Descriptions)

A shared skill inherited by six agents was opened in zero staging traces. In over half of real sessions, models called their first domain tool in the exact same turn they opened SKILL.md. Plus the unquoted YAML # comment that cut a live description to three words.

Part 1 of Writing Agent Skills That Agents Actually Follow.

Why AI Agents Skip Their Skills (And How to Fix SKILL.md Descriptions)

We wrote one shared skill that almost every agent on our software-delivery platform inherited. It explained how delivery work is done across teams: phases, definitions of done, and when a step can be skipped. We reviewed it like code, tested its procedure, and wired six agents to opt into it.

Later, I pulled a sample of recent traces from staging and development to see which skills our agents actually opened. That shared skill had been opened in zero of them. Not in user sessions, not in sampled eval runs. The instructions inside were completely accurate. The agents simply never decided to read the file.

That is the hidden tax of progressive disclosure. When you move from giant system prompts to Agent Skills (SKILL.md files loaded on demand), only a tiny index entry is guaranteed to reach the model. Your skill body does not exist until the model decides to open it, and the model makes that decision from one short YAML description.


How progressive disclosure actually behaves in production traces

Our platform runs delivery agents (analysis, architecture, backend, mobile, web, and review) on LangChain Deep Agents. Each agent is a folder containing a manifest, a prompt, and a skills/ directory. We did not start there. Earlier agents used "steering files" that middleware injected by force through synthetic file-read results whenever a user typed a command. That guaranteed the text arrived, at the cost of stuffing whole standards manuals into context and duplicating product documentation.

Moving to progressive disclosure let us scale past eighty skills across eight agents plus a shared library while keeping base prompts lean. At runtime, the harness overlays an agent's opted-in shared skills and local skills into one /skills/ namespace where local wins on name collisions:

# Simplified from the harness skill resolver
def resolve_skills(local_root: Path, shared_names: list[str]) -> dict[str, Path]:
    check_shared_names_exist(shared_names)  # fail fast at startup on typos
    shared = {name: SHARED_DIR / name for name in shared_names}
    local = {d.name: d for d in local_root.iterdir() if d.is_dir()}
    return {**shared, **local}  # agent's own copy overrides shared

We deliberately rejected giving every agent every shared skill. Each extra index entry is one more candidate the model has to rule out on every turn.

Three runtime mechanics matter far more than most authors realize:

  1. Only the index entry is guaranteed. The framework renders each skill's name, description, allowed-tools, and file path into the system prompt. Zero body lines.
  2. There is no magic skill-load tool. The model opens a skill with the exact same read_file tool it uses for code or docs.
  3. Nothing forces the read. Writing "always load the matching skill before acting" in a system prompt is just one more instruction competing for attention.

And when I inspected real staging traces, read rates were not even the biggest surprise. Timing was.

In staging user sessions where an agent both opened a skill and called a domain tool (searching the knowledge base, reading a ticket, updating a document), the agent opened the skill in an earlier turn in fewer than one in five traces. More than half the time, the model emitted read_file .../SKILL.md and its first domain tool call in parallel during the exact same turn.

Think about what a parallel call means: the model already chose its first action before a single sentence of the skill body entered context. If line 1 of your skill says "check X before calling Y," the model cannot obey it on turn one. Only the index description can shape that first call.

Two-panel diagram showing progressive disclosure timing in production traces (parallel read_file plus domain call in over 50% of traces) and the shared skill overlay plus the YAML comment truncation trap.

Left: in over half of real traces, the model invokes its first domain tool in the same turn it reads the skill, before the body arrives. Right: shared skills overlay cleanly into /skills/, while an unquoted # in YAML front matter silently truncated a live description to three words.


The YAML bug that wiped out 96% of a live skill description

While auditing our eighty-plus skills, I parsed every SKILL.md front matter block with the exact YAML loader the framework uses. One shared skill inherited by two agents came back with a description three words long.

Look at the file the author committed:

---
name: test-plan-section
description: Produce a mandatory ### Test plan section for a configuration plan...
---

In YAML, a space followed by # starts a comment. The parser kept "Produce a mandatory" and silently threw away the other 96% of the sentence. Every existing CI check stayed green because the parsed description was non-empty and under the length limit. The only reason the skill still worked at all was that parent skills explicitly named its file path.

The fix is twofold: always quote YAML descriptions (or use folded block scalars >-), and lint what the parser returns, never just the raw file text:

# Illustrative CI guard: compare parsed YAML against the raw line
raw = re.search(r"^description:\s*(.+)
quot;, front_matter, re.M).group(1) parsed = yaml.safe_load(front_matter)["description"] if len(parsed) < len(raw.strip().strip('"')): fail(f"description truncated by YAML parser: {parsed!r}")

Why our evals hid the triggering problem

Measuring skill reads from production traces takes almost zero infrastructure. You do not need labels or an LLM judge. Pull recent runs per agent, filter down to tool calls the model itself initiated (in MCP traces, every call logs twice, once agent-side and once server-side, and middleware makes pre-model calls that will skew timing if you count everything), mark any read_file ending in /SKILL.md, and compare the turn index of the first skill read against the first domain tool call:

# Simplified trace probe
def is_model_call(span: dict, parents: dict) -> bool:
    parent = parents.get(span["parent_id"])
    return parent is not None and parent["name"] == "tools"

def is_skill_read(call: dict) -> bool:
    return call["name"] == "read_file" and call["path"].endswith("/SKILL.md")

Here is what that probe exposed on our staging environment:

  • Evals read skills 100% of the time; real users read them under half the time. Across our two busiest agents, every sampled eval run opened a skill, while fewer than half of real staging user sessions did. Not every user turn needs a skill, so a low user read rate is not automatically a bug, yet it proves that green eval pass rates tell you almost nothing about whether real user wording triggers your skills.
  • Large slices of the skill library sat untouched. Roughly two thirds of our analyst agent's exposed skills and two fifths of our architect agent's skills were never opened once in real staging sessions during the sample window.
  • When we audited our own descriptions, the cause jumped out. Only about one in forty started with "Use when", only about a third used a trigger phrase anywhere, and fewer than one in twenty stated what the skill was not for. Almost all of them described what the skill produced instead of what the user asked. Our unread shared process skill had an exact trigger list sitting safely inside its Markdown body, where the model could only see it after deciding to open it.

How we write skill descriptions now (and when to delete a skill)

Anthropic's public skill-creator guidance points out that models tend to under-trigger skills, so descriptions should be slightly pushy and hold all "when to use" cues. Our traces add three concrete rules:

  1. Lead with the user's phrasing, not your artifact's name. Say what the user asks, not what template the skill outputs.
  2. State the negative boundary. Especially when two skills sit close together (one of our agents repeatedly picked the wrong skill out of a near-identical pair with opposite outputs).
  3. Put the turn-1 rule right in the description. If one rule must govern the first tool call before the body arrives, put it in the index entry or the base system prompt.

Here is the difference on an illustrative skill:

# Before: describes the output, misses the trigger
description: Produces a travel expense summary with policy checks.

# After: user trigger, negative boundary, and the turn-1 rule
description: >-
  Use when someone asks whether a trip, hotel, or meal can be claimed, or
  wants a claim checked before submitting it. Not for payroll or vendor
  invoices. Look up the active policy version before answering.

And know when a procedure should not be a skill at all. One of our agents had three separate skills for a discovery flow that ran on every single invocation. They repeated the base prompt so closely that they drifted into contradicting it (one copy said ask the user, another said do not, and a tool got called twice). Folding them back into the base prompt cut a quarter of the lines and collapsed four files into one. Skills earn their keep through selective reuse; a rule needed on every run with zero reuse belongs in the system prompt.

Be careful about over-splitting skills too. When one agent's skill set was broken into smaller micro-files so the model would read fewer tokens per file, the model made more file reads and more turns, pushing median cost per eval case up by roughly a quarter.

One final debugging habit: whenever CI evals disagree with your laptop on which skill an agent opens, check the deployed skill revision, model ID, and tool-loading timeouts before rewriting a single word of the description. In one May mismatch, fixing broken tool loading in CI actually made the pass rate drop, which finally exposed that the CI image was carrying an older skill file than the laptop.


What I am still going back and forth on

I am still uneasy about how much of a turn-1 rule can live inside descriptions before the skill index itself bloats back into the giant system prompt we left behind. When an agent exposes twenty skills and every description tries to carry triggers, boundaries, and first-turn guardrails, you slowly recreate a monolithic prompt in YAML form.

I also notice how fast model upgrades shift trigger sensitivity. A newer model version triggered one of our quiet skills noticeably more reliably than its predecessor with zero edits to the description. Writing slightly pushy descriptions helps today, and it also means every major model swap needs a fresh trace-read check so you catch over-triggering just as fast as under-triggering.


Audit your traces before you rewrite your bodies

If I were starting a skills architecture from scratch tomorrow, I would wire up the trace-read script on day one, not a year later. It costs zero tokens, requires zero human labels, and spots dead descriptions and parallel-turn races immediately.

Before you spend another afternoon polishing paragraph four of a SKILL.md file, check whether your agent is actually opening it, and whether it opened it before its first tool call.

Next in this series: Writing Agent Skill Rules That Actually Stick (And When to Move Them to Code), on what happens after the skill does get loaded and the agent still breaks the rules.

Related writings