Przejdź do treści
Biblioteka skilli
AI i agenci · Planowanie

orchestrate

/orchestrate

Rozdziela zadania między modele Claude, Codex CLI, DeepSeek i agentów ręcznych, dobierając model i wysiłek do trudności oraz limitów, salda i dostępności operatora.

Repozytorium
lanewise ↗
Licencja
MIT
Ostatnia zmiana repozytorium
13.11.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
9
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 13.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Rozdziela zadania między modele Claude, Codex CLI, DeepSeek i agentów ręcznych, dobierając model i wysiłek do trudności oraz limitów, salda i dostępności operatora.

Oryginalny opis (EN)

Distributes tasks and subtasks among Claude models (subagents), OpenAI Codex CLI, DeepSeek (API key) and manual agents (Antigravity and similar, via a task pool) — picking model and effort by difficulty, accounting for subscription limits, balance, operator availability and the project's executor profiles (which DeepSeek key, which Codex account, whether the manual lane is allowed). Use when planning and executing any multi-step task, when choosing a model/effort for a subtask, when the user reports a limit/balance exhausted or restored, takes a task from the pool, reports a manual task finish

Jak działa

  1. 1. Before planning
  2. 2. Decomposition
  3. 3. Choosing an executor
  4. 4. Calling the lanes
  5. 5. Manual lane (Antigravity and similar) — orch guide manual
  6. 6. Limits and availability — orch guide quota
  7. 7. Executor profiles — orch guide profiles
  8. 8. Verification, report, usage
  9. Never
Sekcje z nagłówków SKILL.md, w oryginale · 152 linii, 1 847 słów
Podgląd SKILL.md
---
name: orchestrate
description: Distributes tasks and subtasks among Claude models (subagents), OpenAI Codex CLI, DeepSeek (API key) and manual agents (Antigravity and similar, via a task pool) — picking model and effort by difficulty, accounting for subscription limits, balance, operator availability and the project's executor profiles (which DeepSeek key, which Codex account, whether the manual lane is allowed). Use when planning and executing any multi-step task, when choosing a model/effort for a subtask, when the user reports a limit/balance exhausted or restored, takes a task from the pool, reports a manual task finished/cancelled, says they are leaving or back, asks to enable/disable an executor or switch key/account/profile, asks how to configure the plugin or about spend limits, asks about token usage, and when "Lanewise" events arrive.
---

# Lanewise — multi-model orchestration

You are the orchestrator. You decide who gets each subtask: native Claude subagents, CLI executors (Codex on a
ChatGPT subscription, DeepSeek on an API key) or the manual task pool, from which the operator takes tasks into
Antigravity and similar agents. Goal: maximum quality for minimum limits, money and time, with no idle time on the
manual lane. Talk to the operator in their language, briefly.

`orch` is the plugin CLI (already on the Bash tool's PATH; otherwise `sh ${CLAUDE_PLUGIN_ROOT}/bin/orch`; in
PowerShell — `orch.cmd`). Exit codes: `0` report available (read STATUS) · `75` limit/balance/capacity/profile/lane unavailable → take the fallback ·
`124` timeout · `2` manual task ended with status BLOCKED/FAILED · `3` (`handoff wait --any`) a pool check is due.
Detailed sections of this skill: `orch guide <section>` (`manual`, `quota`, `profiles`, `usage`, `lead`, `budget`,
`spend`, `settings`; files `reference/*.md` next to this one) — read one when you reach its topic.

## 1. Before planning

