Progressive Disclosure
Progressive disclosure in MDP should be modeled as a hierarchy of skill paths instead of a stateful skill session.
The design goal is simple:
- let the client publish a short root skill first
- let the host read deeper skill paths only when needed
- avoid dumping the full instruction set into one capability definition
Definition model
The recommended JS SDK shape is:
ts
client.expose(
'/workspace/review/skill.md',
'# Workspace Review\n' +
'\n' +
'Review the workspace root.\n' +
'\n' +
'You can read `/workspace/review/files/skill.md` for file-level guidance.'
)
client.expose(
'/workspace/review/files/skill.md',
{
description: 'File-level review guidance'
},
({ queries, headers }) =>
'# Workspace Review Files\n' +
'\n' +
`Topic: ${queries.topic ?? 'general'}\n` +
'\n' +
`Header: ${headers['x-review-scope'] ?? 'none'}`
)The progressive-disclosure unit is the skill path itself:
/workspace/review/skill.mdis the summary node/workspace/review/files/skill.mdis a deeper node/workspace/review/files/typescript/skill.mdcan go even deeper if needed
Discovery and reading
The server still only needs the existing bridge surface:
listPathsto discover available skill pathscallPathto read one exact skill nodecallPathsto fan one skill read out to multiple clientsGET /skills/:clientId/*skillPathto read one exact skill node over HTTPGET /:clientId/skills/*skillPathas an alternate HTTP shape
The HTTP routes pass URL query parameters and request headers to the skill resolver.
Server behavior
The server stays intentionally simple:
- it indexes skill paths and descriptions
- it forwards
callPathto the target client unchanged - it does not need to understand skill hierarchy beyond the path string
This keeps progressive disclosure as a naming and authoring convention instead of a protocol state machine.
Design rules
- Make the root skill useful on its own.
- Use path-like names to express depth.
- Let parent skills point to child skills in plain Markdown.
- Keep each skill focused enough that a host can choose whether to read it.
- Use resources for large raw payloads; use skills for readable instructions and guidance.