Agent skill

Task External Models

by MadAppGang in MadAppGang/claude-code

Quick-reference for using external AI models in orchestration workflows.

MITAuto-check passed

Install Task External Models

skills CLI
$ npx skills add MadAppGang/claude-code --skill task-external-models -a claude-code

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

GitHub CLI
$ gh skill install MadAppGang/claude-code task-external-models --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/MadAppGang/claude-code.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/multimodel/skills/task-external-models .claude/skills/task-external-models && 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
task-external-models
GitHub stars
284
Token cost
~1.4k tokens
SKILL.md length
304 words
Files
1
Skills in repo
69
Repo updated
First seen
Licence
MIT

At a glance

Quick-reference for using external AI models in orchestration workflows.

  • Works in 4 steps: Detect context from task keywords… → If contextPreferences[context] has… → If empty (first time for context) → ASK… → …
  • Confused about how to run external models
  • SKILL.md covers ⚠️ Learn and Reuse Model…, The Simple Truth, Bash + claudish Pattern and Common Mistakes, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Task External Models is an agent skill from MadAppGang/claude-code. Quick-reference for using external AI models in orchestration workflows. External models are invoked via Bash+claudish CLI (deterministic, 100% reliable). Use when confused about how to run external models, "claudish with Bash", "external model in /team", or "how to specify external model". Trigger keywords - "external model", "claudish", "Bash claudish", "external LLM", "model parameter".

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

It works with Bash. The repository describes itself as: claude code plugins marketplace. The licence is MIT.

When your agent uses it

  • Confused about how to run external models
  • Claudish with Bash
  • External model in /team
  • How to specify external model

Example prompts

  • “claudish with Bash”
  • “external model in /team”
  • “how to specify external model”
  • “/task-external-models”

Workflow steps

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

  1. Detect context from task keywords (debug/research/coding/review)
  2. If contextPreferences[context] has models → USE THEM (no asking)
  3. If empty (first time for context) → ASK user → SAVE to that context
  4. User says "use different models" → ASK and UPDATE

What it can do on your machine

Read from SKILL.md and the folder at commit 6097ad4. 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 (its code samples are bash and javascript).

    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

Task External Models loads about 1.4k tokens when it runs. Until then it costs about 103 tokens; SKILL.md has 304 words of instructions outside code blocks.

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

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 MadAppGang/claude-code at commit 6097ad4, republished under its MIT licence (© MadAppGang). 304 words, ~1,365 tokens.

