greenclawdbot

GOC Model Switcher Skill

0
0
# Install this skill:
npx skills add greenclawdbot/goc-model-switcher

Or install specific skill: npx add-skill https://github.com/greenclawdbot/goc-model-switcher

# Description

Inline model switching skill for Clawdbot

# SKILL.md

GOC Model Switcher Skill

Switch between configured models inline during conversations.

Commands

!model

Switch to a different model or show current model status.

Usage:

!model                    # Show current model
!model gpt-5.2           # Switch to GPT-5.2
!model mini              # Switch to MiniMax-M2.1
!model -h                # Show help
!model --help            # Show help

Arguments:
- model - Model ID or alias to switch to (optional)
- -h, --help - Show this help message

Examples:

!model                    # Show: "Current model: minimax/MiniMax-M2.1"
!model gpt-5.2           # Switch to GPT-5.2
!model openai/gpt-4o-mini # Switch to GPT-4o-mini

Supported Models

Any model configured in your clawdbot.json can be used. Common aliases:
- mini, minimax β†’ minimax/MiniMax-M2.1
- gpt, gpt-5.2 β†’ openai/gpt-5.2
- gpt-mini, gpt-5-mini β†’ openai/gpt-5-mini
- gpt-4o β†’ openai/gpt-4o

Implementation

The skill:
1. Reads the current default model from agent config
2. Updates the default model when a new one is specified
3. Persists changes for the session

Files

  • index.js - Skill implementation
  • SKILL.md - This documentation

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.