Agent skill

Multi Model

by opensage-agent in opensage-agent/opensage-adk

Recovery strategy when a subagent is stuck on a hard task. An agent skill from opensage-agent/opensage-adk.

Apache-2.0Auto-check passedAgent Workflows

Install Multi Model

skills CLI
$ npx skills add opensage-agent/opensage-adk --skill multi-model -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install opensage-agent/opensage-adk multi-model --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/opensage-agent/opensage-adk.git skills-src && mkdir -p .claude/skills && cp -r skills-src/src/opensage/bash_tools/workflow/multi-model .claude/skills/multi-model && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
multi-model
GitHub stars
127
Token cost
~595 tokens
SKILL.md length
247 words
Files
1
Skills in repo
21
Repo updated
First seen
Licence
Apache-2.0

At a glance

Recovery strategy when a subagent is stuck on a hard task. An agent skill from opensage-agent/opensage-adk.

  • Works in 4 steps: Decide the original is stuck (no… → Try 3a first (cheaper — same model,… → Still failing → try 3b with each… → …
  • Tasks that involve Subagents
  • SKILL.md covers Usage, Common Use Cases and Requires Sandbox
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Multi Model is an agent skill from opensage-agent/opensage-adk. Recovery strategy when a subagent is stuck on a hard task. Two escape hatches: spawn a fresh-context instance with the same model, or retry with a different model from the registry.

Its SKILL.md is about 600 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Subagents. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Subagents

Example prompts

  • “/multi-model”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Decide the original is stuck (no progress in N tool calls, or final answer is complain-shaped).
  2. Try 3a first (cheaper — same model, fresh context). One attempt.
  3. Still failing → try 3b with each alternate model in get_available_models(), sync mode, in sequence.
  4. If multiple alternates also fail → emit complain with the accumulated evidence. Don't loop forever.

What it can do on your machine

Read from SKILL.md and the folder at commit 54d6470. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Multi Model loads about 595 tokens when it runs. Until then it costs about 48 tokens; SKILL.md has 247 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~48
When it runs · the whole SKILL.md, loaded when a task matches
~595

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from opensage-agent/opensage-adk at commit 54d6470, republished under its Apache-2.0 licence (© opensage-agent). 247 words, ~595 tokens.

Download SKILL.mdSave it as .claude/skills/multi-model/SKILL.md (or your agent's skills folder).
name
multi-model
description
Recovery strategy when a subagent is stuck on a hard task. Two escape hatches: spawn a fresh-context instance with the same model, or retry with a different model from the registry.

Multi-Model Retry Pattern

A subagent has clearly stalled — repeating the same wrong fix, hallucinating non-existent APIs, or exceeding a step budget. Two ways out: same model + clean history, or a different model.

Usage

3a. Fresh-context retry (same model)

The current subagent's history has accumulated misleading state. A new instance with the same agent_name and same model but no prior context often makes different choices.

new_sid = call_subagent(
    agent_name="worker",
    request=f"{original_task}\n\nPrevious attempt explored {summary} "
            f"and got stuck. Try a different angle.",
    mode="sync",
    # No model_name → uses the agent's default model.
)
3b. Different-model retry

Some tasks fit certain models better — Claude vs GPT-5 differ on long chains, large diffs, MCP-style tool use, etc.

models = get_available_models()
new_sid = call_subagent(
    agent_name="worker",
    request=original_task,
    mode="sync",
    model_name=alternate_model,    # different from the original
)
Combined recipe
  1. Decide the original is stuck (no progress in N tool calls, or final answer is complain-shaped).
  2. Try 3a first (cheaper — same model, fresh context). One attempt.
  3. Still failing → try 3b with each alternate model in get_available_models(), sync mode, in sequence.
  4. If multiple alternates also fail → emit complain with the accumulated evidence. Don't loop forever.

Key points:

  • Don't auto-retry on every failure. Distinguish "stuck" from "task genuinely impossible". complain("no info") is signal, not a bug to retry through.
  • Cap retries (e.g. ≤2 alternate models). Each retry costs LLM calls.
  • For 3b, the new model still has to be in get_available_models(). If the registry only has one model, only 3a is available.

Common Use Cases

  • Single-task subagent has burned its step budget without convergence
  • Model-specific regression: one model can't handle a certain syntax, another can
  • High-value task where you want to "throw bigger model at it" only after the cheap one fails

Requires Sandbox

None — pure orchestration.

© opensage-agent, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in src/opensage/bash_tools/workflow/multi-model of opensage-agent/opensage-adk.

Open the folder on GitHubat commit 54d6470

Compare with similar skills

Multi Model next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Multi Model compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Multi Model this skillopensage-agent/opensage-adk127—~595Automated safety check: PassApache-2.0
Claude Code Agent Developmentanthropics/claude-plugins-official38k8 repos~2.8kAutomated safety check: PassApache-2.0
Subagent Driven DevelopmentAsvarox/allkaraoke26138 repos~1.2kAutomated safety check: PassNone
Dispatching Parallel Agentsultralisp/ultralisp25841 repos~1.5kAutomated safety check: PassNone
Paseo Advisor Second Opiniongetpaseo/paseo20k1 repos~756Automated safety check: PassCustom licence
Task Observerrebelytics/one-skill-to-rule-them-all3.2k1 repos~12kAutomated safety check: PassCC-BY-4.0

Similar skills

  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    38k GitHub starsUsed in 8 repos~2.8k tokens
    Agent WorkflowsAuto-check passed
  • Subagent Driven Development

    Asvarox/allkaraoke

    A skill your agent uses when executing implementation plans with independent tasks in the current session

    261 GitHub starsUsed in 38 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • Dispatching Parallel Agents

    ultralisp/ultralisp

    A skill your agent uses when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies

    258 GitHub starsUsed in 41 repos~1.5k tokens
    Agent WorkflowsAuto-check passed
  • Launches one separate agent through Paseo to give a second opinion on the current task, with a self-contained briefing and no permission to edit files.

    20k GitHub starsUsed in 1 repo~756 tokens
    Agent WorkflowsAuto-check passed
  • Task Observer

    rebelytics/one-skill-to-rule-them-all

    Monitors task execution for skill improvement opportunities.

    3.2k GitHub starsUsed in 1 repo~12k tokens
    Agent WorkflowsAuto-check passed
  • O2 Review Loop

    openobserve/openobserve

    Splits a change into planner, coder and independent reviewer roles: you confirm a spec, a subagent implements it, and a separate reviewer checks each round's local WIP commit.

    22k GitHub stars~3.7k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from opensage-agent/opensage-adk

All 21 skills in this repo
  • Run Fuzzing Campaign

    opensage-agent/opensage-adk

    Run a fuzzing campaign using AFL++ with optional seeds; supports --custommutatorpath (you can write your own custom mutator and use this to execute).

    127 GitHub stars~542 tokensUpdated 2 mo ago
    Auto-check passed
  • Pool

    opensage-agent/opensage-adk

    Run N tasks under a concurrency cap K via a sliding-window worker pool.

    127 GitHub stars~462 tokensUpdated 2 mo ago
    Auto-check passed
  • Create New Tool

    opensage-agent/opensage-adk

    Scaffold a new bashtools Skill under bashtools/newtools/. An agent skill from opensage-agent/opensage-adk.

    127 GitHub stars~302 tokensUpdated 2 mo ago
    Auto-check passed
  • Extract Crashes

    opensage-agent/opensage-adk

    Extract crash inputs from fuzzing output into a target directory.

    127 GitHub stars~215 tokensUpdated 2 mo ago
    Auto-check passed
  • Get Call Paths

    opensage-agent/opensage-adk

    Get a path in the call graph from a source function to a specified destination function in the codebase.

    127 GitHub stars~272 tokensUpdated 2 mo ago
    Auto-check passed
  • Get Callee

    opensage-agent/opensage-adk

    Tool to get the callee of a function in the codebase by function name and file path.

    127 GitHub stars~223 tokensUpdated 2 mo ago
    Auto-check passed

Categories

Questions about Multi Model

What does Multi Model do?

Recovery strategy when a subagent is stuck on a hard task. An agent skill from opensage-agent/opensage-adk. Multi Model is an agent skill from opensage-agent/opensage-adk. Recovery strategy when a subagent is stuck on a hard task.

When should I use Multi Model?

Multi Model fits situations like: tasks that involve Subagents.

How do I install Multi Model in Claude Code?

Run `npx skills add opensage-agent/opensage-adk --skill multi-model -a claude-code`. Or copy the skill folder (src/opensage/bash_tools/workflow/multi-model in opensage-agent/opensage-adk) into .claude/skills/multi-model in your project. Claude Code loads it when a task matches its description.

How do I install Multi Model in Codex?

Run `npx skills add opensage-agent/opensage-adk --skill multi-model -a codex`. Or copy the skill folder (src/opensage/bash_tools/workflow/multi-model in opensage-agent/opensage-adk) into .agents/skills/multi-model in your project. Codex loads it when a task matches its description.

Can I use Multi Model in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add opensage-agent/opensage-adk --skill multi-model -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/multi-model, .gemini/skills/multi-model, .github/skills/multi-model and .opencode/skills/multi-model in your project.

What does Multi Model need to run?

SKILL.md names no scripts, command-line tools or credentials: Multi Model is instructions for the agent only.

Does Multi Model access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Multi Model safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Multi Model use?

Multi Model is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Multi Model use?

About 595 tokens (SKILL.md is roughly 2.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Multi Model?

Skills that share tags, products or a category with Multi Model: Claude Code Agent Development (anthropics/claude-plugins-official, 38k stars), Subagent Driven Development (Asvarox/allkaraoke, 261 stars), Dispatching Parallel Agents (ultralisp/ultralisp, 258 stars) and Paseo Advisor Second Opinion (getpaseo/paseo, 20k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Multi Model?

opensage-agent (a GitHub organization) maintains it in opensage-agent/opensage-adk, which has 127 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on August 4, 2026.

Source: opensage-agent/opensage-adk on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.