madappgang/claude-code/task-external-models
- community
Checking that the SKILL.md file is still in the repository.
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".
Install
npx vskill@latest install madappgang/claude-code/task-external-modelsSKILL.md
External Models: Quick Reference
⚠️ Learn and Reuse Model Preferences
Models are learned per context and reused automatically:
Flow:
- Detect context from task keywords (debug/research/coding/review)
- If
contextPreferences[context]has models → USE THEM (no asking) - If empty (first time for context) → ASK user → SAVE to that context
- 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.
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.
CLI Reference:
Parallel Execution in /team:
All Bash calls are launched in a SINGLE message with run_in_background: true:
Common Mistakes
| Mistake | Why It Fails | Fix | |
|---|---|---|---|
Missing --stdin flag | claudish expects prompt as argument, truncated for large prompts | Use --stdin with < prompt-file.md | |
| Not capturing exit code | No way to detect failures | Add ; echo $? > result.exit | |
| Not capturing stderr | Error details lost | Add 2>stderr.log | |
$(cat file.md) in Task prompt | Shell expansion doesn't work in JSON string parameters | Read file content first, then include in prompt |
Model IDs
Note: Model IDs change frequently. Useclaudish --top-modelsfor current list.
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:
- Check exit code:
cat {model-slug}.exit→ should be0 - Check output size:
wc -c < {model-slug}-result.md→ should be >50 bytes - Check stderr:
cat {model-slug}-stderr.log→ should be empty or just info - Record in verification table for /team results display
Verification checklist:
Related Skills
- 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
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/multimodel/skills/task-external-models/SKILL.md
Popularity
- Repository stars
- 270
- Repository forks
- 32
- 7-day trend score
- 28
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 6 May 2026, 5 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/madappgang/claude-code/task-external-models)