worktree-task-launcher
/worktree-task-launcher
Launch a canonical FX Workbench task in its own Git worktree and tmux window with an interactive fx agent. Use when asked to fork, launch, delegate, or start a task from a durable packet.
- Author
- jarneson ↗
- Repository
- fx-workbench ↗
- Licence
- MIT
- Last repository change
- 31.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 31.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Launch a canonical FX Workbench task in its own Git worktree and tmux window with an interactive fx agent. Use when asked to fork, launch, delegate, or start a task from a durable packet.
Original author description
Launch a canonical FX Workbench task in its own Git worktree and tmux window with an interactive fx agent. Use when asked to fork, launch, delegate, or start a task from a durable packet.
How it works
- Inputs
- Preflight and launch
- Safety and handoff
SKILL.md preview
---
name: worktree-task-launcher
description: Launch a canonical FX Workbench task in its own Git worktree and tmux window with an interactive fx agent. Use when asked to fork, launch, delegate, or start a task from a durable packet.
---
# Worktree task launcher
Launch one canonical task packet through FX Workbench. The command owns branch, worktree, tmux, dependency, and prompt delivery decisions; do not recreate those steps in shell glue.
## Inputs
Resolve these before launching:
- A canonical task packet, located by stable task ID.
- The project when the task ID is not globally unambiguous.
- An optional branch override when the user does not want the branch stored in the packet.
If the request is only an informal description, use the `obsidian-planner` workflow to create a self-contained task packet first. Do not launch from chat-only context.
## Preflight and launch
Read the packet and inspect the target repository before launching. Confirm its repository, branch, assumptions, and current status are still correct. Never reset, delete, or reuse a dirty worktree to make preflight pass.
Run the non-mutating preflight first:
```bash
fx-workbench launch --dry-run [--project <project>] [--branch <branch>] <task-id>
```
If the plan is correct, launch through the same command:
```bash
fx-workbench launch [--project <project>] [--branch <branch>] <task-id>
```
Workbench then:
1. Resolves the canonical packet, repository, branch, worktree, workstream session, and coding profile.
2. Requires the main checkout to be clean, fetches `origin/main`, fast-forwards local `main`, and verifies equality.
3. Creates a new linked worktree under `${FX_TASK_WORKTREE_ROOT:-$HOME/dev/worktrees}`.
4. Starts dependency installation and the task fx agent concurrently.
5. Creates a task window in the workstream's tmux session and waits for the fx lifecycle bridge to become ready.
6. Sends the coding profile, complete task packet, and worker guidance as one prompt.
7. Records dependency completion or failure on the task pane and reports any partial resources if launch fails.
Repositories without `package.json` skip dependency installation. JavaScript repositories use the pinned `packageManager`, or `npm install` when it is absent. `FX_TASK_INSTALL_COMMAND` overrides automatic installation for repositories with another setup command.
## Safety and handoff
- Treat branch, worktree, task-window, and session identity conflicts as blockers. Do not delete or repurpose existing resources automatically.
- The launched agent works only in the new task worktree and must not create another branch or worktree.
- The launched agent must not commit, push, or open a pull request unless the user explicitly requests it.
- Wait for `tmux show-options -p -v @fx_install_state` to report `complete` before dependency-sensitive commands. If it reports `failed`, diagnose that installation before continuing.
- Keep the task packet as durable coordination state and update status through `fx-workbench status`.
Versions
The database has no other skills named worktree-task-launcher.
Database snapshot: 13.11.2026 · package version b0401abe2556 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 95tmux-start
Start issue work in a new tmux window with its own worktree. Use when the user has tmux running and wants issue startup to continue outside the current session. SKIP when not inside a tmux session ($TMUX unset) or when the user wants to work in the current session; use start-issue directly. - 96tmux
Use when a CLI task needs an interactive terminal or control of a tmux session. - 100internal-dev-workbench
Spin up a portless + tmux dev session for the Workflow SDK that gives each git worktree isolated `<branch>.<name>.localhost` URLs for the Next.js workbench and the observability UI, plus a Claude statusline that surfaces those URLs. Use only when the user asks for a "portless… - 100worktree-new
Create a task worktree with `aidrian worktree new` and run the project's bootstrap. Use when a task needs one. - 100session
Worktree and session management. Use for "new session", "worktree", "tmux", and "session management". - 100using-git-worktrees
Git worktree management with tmux integration and task dispatch. Use when creating isolated dev environments, launching parallel feature work, running multiple Claude instances, managing worktrees, dispatching tasks to worktree terminals, or cleaning up after merge. Covers…