Swe2 — Git skill for Claude Code
Dispatch a bounded task to a SWE-2 agent inside a task-owned git worktree, then verify what it produced.
How to install Swe2
Installs to ~/.claude/skills/milwil-2-claude-swe2-dispatch-swe2/SKILL.md
mkdir -p ~/.claude/skills/milwil-2-claude-swe2-dispatch-swe2 && curl -fsSL https://raw.githubusercontent.com/milwil-2/claude-swe2-dispatch/HEAD/commands/swe2.md -o ~/.claude/skills/milwil-2-claude-swe2-dispatch-swe2/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Swe2 does
description: Dispatch a bounded task to a SWE-2 agent inside a task-owned git worktree, then verify what it produced. argument-hint: allowed-tools: ["Bash(${CLAUDE_PLUGIN_ROOT}/bin/swe2-dispatch.sh:*)", "Bash(${CLAUDE_PLUGIN_ROOT}/bin/swe2-doctor.sh:*)", "Read", "Glob", "Grep"]
Dispatch this task to a SWE-2 agent: $ARGUMENTS
Do it in this order.
- Pick the worktree. Dispatch is refused anywhere but the root of a linked git worktree, so identify one t
Alternatives in Git
- Git Worktree Docs Issue: Dependency Installation — GitHub — Community feedback on official docs with full worktree lifecycle walkthrough 81.1k ★
- Push And Release — Git pull, resolve conflicts, push, fix hook errors, then release 1.6k ★
- Codexia — Agent Workstation for Codex CLI + Claude Code — with task scheduler, git worktree & remote control, skills man 638 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Worktree Tasks
Implement each task in a separate git worktree with an opus subagent then sequentially merge and commit them b
Hybrid Complete
Complete Hybrid Ralph task in worktree, verify all stories complete, commit code changes (excluding planning f
Check CI
Token-free PR merge-gate watcher — one process loops inside gh pr checks --watch --fail-fast, then verifies ze
Mega
Turn a multi-objective destination into a sequenced roadmap of dependent sub-goals: decompose, front-load ever
Gsd Beads
Beads (bd) issue-tracking plugin for gsd-core's plan→execute→verify→ship lifecycle — makes bd the durable, git
Hub Fanout
Fan out N GitHub issues into N worktree-bound tasks + a parallel Agent dispatch directive.
Related Agents
Swe2 Runner
Dispatches a bounded implementation task to an external SWE-2 agent (Cognition devin CLI) inside a named workt
Tm Implementer
Implements exactly one planned task inside its own git worktree, restricted to a declared file set, and return
Flowai Autonomous Task
Autonomous end-to-end task executor. Runs the full flowai pipeline without interactive prompts inside an isola