Meta-skill: how to pass skills/context to Claude sub-agents that start with fresh context, with documented SDK gotchas.
94
94%
Does it follow best practices?
Impact
96%
1.50xAverage score across 3 eval scenarios
Passed
No known issues
Platform-agnostic. The context-loss problem is the same on Claude Code and Copilot.
CLAUDE.md, tool definitions, MCP servers.AgentDefinition(skills=[...]) or inline in Task tool prompt.context: fork is INVERTED (GH #20492) — creates blank, not copy.AskUserQuestion unavailable in sub-agents (GH #34592).#file:path/to/SKILL.md in chat, or .github/copilot-instructions.md for always-on.| Claude Code | VS Code Copilot | |
|---|---|---|
| Shared context | CLAUDE.md | .github/copilot-instructions.md |
| Per-request skills | AgentDefinition(skills=[...]) | #file:path/to/SKILL.md |
| Subprocess context | Sub-agents start FRESH | Terminal commands are bare |
| Handshake | echo-skills protocol | same pattern works |