resolve_context
Returns a compact dynamic context plan for a task by classifying zones, recommending a tool profile, and retrieving matching skill and workflow indexes.
Instructions
Return a compact dynamic context plan for a task. Classifies zones, recommends tool profile, and returns matching skill/workflow indexes without loading full markdown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Project directory. Defaults to current working directory. | |
| mode | No | Return shape. plan = compact plan, items = atomic load list, both = plan plus items. Default: plan. | |
| task | No | Task or prompt to classify. | |
| files | No | Known relevant file paths for higher-confidence zone matching. | |
| prompt | No | Alias for task. | |
| agent_slug | No | Optional agent role slug whose metadata should influence context selection. | |
| max_skills | No | Maximum skill index entries to return. Default: 8. | |
| max_workflows | No | Maximum workflow index entries to return. Default: 8. |