milwil-2

Swe2 — Git skill for Claude Code

Git community

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

Terminal
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.

  1. Pick the worktree. Dispatch is refused anywhere but the root of a linked git worktree, so identify one t

Alternatives in Git

Full documentation available on GitHub

View Source Repository