How to automatically switch models depending on the use of skills and commands.

Hasegawa from the Service Reliability Group (SRG) of the Media Management Division (@rarirureluis)is.
#SRGThe Service Reliability Group primarily provides comprehensive support for the infrastructure surrounding our media services, focusing on improving existing services, launching new ones, and contributing to open-source software (OSS).
This article explains how to switch between models using custom slash commands and skills depending on the application.
 

What makes me happy?


/create-pr
For small tasks like creating a pull request, everyone would probably prefer to use a different model.

Since this is done via CLI, only a portion will be introduced here.


  • OpenCode
  • Claude Code
I will focus on introducing only those.

Slash command


model
 
opencode-go/glm-5

skill


Claude Code supports specifying models in skills, but OpenCode does not (as of March 9, 2026).

In conclusion


CLImodel specification
OpenCode (skills)❌
OpenCode (command)✅
Claude Code (skill)✅
Claude Code (command)✅
By using the appropriate model with slash command skills in this way, you can improve accuracy or save tokens.
If you are interested in SRG, please contact us here.