Model Switcher: Switching Session Models between DeepSeek V4 Pro and V4 Flash

Preface

In the same Agent workflow, complex tasks often call for more capable models, while looking up information, editing text, or making batch minor changes are better suited to a fast and affordable tier. If you have to modify global settings or restart the session every time, the context is easily broken. Model Switcher is an ai-agent Skill maintained by community publisher user_346b2eef (displayed author name: Rain) on SkillHub. It is version 1.0.0 and originates from the community. It condenses “switching models within the current session” into natural language commands and fixed execution steps, targeting the two tiers of DeepSeek V4 Pro and DeepSeek V4 Flash. The page is marked requires_api_key=false (the Skill package itself does not require an additional API Key).

What is this

Model Switcher follows the standard SKILL.md format: the package primarily contains operational instructions for the Agent to read and does not include standalone scripts. Its coordinates are @user_346b2eef/deepseek-model-switcher. The display page on SkillHub is Model Switcher, and the API entry is https://api.skillhub.cn/user_346b2eef/deepseek-model-switcher. As of the data retrieval time, SkillHub shows a rating of 100000, 941 downloads, and an installation count of 0 (subject to store statistics).

Core Functions

According to the SKILL.md within the package, the capabilities of this Skill can be summarized as follows:

  1. Session-level model switching: Switches the model used in the current session between DeepSeek V4 Pro and DeepSeek V4 Flash, rather than modifying the global default model.
  2. Natural language triggers: When a user expresses intents like “switch to Pro / switch to Flash / switch back” in colloquial speech, the Agent identifies and executes it according to Skill rules.
  3. Fixed invocation method: During the switch, the corresponding model ID is passed via session_status(model=...) (see the table below).
  4. Post-switch confirmation: After execution, use a brief reply to state the current model and optionally include a hint about the Token cost magnitude (the Skill requires concise replies).
Model model parameter for session_status Positioning in Skill
DeepSeek V4 Pro deepseek/deepseek-v4-pro Strong capabilities, high cost
DeepSeek V4 Flash deepseek/deepseek-v4-flash Fast speed, low cost

Installation & Activation

Below is the procedure to install via SkillHub CLI into the skills directory recognizable by your current Agent. Installation instructions are subject to the SkillHub Installation Documentation.

1. Check CLI

command -v skillhub && skillhub --version

If not installed, you can run the full installation (recommended by the documentation):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

2. Install Model Switcher

The installation coordinates shown in the search results are deepseek-model-switcher, with the namespace user_346b2eef. You must use --dir to point to the current Agent’s skills directory during installation; otherwise, it defaults to ./skills/ and may not be recognized.

skillhub install deepseek-model-switcher --namespace user_346b2eef --dir <your Agent skills directory>

Common path examples (from SkillHub installation documentation):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

Alternatively, you can provide the prompt to the Agent and let it install @user_346b2eef/deepseek-model-switcher according to the installation documentation.

3. After Enabling

Different clients discover Skills differently; after installing to the correct directory, refresh or restart the session according to your Agent’s instructions so that SKILL.md enters the skill list. This package only contains instruction files and requires no additional environment variables or configuration fields to be filled in.

Typical Usage

The trigger and execution flow written in the Skill is as follows, which can be reproduced in Agent environments supporting session_status.

Trigger Conditions (when user message contains similar intents)

  • Switch to Pro: switch pro, switch to Pro, change to Pro, change to V4 Pro, or switch model to Pro
  • Switch to Flash: switch flash, switch to Flash, change to Flash, change to V4 Flash, or switch model to Flash
  • Switch back to Flash: switch back, change back, switch back to (The Skill defines this as switching to Flash)

Execution Flow

  1. Determine whether the user wants Pro or Flash.
  2. Call one of the following:
    • Pro: session_status(model="deepseek/deepseek-v4-pro")
    • Flash: session_status(model="deepseek/deepseek-v4-flash")
  3. Reply to confirm: state that the current model has been switched and briefly explain the approximate Token cost situation.

Scenarios & Caveats

Who is it for

  • Users already using V4 Pro / V4 Flash in a DeepSeek-related Agent chain, and whose runtime provides a session status tool like session_status.
  • Developers who want to temporarily upgrade or downgrade tiers within the same conversation based on task difficulty, rather than repeatedly changing default_model.

Limitations & Notes (All from Skill Description)

  • Switching only affects the current session; group chats and other sessions are not affected.
  • default_model remains unchanged; it only overrides the model selection for this session.
  • The Agent must be able to understand and call session_status; if your client does not have this tool, the execution steps in the Skill cannot be implemented, and you need to verify the runtime environment first.
  • Replies after switching should be brief to avoid verbose explanations.

Conclusion

Model Switcher encapsulates the session-level switching between DeepSeek V4 Pro and V4 Flash into a triggerable Skill flow, suitable for adjusting between cost and capability on a per-turn basis. See SkillHub for installation and details: https://www.skillhub.cn/skills/user_346b2eef/deepseek-model-switcher, API Page: https://api.skillhub.cn/user_346b2eef/deepseek-model-switcher.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye