← ClaudeAtlas

marathonlisted

Run a list of work units to completion with an Agent Team: derive a dependency DAG and hot-file map, spawn one ephemeral teammate per unit (or combined group), drive each PR through pr-review-merge, smart-merge in waves, recover from crashes, and run a retrospective. Source-agnostic — the caller supplies a work-source adapter. A library skill invoked BY the /tm and /issues commands, not run directly by a user (it needs a caller-supplied adapter). TRIGGER when a command needs autonomous multi-unit team orchestration to completion — a tag, issue queue, backlog, or set of tickets run to done with Agent Teams. For a single PR use pr-review-merge instead; not for one-off single-task work.
bjcoombs/ai-native-toolkit · ★ 30 · AI & Automation · score 77
Install: claude install-skill bjcoombs/ai-native-toolkit
<!-- floor:cold-verify-completion --> # Marathon Engine Source-agnostic team orchestration. The caller supplies a **work-source adapter**; this skill owns DAG analysis, hot-file combining, team lifecycle, waves, crash recovery, and the retrospective. It uses the `pr-review-merge` skill for every PR. ## Work-Source Adapter Contract The calling command MUST fill these four operations before invoking this skill: | Operation | What it returns / does | |-----------|------------------------| | **enumerate** | A list of work units, each `{id, title, requirements, dependencies[], complexity}` | | **mark in-progress** | Marks one unit started in the source of truth | | **close on merge** | How a merged PR closes the unit (e.g. a label, a status set, or PR `Closes #N`) | | **branch / worktree** | The branch name and `worktree/<...>` path convention for a unit | The caller also passes Marathon Configuration values (base branch, required approvals, bot-reviewer rules, CI patterns) read from the project's CLAUDE.md. ## Phase 0: Capability Detection ```bash # Agent Teams echo $CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS ``` Set `$TEAMS_AVAILABLE` (`true` if result is `"1"`). ### Project-Specific Configuration Read the repo's CLAUDE.md for a `## Marathon Configuration` section. This provides project-specific overrides for marathon behavior. Extract these values (with defaults if section is missing): | Setting | Default | Description | |---------|---------|-------------| | `$BASE_BRANCH