Delegate Setup
When to Use
- You want to configure which implementer CLI handles which kind of work (fleet lanes).
- You need to discover installed implementers and write lane config after user approval.
You are the orchestrator in setup mode. Discover installed implementer CLIs, propose a
fleet of lanes, and write configuration only after the user approves.
This skill does not dispatch coding work. It only authors the lane map.
One concept: lanes. Never say “routes.”
Example lane: feature → implementer opencode, model opencode/grok, variant high
(OpenCode uses variant for reasoning intensity, not effort).
When NOT to use this
- The user wants a task implemented — use the matching
*-delegate skill instead.
- A one-off model change on a single dispatch — pass
--model / --effort / --variant on that relay.
Hard rules
- Every lane must include
implementer.
- Put dials on the same object (
model, effort or variant, …) only if that implementer supports them — see references/schema.md.
- Show a human-readable lane table and the full JSON before every write; re-show after every tweak.
- Write only after an explicit approval (“yes”, “approve”, “write it”).
- Ask scope unless already clear: global (all projects) vs this repo only. Never create a project file just because cwd is a git repo. If there is no git repo, default to global and say so.
- Do not invent model identifiers.
- In interview or usage-scan mode, never write any dial the user did not give you and the schema does not require — omit it, so the CLI’s or relay’s own default applies.
- Prefer 3–5 useful lanes over a kitchen-sink map.
- Never edit
AGENTS.md, CLAUDE.md, or other user agent-instruction files.
- Never run a
*-delegate relay from this skill.
(<skill-dir> is this skill’s install directory — the folder that contains this SKILL.md.)
Flow
discover → load → grounding menu → propose (with Basis) → scope → approve → write
1. Discover
node "<skill-dir>/scripts/discover.mjs"
Summarize installed vs missing, auth (true / false / null = unknown), and whether models were
reported, aliases (curated aliases in the registry, not live discovery — full model names also
work), unsupported, or failed.
2. Load existing (effective map)
node "<skill-dir>/scripts/config.mjs" load --cwd "$PWD"
- Neither present → “No lanes configured yet.”
- Otherwise → table of effective lanes with a Source column (
global / project). Do not paste
both raw files unless asked.
- If
projectPresent is true and projectTrusted is false, label the project lanes untrusted.
They cannot dispatch until the user reviews and approves a project write.
3. Propose
Discovery reports capability, never task fit. So ask one grounding question before proposing
anything — one question, three options, not a wizard:
How should I pick the lanes? (1) Quick defaults — I decide, no questions.
(2) Interview — about four questions on how you want work allocated.
(3) Usage scan — I re-read your CLIs’ local session folders (counts and dates only, never the
conversations) and let the numbers place your lanes — if one CLI dominates, expect one question
about its role. Happy to do 2 and 3 together.
- Quick defaults → propose immediately.
- Interview → the four questions (allocation policy, never model rankings) and how to ask them
(one medium per round) live in references/setup-dialogue.md — read
it before you ask.
- Usage scan →
node "<skill-dir>/scripts/discover.mjs" --usage. Tell the user it is metadata
only before running it. Each discovered CLI gains usage: { sessions, lastUsed }; null means no
probe is wired — unknown, not unused.
- Both → run the scan first, then ask only what the numbers cannot answer.
- Inside a git repo, repo signals (languages, test weight, frontend share) are a fourth source of
evidence. They do not change the menu; they feed the proposal and the
repo basis.
That menu is also the consent surface — the option chosen sets how much of the map is yours to
decide:
- Quick defaults — the user hired your opinion. A full map is legitimate, dials included; label
every lane
my opinion, say plainly that the map is your opinion, and keep it cheap to revise.
- Interview / usage scan — evidence modes, so every dial is gated (rule 7): set one only from
the user’s answer, or where the schema requires it (opencode lanes require
model). Omitting is
always safe — every dial has a default the user already lives with, and a CLI’s configured default
is their standing choice, better evidence than your priors. Choosing which installed implementer
gets a lane is still yours — Basis my opinion — but a dial that raises spend is not: offer your
dial picks only as an add
1---2name: delegate-setup3description: Configure approved delegation lanes across installed implementer CLIs, including optional model and effort choices, then write global or project config only after explicit user approval. 4category: AI & Agents5source: antigravity6tags: [node, claude, ai, agent, security, cro]7url: https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/delegate-setup8metadata:9 source: https://skillmd.com/skills/sickn33/delegate-setup10---1112# Delegate Setup1314## When to Use1516- You want to configure which implementer CLI handles which kind of work (fleet lanes).17- You need to discover installed implementers and write lane config after user approval.1819You are the **orchestrator** in **setup mode**. Discover installed implementer CLIs, propose a20**fleet of lanes**, and write configuration only after the user approves.2122This skill does **not** dispatch coding work. It only authors the lane map.2324One concept: **lanes**. Never say “routes.”2526Example lane: **feature** → implementer `opencode`, model `opencode/grok`, variant `high`27(OpenCode uses `variant` for reasoning intensity, not `effort`).2829## When NOT to use this3031- The user wants a task implemented — use the matching `*-delegate` skill instead.32- A one-off model change on a single dispatch — pass `--model` / `--effort` / `--variant` on that relay.3334## Hard rules35361. Every lane **must** include `implementer`.372. Put dials on the same object (`model`, `effort` or `variant`, …) only if that implementer supports them — see [references/schema.md](references/schema.md).383. Show a human-readable lane table **and** the full JSON before every write; re-show after every tweak.394. Write **only** after an explicit approval (“yes”, “approve”, “write it”).405. Ask scope unless already clear: **global** (all projects) vs **this repo only**. Never create a project file just because cwd is a git repo. If there is no git repo, default to global and say so.416. Do not invent model identifiers.427. In interview or usage-scan mode, never write **any** dial the user did not give you and the schema does not require — omit it, so the CLI’s or relay’s own default applies.438. Prefer 3–5 useful lanes over a kitchen-sink map.449. Never edit `AGENTS.md`, `CLAUDE.md`, or other user agent-instruction files.4510. Never run a `*-delegate` relay from this skill.4647(`<skill-dir>` is this skill’s install directory — the folder that contains this `SKILL.md`.)4849## Flow5051`discover → load → grounding menu → propose (with Basis) → scope → approve → write`5253### 1. Discover5455```bash56node "<skill-dir>/scripts/discover.mjs"57```5859Summarize installed vs missing, auth (`true` / `false` / `null` = unknown), and whether models were60`reported`, `aliases` (curated aliases in the registry, not live discovery — full model names also61work), `unsupported`, or `failed`.6263### 2. Load existing (effective map)6465```bash66node "<skill-dir>/scripts/config.mjs" load --cwd "$PWD"67```6869- Neither present → “No lanes configured yet.”70- Otherwise → table of **effective** lanes with a Source column (`global` / `project`). Do not paste71 both raw files unless asked.72- If `projectPresent` is true and `projectTrusted` is false, label the project lanes **untrusted**.73 They cannot dispatch until the user reviews and approves a project write.7475### 3. Propose7677Discovery reports capability, never task fit. So ask **one** grounding question before proposing78anything — one question, three options, not a wizard:7980> How should I pick the lanes? **(1) Quick defaults** — I decide, no questions.81> **(2) Interview** — about four questions on how you want work allocated.82> **(3) Usage scan** — I re-read your CLIs’ local session folders (counts and dates only, never the83> conversations) and let the numbers place your lanes — if one CLI dominates, expect one question84> about its role. Happy to do 2 and 3 together.8586- **Quick defaults** → propose immediately.87- **Interview** → the four questions (allocation policy, never model rankings) and how to ask them88 (one medium per round) live in [references/setup-dialogue.md](references/setup-dialogue.md) — read89 it before you ask.90- **Usage scan** → `node "<skill-dir>/scripts/discover.mjs" --usage`. Tell the user it is metadata91 only before running it. Each discovered CLI gains `usage: { sessions, lastUsed }`; `null` means no92 probe is wired — unknown, not unused.93- **Both** → run the scan first, then ask only what the numbers cannot answer.94- Inside a git repo, repo signals (languages, test weight, frontend share) are a fourth source of95 evidence. They do not change the menu; they feed the proposal and the `repo` basis.9697**That menu is also the consent surface** — the option chosen sets how much of the map is yours to98decide:99100- **Quick defaults** — the user hired your opinion. A full map is legitimate, dials included; label101 every lane `my opinion`, say plainly that the map is your opinion, and keep it cheap to revise.102- **Interview / usage scan** — evidence modes, so **every** dial is gated (rule 7): set one only from103 the user’s answer, or where the schema requires it (opencode lanes require `model`). Omitting is104 always safe — every dial has a default the user already lives with, and a CLI’s configured default105 is their standing choice, better evidence than your priors. Choosing which installed implementer106 gets a lane is still yours — Basis `my opinion` — but a dial that raises spend is not: offer your107 dial picks only as an add