model · muaaz9329 — Claude Code skill: what it does, how to install
model is a Claude Code skill that configures primary and fallback worker models. It walks through model selection using the cheap-agent CLI utility.
MIT ★ 341 updated 2026-11-16
/plugin marketplace add muaaz9329/cheap-ag
/plugin install cheapag@cheap-agentWhat model does
The skill queries the provider catalog and configures worker models for the agent. It retrieves available options by executing npx -y [email protected] model --list. The agent then presents four suggestions for the main coding model alongside an option to input any catalog identifier.
If the selected model supports reasoning effort settings, the skill prompts for an effort level with default listed first. It next asks for an optional fallback model to handle rate limits, offering none or suggested IDs, followed by its effort setting. The selected configuration is saved with npx -y [email protected] model --main <id> and the corresponding flags.
Network connectivity is required for npx inside the sandbox environment. The tool prints a final prompt: For more models, exit Claude/Codex and run: npx cheap-agent model.
What it helps with
- configure the primary worker model for generating code
- assign a fallback model to handle API rate limits
- set reasoning effort levels for chosen provider models
- inspect available provider models through the CLI
Example prompts for the agent
- Run the model skill to configure worker models
- Change main and fallback models with their effort levels
How to install model
1Plugin marketplace
/plugin marketplace add muaaz9329/cheap-ag/plugin install cheapag@cheap-agentThis installs the whole cheapag plugin with all its skills
2Skills CLI (Vercel)
npx skills add muaaz9329/cheap-ag --skill model -a claude-code3Manually: put the files in place
~/.claude/skills/model/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/model/
1Skills CLI (Vercel)
npx skills add muaaz9329/cheap-ag --skill model -a codex2Manually: put the files in place
.agents/skills/model/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add muaaz9329/cheap-ag --skill model -a cursor2Manually: put the files in place
.cursor/skills/model/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install muaaz9329/cheap-ag plugin/skills/model2Manually: put the files in place
.github/skills/model/SKILL.md1Skills CLI (Vercel)
npx skills add muaaz9329/cheap-ag --skill model -a gemini-cli2Platform CLI
gemini skills install https://github.com/muaaz9329/cheap-ag --path plugin/skills/modelManually: put the files in place
.devin/skills/model/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about model
How to install model in Claude Code?
Register the repository using /plugin marketplace add muaaz9329/cheap-ag and then install the package with /plugin install cheapag@cheap-agent.
What does model do?
It fetches provider models via cheap-agent, asks for main and fallback choices with effort levels, and saves the configuration.
What is required for model to work?
The environment needs network access so npx can download and execute [email protected].
Source text
SKILL.md · MIT
--- name: model description: Choose the worker's main and fallback models, each with an effort, from the models your provider offers disable-model-invocation: true allowed-tools: Bash(npx -y [email protected] model) Bash(npx -y [email protected] model *) --- !`npx -y [email protected] model --list` The developer ran this model command themselves; its output is above. Set the worker's models with them: 1. Ask one question for the main model (it writes the code): the 4 suggestions as the options, and "Other" for any other model id from the provider's catalog. 2. If the picked model lists efforts, ask one question for its effort, with `default` first. 3. Ask one question for the fallback model (used on a rate limit): `none` first, then the suggestions. If it lists efforts, ask for its effort too. 4. Run `npx -y [email protected] model --main <id> [--effort <e>] [--fallback <id|none>] [--fallback-effort <e>]` once, leaving out the flags for `default` efforts, and report its last line. Always show the user this line, as is: `For more models, exit Claude/Codex and run: npx cheap-agent model` Only because the user invoked this skill: If no output appears above (Codex): run `npx -y [email protected] model --list` yourself once, exactly as written. It needs network for npx; ask for that if the sandbox blocks it. Do not change the models in any other way.
© muaaz9329 · MIT · muaaz9329/cheap-ag
Similar skills
All skills for Agent setup: memory, context, orchestration →model by other authors comes first.