Skip to content

Skills consume full token count at startup instead of progressive disclosure (frontmatter only) #14882

Description

@atournayre

Problem

According to the skills documentation, skills should use progressive disclosure:

"Claude reads these files only when needed, using progressive disclosure to manage context efficiently."

The expected behavior:

  1. Metadata (name + description) - Always in context (~100 words)
  2. SKILL.md body - When skill triggers (<5k words)
  3. Bundled resources - As needed by Claude

Observed behavior

Running /context shows skills consuming their full token count at startup, not just the frontmatter:

Skills and slash commands · /skills

Plugin
└ Skill Development: 5.5k tokens
└ Command Development: 4.6k tokens
└ Hook Development: 3.9k tokens
└ plugin-dev:create-plugin: 3.7k tokens
└ Plugin Structure: 3.2k tokens
└ MCP Integration: 3.0k tokens
...

These are from the official claude-plugins-official/plugin-dev plugin.

The irony

The "Skill Development" skill (5.5k tokens) explicitly states:

"Keep SKILL.md lean: Target 1,500-2,000 words"

Yet it contains ~5000+ words in its body, and appears to be fully loaded at startup.

Questions

  1. Is /context showing the total potential size or what's actually loaded?
  2. If progressive disclosure works correctly, why do skills show full token counts?
  3. If the full body IS loaded at startup, is this intended behavior or a bug?

Impact

With multiple plugins installed, skills alone consume 50k+ tokens before any conversation starts, severely limiting the usable context window.

Environment

  • Claude Code version: 2.0.74
  • OS: Linux
  • Multiple plugins installed from official marketplace

Expected behavior

Only frontmatter (~100 tokens per skill) should be loaded at startup. The body should load only when the skill is invoked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:toolsbugSomething isn't workinghas reproHas detailed reproduction stepsmemoryplatform:linuxIssue specifically occurs on Linux

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions