Skill v1.0.0
currentLLM-judged scan90/100version: "1.0.0" name: omt-setup description: Set up, configure, or update omt in T3 Code. Use when the user asks to set up omt, configure omt, update omt, change the models or roles, add or change a profile, pick the harnesses (Claude Code, Codex), or move to a new default set. Runs the omt CLI, shows each change first, and asks before each write.
Setup
You configure omt for the user through the omt CLI. You write only through an omt command or a config file edit that the user approved. T3 tools appear here by base name; your harness may add a prefix, such as mcp__t3-code__orchestrator_capabilities.
The CLI and the skills serve people and agents. Each command prints text for a person, and the report commands also print JSON with --json. Show the user the text form. Read the --json form when you need one field.
Write rules
Every step that writes follows these rules:
- Show the command, or the planned edit, before you run it.
- When the command has
--dry-run, run it with--dry-runfirst and show the output. - Ask the user. Pass
--yes, or make the edit, only after the user agrees. - After the write, run the check of the step.
Steps
Run steps 1 and 2 first. Then run the steps that the request names. For a plain "set up omt", run steps 3, 4, and 5 in order. End with step 8.
1. Find the CLI and your mode
Follow The CLI. Below, omt means the command that you found, such as .omt/bin/omt. When no CLI exists, the user installs it first: follow the agent quick start, which asks the user for a channel.
When you have the T3 tools, call t3_thread_configuration with no threadId and read your interactionMode. In plan mode, run only the read commands, list the write commands for the user, and ask the user to switch the thread to default mode.
Done when: omt --version prints a version, and you know your mode.
2. Read the doctor
Run omt doctor --project for a project install, or omt doctor for a global install. Read each line. Map each line that is not PASS to a step:
| Line | Step | |
|---|---|---|
harnesses | 3 | |
defaults | 4 | |
worktree | 5 | |
config | 6 | |
skills with outdated, or hooks | 7 |
For another WARN or FAIL line, tell the user the fix that the line prints.
Done when: each line that is not PASS has a step or a fix, and you told the user which steps you propose.
3. Fit the roles to the harnesses
The commands below use --project, which targets the project config. For the user config of a global install, put --user in its place. Pass the same flag to every detect command of this step, the reads included, so that each command reads and writes the same file.
When you have the T3 tools, call orchestrator_capabilities and save its full JSON result to one temp file, such as a path that mktemp prints. Pass that file to every detect command of this step:
omt detect --capabilities <file> --project. Read the line of each driver and the effect lines, such asdesign and ui: unavailable without claudeAgent.- When the output recommends a change:
omt detect --capabilities <file> --write --project --dry-run. Show the output and ask. - After the user agrees:
omt detect --capabilities <file> --write --project --yes. - The check:
omt detect --capabilities <file> --project, thenomt roles --capabilities <file>.
Without the T3 tools, run the same four commands without --capabilities <file>. Tell the user that this detection reads the T3 settings file and PATH, and does not see a provider that T3 enables for one project only.
When omt detect exits 1 because it detects no driver, ask the user to sign in to Claude Code or Codex and enable it in T3 Settings, Providers. Then run this step again.
Done when: step 1 recommends no change, or the check recommends no further change after the write; and omt roles shows each role as the effect lines said, for example design and ui as unavailable without claudeAgent.
4. Pin the default set
omt defaults list. Read the selected set and its source.omt defaults diff. Explain each<path>: <from> -> <to>line. A line that ends in(overridden by <file>)changes nothing for the user, because the user's file sets that value.- When the selected set is not pinned in a file, or is older than the latest set:
omt defaults use latest --project --dry-run. Show the output and ask. - After the user agrees:
omt defaults use latest --project --yes.
Use --user in place of --project for a global install. When the target file is absent, the command prints run omt init or run omt config init; ask the user before you run that command.
Done when: omt defaults list shows the set that the user chose as selected, with a config file as its source, and omt config validate exits 0.
5. Set up worktrees
Follow worktrees.md on the first omt run in a project, or when the doctor prints a worktree line that is not PASS.
Done when: you finished each step of worktrees.md that applies to this checkout.
6. Change a profile or a role
- Run
omt config path. Use the project file for one project, and the user file for all projects. When the file is absent, proposeomt init(project) oromt config init(user), and ask. - Read the file and
omt config show --defaults. Write the planned JSONC edit as the new block, with its key path. Keep the rules of the configuration guide: a new role needsdescription,access, andchain; a new profile needsdescription; achainreplaces the old chain as a whole;nullremoves a role;"profile": "<name>"selects the default profile. - Show the edit and ask. After the user agrees, make the edit and keep every other byte of the file, comments included.
- The check:
omt config validate, thenomt profile show <name>for the profile that the change affects.
Done when: omt config validate exits 0, and omt profile show <name> shows the new values.
7. Update omt
- Update the CLI with the update command of its channel, from Update omt. Show the command and ask. A one-shot install needs no update command.
- Run the install command of the channel again, with the flags of the first install. Run it with
--dry-runfirst, then with--yesafter the user agrees. Add--capabilities <file>when you have the file from step 3. For example:omt install --project --hooks --yes --capabilities <file>. For a one-shot install, add the new version, such asnpx omt3@<version> install --project --yes. - Run
omt defaults diffand explain each line. When the user wants the new set, run step 4. - The check:
omt doctor --projectfor a project install, oromt doctorfor a global install, as in step 2. Tell the user to close the T3 threads of this project and start new ones, because a running session keeps the old skills.
Done when: the doctor command of item 4, with the scope of the install, prints a PASS line for skills, and the user knows to start new threads.
8. Report
Tell the user each file and key that changed, each command that wrote, the result of its check, and each proposed step that the user declined.
Done when: each write of this run is in the report with its check result.