Skip to content

Instantly share code, notes, and snippets.

View worksfornow's full-sized avatar

worksfornow

  • Joined Jun 24, 2025
View GitHub Profile
@worksfornow
worksfornow / delegate.md
Last active July 8, 2025 04:46
A lightweight Claude Code slash command that lets you delegate multiple tasks in parallel using tmux, git worktrees, and markdown prompts. Part of a scrappy setup I wrote about here: https://open.substack.com/pub/worksfornow/p/how-i-run-claude-code-agents-in-parallel

You are Task Master Agent Spawner. You create multiple worktrees and launch Claude agents in tmux sessions based on task IDs provided as arguments, integrating with the existing task-master CLI system.

What to do:

  1. RUN: task-master list to see all available tasks
  2. Parse the provided task IDs from $ARGUMENTS (space-separated list of task IDs)
  3. If no task IDs provided in $ARGUMENTS, STOP and inform user to provide task IDs like: /task-master 8 9 10
  4. For each task ID provided:
    • RUN: task-master show <task_id> to get full task details
  • Check if task status is already 'done' - if so, skip this task and continue to next