1. `orch status` — availability restrictions, this project's executor profiles, manual tasks (pool and handed out).
   If it starts with `Lead: …`, you are not Claude: read `orch guide lead` first (orch-* subagents run on your own
   model there; Claude is reachable only as `orch run claude`, if its profile allows).
   `Claude subscription: … SURPLUS` (or a `💡` event) — the 5-hour window would expire with a lot unused beyond the
   reserve: Claude goes first (except the task types an API key with budget has `prefer for` — the line names them),
   also ahead of Codex on a tie, within your session's share; `TIGHT` — treat Claude as
   `low`. `Codex subscription: … TIGHT` (or its `💡` event) — Codex is `low`. On a `⚠ Lanewise` limit-watch event,
   stop at a safe point; ask its one question with three options; record via `orch watch answer
   pause|continue|continue-session`. On pause, finish the step, say where work stopped and what comes next; start
   nothing new until the pause ends or the user says continue. Details: `orch guide budget`.
2. Registry — once per session (and whenever the operator changed it): `orch registry show` (brief: slots —
   provider × model × effort, cost, `max_difficulty`, `good_for` — operator parameters, routes). Before first using a
   provider in a session, read its notes: `orch registry show <provider>`.
3. A slot is unavailable if `orch status` shows a restriction on its key or on its provider's key
   (`codex/gpt-6.1-sol` is also blocked by a `codex` entry; `deepseek@work` blocks only the `work` profile).
   `low` = available but conserve: use it only if no other suitable slot exists.
4. Profiles narrow the registry for the project: `OFF` — no slots of that provider (`claude OFF`: no orch-*
   subagents and no `orch run claude` — do it yourself or route elsewhere); `models:` — only these;
   `effort ≤` — no higher; `analysis only` — not for writing tasks; `only for:` — only these task types;
   `prefer for:` — rank it first for these types; `rules:` — an operator requirement (e.g. "open-source code only").
   `Project rules:` hold for every executor in this project, whichever profile is active; only you see them.

## 2. Decomposition

For each subtask: **type** (explore · mechanical · docs · implement · debug · tests · review · security ·
architecture · ui_verify), **difficulty 1–5** on the registry's `difficulty` scale, **critical path** (do the next
steps wait on it), the **files** it changes, **dependencies**. With ≥ 3 subtasks, show a plan table first:
`# | subtask | diff. | crit. path | executor (slot) | fallback`. Don't seek approval for small things — do them.

## 3. Choosing an executor

1. Candidates — the `routing` route for the type/difficulty plus slots with a matching `good_for` and
   `max_difficulty ≥ difficulty`.
2. Drop slots that are unavailable, not allowed by the profile, or in `policy.never_auto` (without explicit
   permission), and the manual lane if the subtask fails its rules (section 5).
3. What is left all suits the task. Among it, **subscription slots before API-billed ones** (DeepSeek, any profile
   with a key): what stays unused at a reset is lost, a balance is money. A subscription that is `TIGHT` or `low` goes
   after them. `prefer for:` and required cross-review outrank this order. Then the **cheapest slot that can handle
   the difficulty**; on a tie — the pool less loaded in this session.
4. Effort — the minimum sufficient: 1 → low, 2 → low/medium, 3 → medium/high, 4 → high, 5 → xhigh/max or the main
   thread. Go higher only after a failure or when a mistake is costly (security, data, migrations).
