---
name: gmd:set-profile
description: Switch model profile for GMD agents (quality/balanced/budget)
argument-hint: <profile>
allowed-tools:
  - Read
  - Write
  - Bash
---

<objective>
Switch the model profile used by GMD agents. The profile is one row of the universal 9-cell `COMPLEXITY_MODEL` table in `bin/lib/core.cjs` — changing it scales model selection across every spawn site, while each workflow still picks its own complexity tier per Task.

Routes to the set-profile workflow which handles:
- Argument validation (quality/balanced/budget)
- Config file creation if missing
- Profile update in config.json
- Confirmation rendered from the active row of COMPLEXITY_MODEL
</objective>

<execution_context>
@${CLAUDE_PLUGIN_ROOT}/workflows/set-profile.md
@${CLAUDE_PLUGIN_ROOT}/references/model-profiles.md
@${CLAUDE_PLUGIN_ROOT}/references/model-profile-resolution.md
</execution_context>

<process>
**Follow the set-profile workflow** from `@${CLAUDE_PLUGIN_ROOT}/workflows/set-profile.md`.

The workflow handles all logic including:
1. Profile argument validation (quality/balanced/budget)
2. Config file ensuring
3. Config reading and updating
4. Active-row rendering from `COMPLEXITY_MODEL` in `bin/lib/core.cjs` (simple/standard/complex cells)
5. Confirmation display with the profile's behavioral promise (quality never haiku / budget never opus / balanced full range)
</process>
