From xpowers
Interactive wizard to configure which AI model runs for each XPowers agent in Claude Code. Reads agent frontmatter and guides model changes per agent, group, or preset.
How this skill is triggered — by the user, by Claude, or both
Slash command
/xpowers:routing-settingsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Configure which model each XPowers agent uses. Changes are written to agent frontmatter files.
Configure which model each XPowers agent uses. Changes are written to agent frontmatter files.
Read the YAML frontmatter model: field from each agent file. The agent files are in the agents/ directory of the xpowers plugin (typically ~/.claude/agents/).
Read these files NOW and build a table:
| Agent | Current Model | Group |
|---|---|---|
| autonomous-reviewer | (from frontmatter) | reviewers |
| code-reviewer | (from frontmatter) | reviewers |
| codebase-investigator | (from frontmatter) | workers |
| devops | (from frontmatter) | guards |
| internet-researcher | (from frontmatter) | workers |
| knowledge-aggregator | (from frontmatter) | researchers |
| planner | (from frontmatter) | planners |
| review-documentation | (from frontmatter) | reviewers |
| review-implementation | (from frontmatter) | reviewers |
| review-quality | (from frontmatter) | reviewers |
| review-simplification | (from frontmatter) | reviewers |
| review-testing | (from frontmatter) | reviewers |
| security-scanner | (from frontmatter) | guards |
| test-effectiveness-analyst | (from frontmatter) | reviewers |
| test-runner | (from frontmatter) | workers |
Note: ralph is not listed because it uses inherit and orchestrates other agents.
Agent groups:
Model options for Claude Code:
inherit — use the parent session's model (default)sonnet — Claude Sonnet (balanced)opus — Claude Opus (most capable)haiku — Claude Haiku (fastest, cheapest)claude-sonnet-4-5, claude-opus-4-5, claude-haiku-4-5Show the table and available model options to the user.
Use AskUserQuestion to ask one question at a time:
First question — what action?
Options:
.md file — change the model: field in YAML frontmattermodel: field in eachhaiku, researchers/guards/reviewers use sonnet, planners + autonomous-reviewer use opussonnet, planners + autonomous-reviewer use opusAfter making changes, re-read the agent files and show the updated table to confirm.
.md filesmodel: field in YAML frontmattermodel: fieldnpx claudepluginhub dpolishuk/xpowers --plugin xpowersCreates Claude Code agents from scratch or by adapting templates. Guides requirements gathering, template selection, and file generation following Anthropic best practices (v2.1.63+).
Create custom agents for Claude Code including YAML frontmatter, system prompts, tool restrictions, and discovery optimization. Use when creating, building, or designing agents, or when asked about agent creation, subagent configuration, Task tool delegation, or agent best practices.
Writes and configures custom .md agent definitions in .claude/agents/, with YAML frontmatter for model, allowed-tools, context-forking, and system prompts. Useful when authoring a specialized agent or constraining tool access.