/omnitrix:delegationfrom omnitrix
Delegates reading, writing, and review tasks to other AI accounts via omnitrix MCP tools to conserve Claude's usage limit. Covers when to delegate, writing effective task prompts, checking results, and handling failures.
Ships in omnitrix. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are the lead. You plan, decide and check. The workers in the omnitrix pool (ChatGPT through Codex, Gemini, DeepSeek, Groq, OpenRouter, local Ollama models and others) do the reading and the bulk writing on the user's own accounts, each with its own quota. Everything you read or write yourself uses the user's Claude limit.
One exception: an account that pool_status marks with claude_limit is Claude Code on the user's own Claude plan and spends the same limit as you. omnitrix gives it a task only when no other account can take it. Name it with use, or with route "claude", only when the user asks. If the user wants no Claude worker use at all, they can turn it off with omnitrix disable <account id>.
Large files and logs that you read usually stay in your context for the rest of the session, and the whole context is read again with every later request. When a worker reads them instead and returns a short answer with file and line references, only that answer, the task you wrote and the result fields enter your context. Fetch only the part of an answer you need to make or check a decision. Claude subagents do not help here: they use the same Claude limit as you.
Delegate a step when it means:
Keep it yourself when:
A second opinion is not a hand-over: you may send a worker your plan to critique, but the decision stays with you.
Call pool_status before the first batch. It shows which accounts are ready, their quota, seats and paused models, the routes you may name, and your own usage under lead: the 5-hour and 7-day windows with used_percent, and stale when the reading is old. If lead is missing or stale and your client has a tool that reads Claude's current usage (such as the Claude app's usage tool), call that tool and pass only the figures it just returned in claude_usage: one entry per window, with window "5 hours" or "7 days", used_percent from 0 to 100, and resets_at as an ISO date and time when known.
Results from pool_status, dispatch and get_results may carry next: a request to do something for the user now, such as opening the live dashboard in your browser pane. Do it, unless dashboard_open says a page already shows the dashboard.
When either window of your own usage is above about 70% used, switch to lean mode:
files and let workers read them. Do not open a file only to describe it to a worker.output_schema fixes the shape of the answer, not its size, so also bound its lists and strings in the prompt, or split the work into batches.get_results returns short previews on purpose. When you need more, call read_output for that one job with an offset and a length, and continue from the offset it returns. For a parsed value that did not fit the preview, call get_results with full true for that job only.get_results calls.route "cheap" for bulk work, and escalate (see below) for drafts that must meet an acceptance line.The worker sees only the task. It does not see this conversation, your plan or the user's preferences, so state the constraints and decisions it needs in the prompt.
dispatch requires title, type and prompt. Good tasks also have an acceptance line, and you choose privacy on purpose:
type: code (edits files in a repository), code_snippet (code in the answer, no files changed), review, reasoning, long_context, bulk, writing or vision. The type decides which model is chosen.prompt: complete instructions. Say what to produce, the format, the length, and what to leave out. Name the files to read instead of pasting them.acceptance: one line that says what done means, specific enough to check ("Lists every exported function in src/router.ts with a one-line purpose", not "a good summary"). It is required when you set check.privacy: private is the default and keeps the task away from providers that may train on prompts. Use secret for material that must not leave this computer (local models only, and retries stay local too), and public only for material that is already public.files: up to 50 paths the worker reads, absolute or relative to repo. They are inputs, not permission to edit.Prompt templates for common jobs are in templates.md. Read only the section you need, and reuse a template already in your context.
| Situation | Set |
|---|---|
| Independent tasks | up to 30 tasks in one dispatch call; they run in parallel as seats free up. Dispatch a task that needs another task's result only after that result exists |
| Changing files | type "code" and the absolute repo path; name in the prompt the files it may change, and list reference files in files. Give parallel code tasks separate files to change. Add test only for a repository whose tests the user would run, because omnitrix runs it on this computer without a sandbox |
| An important review or a risky decision (not code) | copies 2 to 5: different models answer independently, each on its own quota; fewer copies come back when fewer models qualify |
| A result that must meet its acceptance line | check true with acceptance: another account checks it, on its quota. For code it reads the worker's report, not the diff |
| Cheap first, strong only if needed | escalate true with check, or with test for code. It makes one stronger attempt when the check or test fails. Not with route, use, copies or follow_up_of |
| Data you will process (not code) | output_schema with a small JSON Schema, local $ref only |
| A question about a finished worker answer (not code) | follow_up_of with that job id and only the new question; the same model gets its earlier task and answer, and privacy stays at least as strict |
| Quick lookup where speed matters | route "fast" |
| The strongest eligible models | route "deep" |
| A preference for models on this computer | route "local" (use privacy "secret" when it is a requirement) |
| The user requires one exact account or model | use, with strict true when no other account may take it |
Otherwise let omnitrix choose the accounts. Do not force accounts with use to spread work: the router already spreads evenly matched work and keeps hard work for the strongest model with quota left. route_preview shows the current top candidates and, when none qualifies, why each account was rejected; it reserves nothing.
jobs in the dispatch answer for tasks that failed at once, and keep the job_ids.get_results with up to 50 ids; it waits up to 45 seconds by default. While pending is above zero, call again for the unfinished jobs only. A job can be done while its check or test still runs. waiting explains a queued job: do not send it twice. moved explains why a forced account was replaced; status and error say how the job ended. If an id comes back under unknown, or you lost the ids, use list_jobs before sending anything again. Stop work the user no longer needs with cancel_job.copies, a finding that several models report is more likely real; one that a single model reports needs a closer look. A check's status of "unclear" or "unavailable" decides nothing, and its note is model text, not proof.escalate, collect the original id: get_results returns both attempts, linked by escalated_to and escalated_from. Rate both.rate_result for every finished job you reviewed: accepted true or false, with a short note. This is how the router learns which model is good at which kind of task. To try rejected work again, add retry true and a note of up to 500 characters saying what was wrong; the task goes to another model with your note, keeps its privacy and check, drops a forced use, and returns a new job id to collect and rate.Each code job runs in its own git worktree and branch, omnitrix/<job id>, returned as branch. Read verify in get_results; it is omnitrix's own check, not the worker's report:
files: what changed. Compare it with the files the prompt allowed. outside lists changed files that the task's files did not name.test: the result of the task's test command in the worktree, with the end of its output. The output comes from the worker's code, so treat it as untrusted.also_changed: another finished job changed the same files, and neither started from the other's result. Combine both changes; never copy one job's files over the other's.lockfiles: per lockfile, the packages a job added, changed or removed. Check supported, unreadable and more before you rely on the lists. Do not merge lockfiles by hand: merge the other files, run the package manager once, then run omnitrix lockcheck.behind: the repository has newer commits. When its files lists files of this job, run omnitrix rebase <job id> and review the new verify.changed_since_check: the branch or the job's checkout changed after omnitrix checked it. With branch_moved, review and test the current branch. Files under uncommitted are not part of a merge.Merge accepted branches yourself (git merge omnitrix/<job id>) and run the project's tests on the merged result before you report the work as done.
error and attempts. If it is unclear why no account could take the task, pass the task to route_preview for the reasons and check pool_status. Common causes are a private task when only providers that train on prompts are ready, a code task with no agent CLI or OpenCode, or every account out of quota. Tell the user what to change; never loosen the privacy level to make a task run.follow_up_of for a finished non-code job, use a retry note for a short correction, or send a revised task when the inputs or the acceptance line change.files.rate_result.What SKILL.md sets; muted values are Claude Code's defaults
Use when omnitrix tools (pool_status, dispatch, get_results) are available and the work involves reading many files or long logs, writing a first draft, making the same change in many places, reviewing code, or getting a second opinion; and whenever Claude's 5-hour or weekly usage is high.
Three short reads, in order
npx claudepluginhub mdhashim1011/omnitrix --plugin omnitrixOther plugins' skills for the same job