Files
sp80/.opencode/commands/gsd/gsd-set-profile.md
2026-03-13 15:46:10 +08:00

35 lines
952 B
Markdown

---
name: gsd-set-profile
description: Switch model profile for GSD agents (simple/smart/genius)
argument-hint: <profile>
permissions:
read: true
write: true
bash: true
---
<objective>
Switch the model profile used by GSD agents. Controls which OpenCode model each agent uses, balancing quality vs token spend.
Routes to the set-profile workflow which handles:
- Argument validation (simple/smart/genius)
- Config file creation if missing
- Profile update in config.json
- Confirmation with model table display
</objective>
<execution_context>
@./.opencode/get-shit-done/workflows/oc-set-profile.md
</execution_context>
<process>
**Follow the set-profile workflow** from `@./.opencode/get-shit-done/workflows/oc-set-profile.md`.
The workflow handles all logic including:
1. Profile argument validation
2. Config file ensuring
3. Config reading and updating
4. Model table generation from MODEL_PROFILES
5. Confirmation display
</process>