launch
1
总安装量
1
周安装量
#77043
全站排名
安装命令
npx skills add https://github.com/langwatch/langwatch --skill launch
Agent 安装分布
amp
1
cline
1
opencode
1
cursor
1
continue
1
kimi-cli
1
Skill 文档
Launch
Spin up parallel worktrees with tmux + Claude sessions for one or more GitHub issues.
Arguments
$ARGUMENTS is a space-separated list of issue numbers (with or without #). Example: /launch #1766 #1768 1769
Steps
1. Parse issue numbers
Extract all numeric issue IDs from $ARGUMENTS. Strip # prefixes.
2. For each issue, create a worktree
Use the repo’s scripts/worktree.sh logic (but don’t exec into a shell):
git fetch origin- Fetch issue title:
gh issue view <N> --repo langwatch/langwatch --json title --jq '.title' - Generate slug: lowercase, replace non-alphanumeric with hyphens, collapse, trim, max 50 chars at word boundary
- Branch:
issue<N>/<slug> - Directory:
.worktrees/issue<N>-<slug> - Skip if directory already exists (report it, don’t error)
- Create worktree:
- If branch exists on remote:
git worktree add "$DIR" "$BRANCH" - Otherwise:
git worktree add -b "$BRANCH" "$DIR" origin/main
- If branch exists on remote:
- Copy
.env*files from.,langwatch/, andlangwatch_nlp/into the worktree
3. Create tmux sessions
For each worktree:
- Session name = directory basename (e.g.,
issue1766-multi-select-scenarios-should-show-hover-menu) tmux new-session -d -s "$SESSION" -c "$WORKTREE_PATH"- Skip if session already exists
4. Launch Claude in each session
For each session, use this exact sequence (the sleep + double-Enter pattern is critical â Claude’s TUI swallows the first Enter during startup):
# Start Claude
tmux send-keys -t "$SESSION" "claude --dangerously-skip-permissions" Enter
# Wait for Claude to fully load
sleep 10
# Send the command text WITHOUT Enter
tmux send-keys -t "$SESSION" "/implement #<N>"
sleep 1
# Send Enter separately â twice, because the first may be swallowed
tmux send-keys -t "$SESSION" Enter
sleep 1
tmux send-keys -t "$SESSION" Enter
Do NOT combine the message and Enter in one send-keys call (e.g., send-keys "text" Enter). Send them separately with sleeps.
5. Report summary
Print a table of all sessions created:
| Session | Branch | Issue |
|---------|--------|-------|
| <session-name> | <branch> | <issue-title> |
And remind the user they can:
tmux attach -t <session>to check on a sessionorchardto see all worktrees in the TUI