Preview what a skill set costs the prompt
Reports how a proposed skills list would appear in an agent’s prompt, without saving anything. The list is resolved the way a session start resolves it: group attachments expand to their skills, catalog references are read, and skills that share a name collapse to one. The response lists the resulting skills in prompt order, says which of them the budget leaves room to describe, and how many characters of that budget they use. The budget is sized from context_window_tokens, and is the smallest one this service uses when that is omitted; the saved-agent skill disclosure read reports the budget a saved agent’s sessions get. A skill listed without its description can still be activated but is unlikely to be chosen, because the description is all there is to choose it by. An entry that came from an attachment carries attachmentIndex, and skillId when that attachment is a catalog skill, so it can be matched to the attachment and the catalog skill it came from. Read-only: nothing is stored.
Authorizations
A Recursion API key, created in the console under API keys.
Headers
Optional tenant consistency check. When present, it must name the tenant bound to the API key, including when x-organization-id is default.
1Organization in which to act. Required for a tenant-scoped API key. Optional for an organization-scoped key, where it must name that same organization. The value may be an organization id or default.
1Body
Request body for previewing tier-1 skill disclosure. Read-only: nothing is stored, and the attachments do not have to belong to any agent yet.
The attachment list exactly as it would be saved on the agent, including group entries, which are expanded here the same way a session start expands them. Capped at the 100 skills a session can carry.
100The context window of the model the agent will run on. Omit to be answered against the conservative floor this service uses when a window is unknown.
-9007199254740991 <= x <= 9007199254740991Response
What a set of skill attachments costs the model's prompt on every turn, and which skills the budget has reduced to a bare name. A skill listed without its description is still activatable but is unlikely to be chosen, because the description is the only signal the model has for choosing it.
What a set of skill attachments costs the model's prompt on every turn, and which skills the budget has reduced to a bare name. A skill listed without its description is still activatable but is unlikely to be chosen, because the description is the only signal the model has for choosing it.
Characters of prompt the model's budget allows the skill list each turn.
-9007199254740991 <= x <= 9007199254740991Every skill the prompt lists, in the order the model reads them.
Characters the rendered catalog actually occupies. Measured from the same pass that produces the prompt, not estimated.
-9007199254740991 <= x <= 9007199254740991What resolving and rendering this set cost: unresolvable references, truncated descriptions, and skills reduced to a name.