Download SKILL.mdSave it as .claude/skills/task-external-models/SKILL.md (or your agent's skills folder).
name
task-external-models
description
Quick-reference for using external AI models in orchestration workflows. External models are invoked via Bash+claudish CLI (deterministic, 100% reliable). Use when confused about how to run external models, "claudish with Bash", "external model in /team", or "how to specify external model". Trigger keywords - "external model", "claudish", "Bash claudish", "external LLM", "model parameter".
version
2.0.0
tags
external-model, quick-reference, bash, claudish, agent-cli
keywords
external model, grok, gemini, gpt-5, minimax, claudish, bash, external LLM, cli
plugin
multimodel
updated
2026-02-11

External Models: Quick Reference

⚠️ Learn and Reuse Model Preferences

Models are learned per context and reused automatically:

bash
cat .claude/multimodel-team.json 2>/dev/null

Flow:

  1. Detect context from task keywords (debug/research/coding/review)
  2. If contextPreferences[context] has models → USE THEM (no asking)
  3. If empty (first time for context) → ASK user → SAVE to that context
  4. User says "use different models" → ASK and UPDATE

Override triggers: "use different models", "change models", "update preferences"


The Simple Truth

External AI models are invoked via Bash+claudish CLI. This is deterministic and 100% reliable.

bash
claudish --model {MODEL_ID} --stdin --quiet < prompt.md > result.md

In /team orchestration:

  • Internal model (Claude) → Task(subagent_type: "dev:researcher")
  • External models (Grok, Gemini, etc.) → Bash(claudish --model {MODEL_ID} --stdin)

Bash + claudish Pattern

Works with ANY agent — deterministic, no LLM compliance needed.

bash
# Pattern
claudish --model {MODEL_ID} --stdin --quiet < prompt.md > result.md 2>stderr.log; echo $? > result.exit

# Examples
claudish --model x-ai/grok-code-fast-1 --stdin --quiet < task.md > grok.md 2>grok-err.log; echo $? > grok.exit
claudish --model google/gemini-3-pro-preview --stdin --quiet < task.md > gemini.md 2>gemini-err.log; echo $? > gemini.exit
claudish --model openai/gpt-5.2-codex --stdin --quiet < task.md > gpt5.md 2>gpt5-err.log; echo $? > gpt5.exit

CLI Reference:

claudish [options]

--model <id>         AI model to use (e.g., x-ai/grok-code-fast-1)
--stdin              Read prompt from stdin
--quiet              Minimal output

Parallel Execution in /team:

All Bash calls are launched in a SINGLE message with run_in_background: true:

javascript
// Internal model via Task
Task({
  subagent_type: "dev:researcher",
  description: "Internal Claude vote",
  run_in_background: true,
  prompt: "{VOTE_PROMPT}\n\nWrite to: {SESSION_DIR}/internal-result.md"
})

// External models via Bash+claudish (all in same message)
Bash({
  command: "claudish --model x-ai/grok-code-fast-1 --stdin --quiet < {SESSION_DIR}/vote-prompt.md > {SESSION_DIR}/grok-result.md 2>{SESSION_DIR}/grok-stderr.log; echo $? > {SESSION_DIR}/grok.exit",
  run_in_background: true
})

Bash({
  command: "claudish --model google/gemini-3-pro-preview --stdin --quiet < {SESSION_DIR}/vote-prompt.md > {SESSION_DIR}/gemini-result.md 2>{SESSION_DIR}/gemini-stderr.log; echo $? > {SESSION_DIR}/gemini.exit",
  run_in_background: true
})

Common Mistakes

MistakeWhy It FailsFix
Missing --stdin flagclaudish expects prompt as argument, truncated for large promptsUse --stdin with < prompt-file.md
Not capturing exit codeNo way to detect failuresAdd ; echo $? > result.exit
Not capturing stderrError details lostAdd 2>stderr.log
$(cat file.md) in Task promptShell expansion doesn't work in JSON string parametersRead file content first, then include in prompt

Model IDs

Note: Model IDs change frequently. Use claudish --top-models for current list.

bash
# Get current available models
claudish --top-models    # Best value paid models
claudish --free          # Free models

# Example model IDs (verify with commands above)
x-ai/grok-code-fast-1       # Grok (fast coding)
minimax/minimax-m2.5        # MiniMax M2.5
google/gemini-3-pro-preview # Gemini Pro
openai/gpt-5.2-codex        # GPT-5.2 Codex
z-ai/glm-4.7                # GLM 4.7
deepseek/deepseek-v3.2      # DeepSeek v3.2

Prefix routing: Use direct API prefixes for cost savings: oai/ (OpenAI), g/ (Gemini), mmax/ (MiniMax), kimi/ (Kimi), glm/ (GLM).


Verifying Models Actually Ran

After collecting results from external models, always verify:

  1. Check exit code: cat {model-slug}.exit → should be 0
  2. Check output size: wc -c < {model-slug}-result.md → should be >50 bytes
  3. Check stderr: cat {model-slug}-stderr.log → should be empty or just info
  4. Record in verification table for /team results display

Verification checklist:

For each external model result:
  ☐ Exit code is 0
  ☐ Result file exists and has >50 bytes
  ☐ Response contains substantive analysis (not just acknowledgment)
  ☐ No error messages in stderr log

  • multimodel:proxy-mode-reference - Complete claudish CLI documentation with routing prefixes
  • multimodel:multi-model-validation - Full parallel validation patterns
  • multimodel:model-tracking-protocol - Progress tracking during reviews
  • multimodel:error-recovery - Handle failures and timeouts

© MadAppGang, MIT. 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 plugins/multimodel/skills/task-external-models of MadAppGang/claude-code.

Open the folder on GitHubat commit 6097ad4

Compare with similar skills

Task External Models 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.

Task External Models compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Task External Models this skillMadAppGang/claude-code284—~1.4kAutomated safety check: PassMIT
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official38k11 repos~4.1kAutomated safety check: NotesApache-2.0
Plugin Settings Patternanthropics/claude-plugins-official38k7 repos~3kAutomated safety check: PassApache-2.0
Mole Bug Patternstw93/Mole70k—~2kAutomated safety check: PassGPL-3.0
Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills21k—~1.9kAutomated safety check: PassMIT
E2Ecallstack/react-native-pager-view3.4k1 repos~2.1kAutomated safety check: PassMIT

Similar skills

  • Hook Development for Claude Code Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.

    38k GitHub starsUsed in 11 repos~4.1k tokens
    Agent WorkflowsAuto-check: notes
  • Plugin Settings Pattern

    anthropics/claude-plugins-official

    Official

    Shows how Claude Code plugins keep per-project settings and state in .claude/plugin-name.local.md files with YAML frontmatter and a markdown body.

    38k GitHub starsUsed in 7 repos~3k tokens
    Agent WorkflowsAuto-check passed
  • A catalog of recurring bug shapes in the Mole Mac cleaner, used to review safety-sensitive diffs for deletion safety, unbounded commands, shell traps and weak tests.

    70k GitHub stars~2k tokensUpdated today
    DevelopmentAuto-check passed
  • Neat-Freak Knowledge Closeout

    KKKKhazix/khazix-skills

    Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.

    21k GitHub stars~1.9k tokensUpdated 6 days ago
    Agent WorkflowsAuto-check passed
  • E2E

    callstack/react-native-pager-view

    Agentic end-to-end tests with e2e, the e2e runner. An agent skill from callstack/react-native-pager-view.

    3.4k GitHub starsUsed in 1 repo~2.1k tokens
    Testing & QAAuto-check passed
  • Runs a spec-driven workflow from PRD to epic to GitHub issues to parallel agents, with status, standup and blocked-work reports from bundled scripts.

    8.4k GitHub stars~1.1k tokensUpdated 6 mo ago
    Product & Project ManagementAuto-check passed

More from MadAppGang/claude-code

All 69 skills in this repo
  • API Spec Analyzer

    MadAppGang/claude-code

    Analyzes API documentation from OpenAPI specs to provide TypeScript interfaces, request/response formats, and implementation guidance.

    284 GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed
  • Content Brief

    MadAppGang/claude-code

    Content brief template and creation methodology for SEO-optimized content.

    284 GitHub starsUsed in 1 repo~959 tokens
    Auto-check passed
  • Context Detection

    MadAppGang/claude-code

    A skill your agent uses when detecting project technology stack from files/configs/directory structure, auto-loading framework-specific skills, or analyzing multi-stack fullstack projects (e.g…

    284 GitHub stars~5.4k tokensUpdated 6 mo ago
    Auto-check passed
  • Content Optimizer

    MadAppGang/claude-code

    On-page SEO optimization techniques including keyword density, meta tags, heading structure, and readability.

    284 GitHub starsUsed in 1 repo~694 tokens
    Auto-check passed
  • Keyword Cluster Builder

    MadAppGang/claude-code

    Techniques for expanding seed keywords and clustering by topic and intent.

    284 GitHub starsUsed in 1 repo~674 tokens
    Auto-check passed
  • Serp Analysis

    MadAppGang/claude-code

    SERP analysis techniques for intent classification, feature identification, and competitive intelligence.

    284 GitHub starsUsed in 1 repo~1k tokens
    Auto-check passed

Works with

Questions about Task External Models

What does Task External Models do?

Quick-reference for using external AI models in orchestration workflows. Task External Models is an agent skill from MadAppGang/claude-code. Quick-reference for using external AI models in orchestration workflows.

When should I use Task External Models?

Task External Models fits situations like: confused about how to run external models; claudish with Bash; external model in /team; how to specify external model.

How do I install Task External Models in Claude Code?

Run `npx skills add MadAppGang/claude-code --skill task-external-models -a claude-code`. Or copy the skill folder (plugins/multimodel/skills/task-external-models in MadAppGang/claude-code) into .claude/skills/task-external-models in your project. Claude Code loads it when a task matches its description.

How do I install Task External Models in Codex?

Run `npx skills add MadAppGang/claude-code --skill task-external-models -a codex`. Or copy the skill folder (plugins/multimodel/skills/task-external-models in MadAppGang/claude-code) into .agents/skills/task-external-models in your project. Codex loads it when a task matches its description.

Can I use Task External Models 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 MadAppGang/claude-code --skill task-external-models -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/task-external-models, .gemini/skills/task-external-models, .github/skills/task-external-models and .opencode/skills/task-external-models in your project.

What does Task External Models need to run?

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

Does Task External Models 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 Task External Models 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 Task External Models use?

Task External Models is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Task External Models use?

About 1.4k tokens (SKILL.md is roughly 5.5k 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 Task External Models?

Skills that share tags, products or a category with Task External Models: Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Plugin Settings Pattern (anthropics/claude-plugins-official, 38k stars), Mole Bug Patterns (tw93/Mole, 70k stars) and Neat-Freak Knowledge Closeout (KKKKhazix/khazix-skills, 21k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Task External Models?

MadAppGang (a GitHub organization) maintains it in MadAppGang/claude-code, which has 284 GitHub stars. The repository holds 69 skills in this directory. The repository was last updated on March 15, 2026.

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