claude-code - 💡(How to fix) Fix [DOCS] [Subagents] Skill docs conflict on preload-only vs dynamic Skill tool access

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Code Example

#### Skills and the Skill tool in subagents

Subagents can preload skills with the `skills:` frontmatter field, which injects the full skill content into the subagent at startup.

This is different from runtime Skill tool discovery. During execution, subagents can discover the same project, user, and plugin skill catalog as the parent session, subject to the normal Skill tool and `disable-model-invocation` rules.

Use `skills:` when the subagent must start with specific skill content already in context. Use the Skill tool when the subagent should decide at runtime whether to load a project, user, or plugin skill.
RAW_BUFFERClick to expand / collapse

Documentation Type

Unclear/confusing documentation

Documentation Location

https://code.claude.com/docs/en/sub-agents

Section/Topic

  • "Preload skills into subagents" section (lines 405–427)
  • Skill behavior references in features-overview, skills, and context-window

Current Documentation

The subagent documentation describes skill preloading via the skills frontmatter field:

Use the skills field to inject skill content into a subagent's context at startup. This gives the subagent domain knowledge without requiring it to discover and load skills during execution.

And the same page says:

The full content of each skill is injected into the subagent's context, not just made available for invocation. Subagents don't inherit skills from the parent conversation; you must list them explicitly.

But other docs describe subagents more broadly:

The subagent has access to the same MCP servers and skills.

And:

Skills work differently in subagents. Instead of on-demand loading, skills passed to a subagent are fully preloaded into its context at launch. Subagents don't inherit skills from the main session; you must specify them explicitly.

The v2.1.133 changelog adds another signal about the intended behavior:

Fixed subagents not discovering project, user, or plugin skills via the Skill tool

What's Wrong or Missing?

A. The docs give conflicting guidance about what skills a subagent can access

sub-agents.md says subagents do not inherit skills from the parent conversation and must list them explicitly with the skills: frontmatter field. But context-window.md says a subagent has access to the same MCP servers and skills, and the v2.1.133 changelog confirms that subagents are expected to discover project, user, and plugin skills through the Skill tool.

The current docs do not explain whether "same skills" means:

  • The same dynamic Skill tool catalog as the parent session
  • Only skills preloaded through skills:
  • Some combination of preloaded skills plus dynamically discoverable project/user/plugin skills

B. The distinction between preloaded skills and Skill tool discovery is not documented

The docs explain how to preload skills into a subagent, but they do not clearly separate that mechanism from runtime Skill tool discovery. Readers cannot tell when they should use skills: for guaranteed startup context versus relying on the Skill tool to discover project, user, and plugin skills during subagent execution.

Suggested Improvement

Clarify the subagent docs and cross-references so they distinguish preloading from runtime discovery. For example, add a subsection like:

#### Skills and the Skill tool in subagents

Subagents can preload skills with the `skills:` frontmatter field, which injects the full skill content into the subagent at startup.

This is different from runtime Skill tool discovery. During execution, subagents can discover the same project, user, and plugin skill catalog as the parent session, subject to the normal Skill tool and `disable-model-invocation` rules.

Use `skills:` when the subagent must start with specific skill content already in context. Use the Skill tool when the subagent should decide at runtime whether to load a project, user, or plugin skill.

Also update features-overview.md, skills.md, and context-window.md so they use the same terminology for subagent skill access.

Impact

Medium - Makes feature difficult to understand

Additional Context

Affected Pages:

PageSectionContext
https://code.claude.com/docs/en/sub-agents"Preload skills into subagents"Says subagents must list skills explicitly, but does not explain runtime Skill tool discovery
https://code.claude.com/docs/en/features-overviewSkills vs SubagentsSays subagents can preload skills without clarifying the difference from dynamic discovery
https://code.claude.com/docs/en/context-windowSubagent context visualizationSays subagents have access to the same skills, which conflicts with the preload-only wording
https://code.claude.com/docs/en/skillsSkill tool behaviorDoes not clarify how Skill tool discovery works inside subagents

Total scope: 4 pages affected

Changelog reference: v2.1.133 — "Fixed subagents not discovering project, user, or plugin skills via the Skill tool"

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING