work
The `work` command dispatches tasks to Gastown AI agents by creating a task bead and routing it to one or more polecats for parallel execution. Use this to delegate work to single agents (claude/codex/gemini), run A/B tests with `--ab` to compare two agents, or distribute tasks to all three agents simultaneously with `--all`, receiving comparative results on feature branches.
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/maslennikov-ig/claude-code-orchestrator-kit/HEAD/.claude/commands/work.md -o ~/.claude/commands/work.mdwork.md
Dispatch a task to a Gastown AI agent. This is the primary way the user gives work to AI polecats. **Important**: Ensure `gt` and `bd` are in PATH, then `cd ~/gt` before running `gt` commands. **What you must do:** 1. Determine the rig name: ```bash RIG=$(basename "$(git rev-parse --show-toplevel)") ``` Verify the rig exists: `gt rig list | grep -q "$RIG"`. If not found, tell user to run `/onboard` first. 2. Parse `$ARGUMENTS`: - `--agent <name>` — use specific agent (claude/codex/gemini). Default: claude - `--ab` — A/B test: dispatch to claude AND codex in parallel - `--all` — dispatch to all 3 agents (claude, codex, gemini) in parallel - Everything else is the task description 3. Create a bead for the task: ```bash cd ~/gt/$RIG/mayor/rig && bd create --title "<task description>" --type task ``` Extract bead ID from output (format: `PREFIX-xxx`). 4. Sling the bead to polecat(s): **Single agent (default):** ```bash cd ~/gt && gt sling <bead-id> $RIG --agent <agent> ``` **A/B test (--ab):** dispatch same bead to 2 agents, each gets its own polecat: ```bash cd ~/gt && gt sling <bead-id> $RIG --agent claude --merge=local cd ~/gt && gt sling <bead-id> $RIG --agent codex --merge=local ``` **All agents (--all):** dispatch to all 3: ```bash cd ~/gt && gt sling <bead-id> $RIG --agent claude --merge=local cd ~/gt && gt sling <bead-id> $RIG --agent codex --merge=local cd ~/gt && gt sling <bead-id> $RIG --agent gemini --merge=local ``` Note: `--merge=local` keeps changes on feature branches so user can compare results. 5. Show convoy status: ```bash cd ~/gt && gt convoy list ``` 6. Report to user: bead ID, which agent(s) assigned, convoy status. **Examples:** ``` /work Fix the login validation bug Single agent (claude): creates bead, slings to polecat /work --agent codex Refactor the auth module Specific agent: slings to codex polecat /work --ab Optimize database queries A/B test: claude + codex work in parallel on same task /work --all Implement dark mode All 3 agents work in parallel, user picks best result ``` **Error handling:** - If `bd create` fails, show the error and stop - If `gt sling` fails, show the error but keep the bead (user can retry with `gt sling <id> $RIG`) - If no task description provided, ask the user what they want to work on - If rig not found, tell user to run `/onboard` first
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
Initialize Beads issue tracking in your project with interactive configuration setup.
Calculate priority score for bugs, issues, or tasks based on severity, impact, and likelihood. Use for bug prioritization, task ordering, or risk assessment.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.
Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.
Inline orchestration workflow for dead code detection and removal with Beads integration. Provides step-by-step phases for dead-code-hunter detection, priority-based cleanup with dead-code-remover, and verification cycles.