Drain — Git skill for Claude Code
Drain the open backlog at maximum throughput — batch issues into waves, one wave PR merged GREEN per cycle (skill: wave-drain).
How to install Drain
Installs to ~/.claude/commands/lucadominici-arbiter-drain.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/LucaDominici/arbiter/HEAD/.claude/commands/drain.md -o ~/.claude/commands/lucadominici-arbiter-drain.md Restart Claude Code, or start a new session, for it to be picked up.
What Drain does
description: Drain the open backlog at maximum throughput — batch issues into waves, one wave PR merged GREEN per cycle (skill: wave-drain) argument-hint: '[--wave-size N] [--max-parallel N]' title: '/drain' doc_version: '2.0.0' status: active last_review: '2026-07-10' owner: '' canonical_id: '' tags: ['audience/agent', 'audience/dev', 'kind/internal', 'kind/orchestration'] related: ['ship', 'wt-open']
/drain
`/drain` is the **wave orchestration entrypoint**. It drains the open backl
Alternatives in Git
- Clean Worktrees (Automatic) — Automatically remove all worktrees for branches merged into master 25.5k ★
- Triage Issues — Triage open GitHub issues — split into bugs vs features, rank by severity/opportunity, and flag under-specifie 12.6k ★
- Triage Open Pull Requests — Review, label, and act on all open PRs for a repository using parallel review agents 10.8k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Process Issues
Drain the open issue queue with parallel worktree subagents into an integration branch, gate the combined bran
Autonomy On
Drain a repo's ready product backlog end to end without asking — pick, build, review and merge slices one at a
Consolidate Issues
Review every open issue against git history, close what's already done or stale, migrate the legacy ones, slim
Triage Backlog
Grooms open GitHub issues - finds completed work, updates task lists, improves labels
Worklane
Open-source harness for running a crew of Claude agents on a real codebase: parallel workers, an independent e
Ship Issue
Take one or more GitHub issues/stories from open → reviewed PR (→ merged, opt-in) autonomously — worktree, sub
Related Agents
Taskmaster
Maintain docs/todos.md as the canonical Gemma-Code progress tracker. Reads recent commits, open issues, merged
Backlog Generator
Autonomous backlog generator that analyzes project state (open issues, PRs, code health) when agent slots are
Backlog Hygiene
Identify open GitHub issues that should be closed — resolved by commits, made obsolete by product decisions, o