nicosuave

Rex Launch — Git skill for Claude Code

Git community

A composer popup for Rex that starts Claude Code or Codex in a new git worktree.

How to install Rex Launch

This entry records only its repository, not the path inside it, so there is no exact command to give. Open nicosuave/rex-launch and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Rex Launch does

A composer popup for Rex that starts Claude Code or Codex in a new git worktree.

Alternatives in Git

README

rex-launch

A composer popup for [Rex](https://www.superlogical.com/rex/docs). Write a prompt, pick a project and an agent, and press Return: rex-launch opens a tab in the project's Rex session that creates a git worktree with [worktrunk](https://worktrunk.dev) and starts the agent in it with your prompt.

![rex-launch composer with project, connection, and model selectors](docs/screenshot.png)

Install

You need [Rex](https://www.superlogical.com/rex/docs), and on every machine you launch tasks on: `git`, [worktrunk](https://worktrunk.dev) (`wt`), and [Claude Code](https://docs.anthropic.com/en/docs/claude-code) or [Codex](https://github.com/openai/codex).

brew install nicosuave/tap/rex-launch    # or: cargo install --git https://github.com/nicosuave/rex-launch
rex-launch setup

The Homebrew formula also installs worktrunk.

`rex-launch setup` copies [`lua/rex-launch.lua`](lua/rex-launch.lua) beside Rex's `init.lua`, adds this line to `init.lua` once, and reloads Rex:

require("rex-launch").setup{ bin = "/Users/you/.cargo/bin/rex-launch" }

Then press **Cmd+Shift+N**, or run **rex-launch: new task** from the command palette. `setup` also takes `key` (a different shortcut, or `false` for none) and `columns`/`rows` (the popup's size in cells). Run `rex-launch setup` again after upgrading to refresh the module.

To have Rex switch to the new tab on its own, turn on **Remote Control** in Rex's settings under Rex Server. Without it the tab is still created.

How it works

  1. The new_task action opens rex-launch in a floating layer over the current tab, sized from the focused pane.
  2. On submit, rex-launch finds the Rex session labeled with the project's name (creating it if needed) on the project's host, and opens a tab named after the branch.
  3. The tab fetches the remote's default branch, runs wt switch --create BRANCH --base origin/HEAD-target --no-cd, then starts the agent in the new worktree. When the agent exits,