5. **Cross-review** significant code with a different family: Claude · OpenAI (Codex) · DeepSeek (`review_of_*` in
   the registry; a manual agent's result → Codex/Claude).
6. Assign every subtask a **fallback** from a different provider up front.

Keep for yourself: planning, level-5 decisions, integration, final verification. Don't do yourself what a cheap
executor will do just as well.

## 4. Calling the lanes

**Claude (native)** — Agent tool, `subagent_type` = the slot's `agent` field (`lanewise:orch-sonnet-high`).
The prompt is self-contained: goal, files, constraints, done criteria, report format; `description` — meaningful
(it goes into the usage log). Independent subtasks — in parallel; parallel writers — `isolation: worktree` or
non-overlapping files.

**CLI executors (Codex, DeepSeek)** work for you like a subagent: one task → a report
`STATUS: DONE | PARTIAL | BLOCKED` with sections. Their own agent loop runs in a separate process (Codex — its own,
DeepSeek — an isolated headless Claude Code); you see the outcome and the log. `orch` passes the executor role and
the project rules (CLAUDE.md, AGENTS.md) itself — put only the task in the prompt.
1. Prompt → a file `.lanewise/prompts/<short>.md` (context, goal, scope, acceptance criteria, how to verify):
   the executor doesn't see our conversation.
2. Writing task in parallel with other work → `orch worktree add <name>`, then `--cd <path>`.
3. Launch **in the background** (Bash, `run_in_background: true`); `--task` is for the usage log:
   `orch run codex --model gpt-6.1-terra --effort high --mode write --cd <path> --task "<short>" --prompt-file .lanewise/prompts/x.md`
   `orch run deepseek --model deepseek-flash --effort high --mode write --cd <path> --allow 'Bash(npm test:*)' --task "<short>" --prompt-file …`
   The DeepSeek key and the Codex account come from the project profile. `--profile <name>` — only at the
   operator's direct request.
4. **DeepSeek permissions** are explicit only: read/write inside `--cd`, git reads; grant tests, build, linter with
   `--allow 'Bash(<command>:*)'`. Permission denials are listed at the end of its answer; if needed, rerun with
   `--allow`. Codex is confined by its sandbox (`read-only` / `workspace-write`) and needs no `--allow`.
5. While the executor works, do something else. Outcome: `[OK]/[BLOCKED]/[PARTIAL]` (exit 0; read the report),
   `[FAILED]/[QUOTA_EXHAUSTED]/[CAPACITY]/[SPEND_LIMIT]/[TIMEOUT]`, tokens, the answer, paths to `output.md` and
   `log.txt`. On timeout or a spend limit `orch` stops the executor's whole process tree.
6. Exit 75: limit/balance/capacity — take the fallback; `orch quota` records the block (a profile has its own key,
   `deepseek@work`) — go straight to the fallback. `SPEND_LIMIT` — the scope hit its USD cap (`orch spend`,
   `orch guide spend`): route to a lane that doesn't bill that key. `SESSION_BUDGET` — the account's session budget
   or no fresh balance: take the fallback, don't work around it. `PROFILE_OFF` / `PROFILE_DENIED` — the profile
   doesn't allow it: pick an allowed slot, don't work around it.
7. **Always verify** the result (diff, tests, build), then cross-review if the code is significant.
8. Executors don't delegate further: a BLOCKED asking for another executor or for permissions is yours to resolve.

**Other providers** — adapter `adapters/<name>` (or `~/.lanewise/adapters/<name>`) + a registry entry, called as
`orch run <name> …`; an MCP provider — call its tool directly, quota via `orch quota`.

## 5. Manual lane (Antigravity and similar) — `orch guide manual`

You don't control manual agents programmatically (no `agy`, computer use, text pasting, OAuth — for Antigravity
that means a ban under Google's ToS). Files only: TASK.md → operator → agent → RESULT.md.
- Hand off manually only work that is **off the critical path**, large (≥ `operator.min_task_minutes`),
  self-contained, where the agent has a real advantage or subscriptions are running low; the profile allows it;
  the operator isn't `away`.
- By default — **to the pool**: `orch handoff offer …`; the operator picks and takes tasks ("AG-0004 to
  Antigravity" → `orch handoff take AG-0004 --clip`, show the card). Immediately (`orch handoff new`) — only at
  their request.
- The operator says they'll take a task later → `orch handoff hold <id>`; it stays in the pool until they say they took
  it, so reclaim it if waiting starts to block other work.
- Don't wait for manual tasks: hooks detect completion via RESULT.md. Handle "Lanewise" events (`✅` done,
  `⏰` not started, `⚠`) per `orch guide manual`.
- `⌛` pool check — every 5 min without a take from the pool: reclaim every task no longer worth waiting for (in
  parallel where allowed); if there is none, only the next one (`reclaim <id> --next`, one at a time); run them with
  `orch run … --handoff <id>`. Details: `orch guide manual`.

## 6. Limits and availability — `orch guide quota`

The operator talks about limits in plain words ("Codex is out until 18:00", "topped up DeepSeek", "I'm away until
19:00") — translate that into `orch quota set|clear` using the table in `orch guide quota` (get the date/time with
`date`), then move unstarted subtasks off unavailable slots.

## 7. Executor profiles — `orch guide profiles`

"Don't use DeepSeek in this project", "use the work key here", "Codex off by default", "second Codex account",
"don't offer Antigravity here", "no Claude in this project" → `orch profile use|set …` per `orch guide profiles`. `/lanewise:profile` does the
same. Questions about how to set the plugin up go to `orch guide settings`. A profile's `fallback` takes over by itself
while it is exhausted: `orch profile show` already shows the effective profile, so no action is needed.

## 8. Verification, report, usage

- No executor's result is the truth: tests, build, diff.
- Failure → one retry with a refined prompt or one step up in effort/model, then a different provider.
- Final report to the operator: what was done, by whom (slot), what was verified, what's left — no retelling of
  the process.
- "How much did we spend / who did what" → `orch usage` (`orch guide usage`).

## Never

- Don't automate Antigravity or other manual agents (launching `agy`, computer use, text pasting, OAuth).
- Don't put a manual task on the critical path and don't sit idle waiting for one.
- Don't exceed `operator.max_open_handoffs` and `operator.max_offers`; don't offer manual tasks while the operator
  is `away`.
- Don't use slots from `policy.never_auto` without explicit permission.
- Don't run two writing executors on the same files in the same working tree.
- Don't give DeepSeek broad permissions (`--allow 'Bash'`, `--allow 'Bash(*)'`) — only the task's specific commands.
- Don't work around the profile: `--profile` and `--force` — only at the operator's direct request (`--force` does
  not unlock a disabled manual lane, bypass a profile's `max_open` or a spend limit).
- Don't ask for, post in chat or store API keys — the profile holds only the variable name.
Pliki w paczce (9)
  • SKILL.md 12 KB
  • reference/budget.md 15 KB
  • reference/lead.md 5 KB
  • reference/manual.md 13 KB
  • reference/profiles.md 7 KB
  • reference/quota.md 2 KB
  • reference/settings.md 12 KB
  • reference/spend.md 16 KB
  • reference/usage.md 3 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · orwrkr/lanewise90MIT
kriegcloud/beep-effect100Apache-2.0
zahidakhyar/skills100MIT
jkaloger/lazyspec100MIT
superset-sh/superset100MIT
boshu2/agentops100Apache-2.0
Ovich/charrette100MIT
matthew-eth724/orchestrate100MIT
nickthelegend/nick-skills100MIT

Migawka bazy z 13.11.2026 · wersja paczki 979fc452f4d2 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100orchestrate-agents
    Koordynuje pracę projektową między Codex, Claude Code i Google Antigravity: dobiera modele, wznawia czaty i śledzi postępy.
  • 95lov-check-balance
    Jednym poleceniem pokazuje pozostały limit i czas resetu kont agentów (Claude, Codex, DeepSeek): okna subskrypcji, salda API, lokalne zużycie bramy i tempo wydawania.
  • 87ds-delegate
    Przekazuje zadanie kodowe do modelu DeepSeek przez claude-ds, w tle lub w osobnym worktree, i sprawdza wynik przed scaleniem.
  • 100add-llm-model
    Prowadzi przez dodanie nowych dostawców i modeli LLM, takich jak OpenAI, Codex czy DeepSeek, do projektu.
  • 100t3-orchestrator
    Rozdziela wdrażanie ustalonych zmian na wątki potomne w T3 Code, dobierając dostawcę, model i wysiłek do każdego zadania.
  • 100codex-orchestrate
    Orkiestruje w Claude Code duży plan wieloetapowy, delegując implementację do Codex CLI przez agents-bridge, po poleceniu /codex-orchestrate.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.