## Profile Context (pre-injected by WXP)
**Requested profile:**
**Current profile:**
**Full workflow config:**
---
Set the active model profile, controlling which Claude model each GSD agent uses.
One command replaces the full /gsd-settings flow for the common case of switching profiles.
Profiles: `quality` | `balanced` | `budget` | `inherit`
| Profile | Planner | Executor | Researcher | Verifier | Use when |
|---------|---------|---------|------------|---------|---------|
| `quality` | opus | opus | opus | sonnet | Critical architecture, quota available |
| `balanced` | opus | sonnet | sonnet | sonnet | Normal development (default) |
| `budget` | sonnet | sonnet | haiku | haiku | Conserving quota, high-volume work |
| `inherit` | inherit | inherit | inherit | inherit | OpenRouter / local models / session switching |
**If `profile` is empty (no argument provided):**
Show current profile and available options:
```
## Current Model Profile
Active: {current-profile || "balanced (default)"}
Available profiles:
quality - Opus everywhere (highest quality, highest cost)
balanced - Opus for planning, Sonnet for execution (recommended)
budget - Sonnet/Haiku mix (lowest cost)
inherit - Use the current session model for all agents
Usage: /gsd-set-profile
To configure individual agents and other settings: /gsd-settings
```
Exit (display only, no changes).
Validate that the provided `profile` value is one of: `quality`, `balanced`, `budget`, `inherit`.
**If invalid:**
```
Error: Unknown profile '{profile}'.
Valid profiles: quality, balanced, budget, inherit
Example: /gsd-set-profile balanced
```
Exit.
Apply the profile:
```bash
pi-gsd-tools config-set-model-profile {profile}
```
This updates `.planning/config.json` with the new model profile.
```
✓ Model profile set to: {profile}
{profile description}
Planner: {model}
Executor: {model}
Researcher: {model}
Verifier: {model}
To configure more options: /gsd-settings
```
Where "profile description" maps:
- `quality` → "Maximum reasoning power. Opus for all decision-making agents."
- `balanced` → "Smart allocation. Opus for planning, Sonnet for execution and verification."
- `budget` → "Minimal Opus usage. Sonnet for writing, Haiku for research and verification."
- `inherit` → "Follow the current session model. Required for non-Anthropic providers."
- [ ] Profile validated against allowed values
- [ ] .planning/config.json updated with new profile
- [ ] Confirmation shows per-agent model assignments
- [ ] Link to /gsd-settings for advanced configuration