Skip to content
Skills Library
AI & agents · Automation

mahler

/mahler

Multi-model orchestrator that maximizes output quality at the most efficient and reasonable token cost. Interrogates the user first, then uses the strongest model that actually spawns on this subscription (the chat's own model and effort) as planner to decompose tasks and route them to Opus (complex), Sonnet (standard), or Haiku (mechanical). Use when the user types /mahler, says "orchestrate", "pipeline", "use mahler", or when facing a complex multi-step project that would benefit from task decomposition and model routing.

Licence
Apache-2.0
Last repository change
20.10.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
9
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 20.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Multi-model orchestrator that maximizes output quality at the most efficient and reasonable token cost. Interrogates the user first, then uses the strongest model that actually spawns on this subscription (the chat's own model and effort) as planner to decompose tasks and route them to Opus (complex), Sonnet (standard), or Haiku (mechanical). Use when the user types /mahler, says "orchestrate", "pipeline", "use mahler", or when facing a complex multi-step project that would benefit from task decomposition and model routing.

Triggers from the description

orchestratepipelineuse mahler
Original author description

Multi-model orchestrator that maximizes output quality at the most efficient and reasonable token cost. Interrogates the user first, then uses the strongest model that actually spawns on this subscription (the chat's own model and effort) as planner to decompose tasks and route them to Opus (complex), Sonnet (standard), or Haiku (mechanical). Use when the user types /mahler, says "orchestrate", "pipeline", "use mahler", or when facing a complex multi-step project that would benefit from task decomposition and model routing.

How it works

  1. When to Use
  2. How It Works
  3. Model Routing Quick Reference
  4. Key Principles
Original SKILL.md headings · 38 lines, 413 words
SKILL.md preview
---
name: mahler
description: Multi-model orchestrator that maximizes output quality at the most efficient and reasonable token cost. Interrogates the user first, then uses the strongest model that actually spawns on this subscription (the chat's own model and effort) as planner to decompose tasks and route them to Opus (complex), Sonnet (standard), or Haiku (mechanical). Use when the user types /mahler, says "orchestrate", "pipeline", "use mahler", or when facing a complex multi-step project that would benefit from task decomposition and model routing.
---

# Mahler Orchestrator Skill

This skill transforms the current agent into an orchestrator that decomposes work and routes subtasks to the optimal Claude model.

## When to Use

- Complex projects with multiple components (web app + shaders + config)
- Creative projects that need both conceptual direction and technical execution
- Any task where token efficiency matters and work can be parallelized
- When the user explicitly invokes /mahler

## How It Works

The orchestrator follows a strict 5-phase protocol defined in the `/mahler` command. Read `${CLAUDE_PLUGIN_ROOT}/commands/mahler.md` for the full protocol.

Quick reference:
1. **Phase 0 — Interrogate** — Six Hats multi-perspective questions via the `AskUserQuestion` dialogue tool (never plain text), prompt quality audit, GitHub setup (Blue Hat)
2. **Phase 1 — Direct** — spawn the Planner (the chat's own model and effort; fallback opus → sonnet-high → self) for vision + task decomposition into issue-ready specs
3. **Phase 2 — PRD Approval** — present the plan as a PRD in chat, hard stop until the user explicitly approves
4. **Phase 3 — GitHub Pipeline** — readers → spec in issue body → dispatch by pointer → verifier → escalation ladder
5. **Phase 4 — Integrate** — dedicated Reviewer agent (fresh context) reads the full merged diff for correctness bugs, resource leaks, and cross-task conflicts; verify success criteria; surface summary

## Model Routing Quick Reference

Read `${CLAUDE_PLUGIN_ROOT}/skills/mahler/references/model-routing.md` for the detailed routing table.

## Key Principles

- **Interrogate before you orchestrate**: never skip Phase 0
- **Never dispatch before approval**: no issue is created and no agent is spawned until the user approves the Phase 2 PRD
- **Cheapest capable model wins**: don't use Opus for Haiku work
- **Parallel when possible**: independent tasks run simultaneously
- **Lean by default**: never asks about budget. Mode follows task shape (Chamber default, Solo for small tasks); the PRD approval offers a bigger and a leaner version with token estimates. Think high (strongest model plans and judges), read mid (sonnet-low readers digest context), do cheap (sonnet implements, haiku for mechanical) — see `references/execution-modes.md`
- **Context budget**: every subagent has a tool-call cap and output-capping rules; long tasks relay across fresh agents through handoff files instead of growing one context (see `references/context-budget.md`)
- **Availability over assumption**: the model hierarchy is a fallback ladder, not a requirement — planner = session model and effort (fallback opus→sonnet-high→self), opus→sonnet-high, haiku→sonnet-low, nothing→Solo
- **Degrade gracefully**: the 5-phase structure, PRD stop, and issue-first survive every mode; only the number of agents changes
Files in this package (9)
  • SKILL.md 3 KB
  • references/architecture-patterns.md 7 KB
  • references/context-budget.md 4 KB
  • references/execution-modes.md 10 KB
  • references/github-pipeline.md 9 KB
  • references/interrogation-protocol.md 5 KB
  • references/model-routing.md 7 KB
  • references/prompt-quality.md 7 KB
  • references/subagent-ops.md 7 KB

Versions

The database has no other skills named mahler.

Database snapshot: 13.11.2026 · package version 9dfdd473fd70 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100model-routing
    Intelligent model selection — routes tasks to Haiku (fast/cheap), Sonnet (balanced), or Opus (complex/strategic) by analyzing task complexity. Use when deciding which model to run, optimizing cost vs quality, or building a tiered routing layer.
  • 90model-roles
    Use for any coding task. Opus is the orchestrator: it plans, delegates, and supervises. Sonnet writes and reviews code, Haiku does lookups and mechanical edits, and no subagent runs on Opus. The model-policy mod enforces this, so read it before you spawn an agent, edit a code…
  • 90model-routing
    Pick the right model per call, not per project — route Opus/Sonnet/Haiku, GPT-5/4o/mini, Gemini Pro/Flash by task, and cut cost without losing quality. Use when the user is choosing model tiers, building a router, or debating Opus-only vs mixed-tier deployments and mentions…
  • 100cc-model-routing
    Pick the right Claude model (Fable, Opus, Sonnet, Haiku) for a task and manage cost — decision matrix, cost tables, budget planning, cascading strategy. Use this skill whenever choosing a model, setting a token budget, optimizing session cost, or deciding whether to…
  • 90tasktide
    Orchestrates development tasks with Claude Code subagents and routes work between Haiku, Sonnet and Opus. Use to plan architecture, implement features, refactor, debug, review and test code.
  • 100orchestrate
    Turn any task into a model-tiered multi-agent plan, decompose it into subtasks, classify each as research, implementation, planning, or synthesis, map every subtask to the right subagent and model (haiku for research/exploration/finding, opus for planning, sonnet for everything…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.