From trufagent
Use this skill to reconfigure the model behind a specific agent role in the trufagent fleet. Invoke with /trufagent:config [agent] or when the user says "change [agent] model", "swap [agent] to [model]", "reconfigure [agent]", or "optimize [agent] for cost/speed".
How this skill is triggered — by the user, by Claude, or both
Slash command
/trufagent:configThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Reconfigures the model behind a specific agent role. Only `~/litellm-config.yaml` changes — agent `.md` files stay the same.
Reconfigures the model behind a specific agent role. Only ~/litellm-config.yaml changes — agent .md files stay the same.
If no agent specified, show current fleet and ask which to reconfigure:
Configured agents:
!`cat ~/litellm-config.yaml 2>/dev/null | grep "model_name:" | grep -v "claude-sonnet" | sed 's/.*model_name: / /'`
Which agent do you want to reconfigure?
[AGENT] — [role description]
Current model: [current model]
Validated alternatives:
1. [alternative 1] ([provider])
2. [alternative 2] ([provider])
3. Custom model (any valid LiteLLM model string)
Alternatives by role:
anthropic/claude-haiku-4-5, openai/gpt-4o-minianthropic/claude-haiku-4-5, openai/gpt-4o-mini, google/gemini-2.0-flashanthropic/claude-sonnet-4-6, openai/gpt-4o, google/gemini-2.5-prodeepseek/deepseek-chat, openai/gpt-4o, mistral/codestral-latestanthropic/claude-haiku-4-5, openai/gpt-4o-minianthropic/claude-sonnet-4-6 (cheaper, less powerful), openai/gpt-4oIf the chosen provider already has a key in config → skip.
If new provider → ask for key → add as os.environ/PROVIDER_API_KEY.
Update only the matching model_name: [agent] entry. Leave all other entries untouched.
[agent] updated: [old model] → [new model]
Restart LiteLLM for the change to take effect:
litellm --config ~/litellm-config.yaml
critic to a cheaper model reduces review quality on high-stakes changesthinker to a faster model (groq) reduces reasoning depthnpx claudepluginhub trufastack/trufagent --plugin trufagentGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.