Skip to content
Skills Library
Programming · Automation

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.

Licence
MIT
Last repository change
31.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 31.10.2026, without references to retired models or APIs.

Licence

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

  1. Inputs
  2. Preflight and launch
  3. Safety and handoff
Original SKILL.md headings · 51 lines, 400 words
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…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.