Boatman Ecosystem documentation is live!
BoatmanMode CLI
Usage

Usage

Execute a Task

BoatmanMode supports three input modes:

cd /path/to/your/project
 
# 1. Linear ticket (default)
boatman work ENG-123
 
# 2. Inline prompt
boatman work --prompt "Add a health check endpoint at /health"
 
# 3. File-based prompt
boatman work --file ./tasks/authentication.md
 
# With custom title and branch
boatman work --prompt "Add auth" --title "Authentication" --branch-name "feature/auth"

Command Options

boatman work ENG-123 --max-iterations 5        # More refactor attempts
boatman work ENG-123 --base-branch develop     # Different base branch
boatman work ENG-123 --dry-run                 # Preview without changes
boatman work ENG-123 --review-skill my-review  # Use custom review skill

All Flags

FlagDescriptionDefault
--promptInline prompt text
--fileRead prompt from file
--titleOverride task title (prompt/file mode)Auto-extracted
--branch-nameOverride branch name (prompt/file mode)Auto-generated
--max-iterationsMax review/refactor iterations3
--base-branchBase branch for worktreemain
--auto-prAutomatically create PR on successtrue
--dry-runRun without making changesfalse
--timeoutTimeout in minutes for each Claude agent60
--review-skillClaude skill for code reviewpeer-review
--resumeResume interrupted workflow from checkpointfalse

Watch Claude Work (Live Streaming)

Open a second terminal and run:

boatman watch

Or attach to specific tmux sessions:

tmux attach -t boatman-executor
tmux attach -t boatman-reviewer-1
tmux attach -t boatman-planner

What You'll See

Claude is working (with file write permissions)...
Activity will stream below:

Running: ls -la src/
Reading: src/api/handlers/users.go
Editing: src/api/handlers/auth.go
Writing: src/api/handlers/auth_test.go
Searching files...

Task completed!

tmux Controls

KeyAction
Ctrl+B then DDetach from session
Ctrl+B then arrow keysSwitch panes

Session Management

boatman sessions list       # List active sessions
boatman sessions kill       # Kill all boatman sessions
boatman sessions kill -f    # Also kill orphaned claude processes
boatman sessions cleanup    # Clean up idle sessions

Worktree Management

boatman worktree list                    # List all worktrees
boatman worktree commit                  # Commit changes (WIP)
boatman worktree commit wt-name "msg"    # Commit with message
boatman worktree push                    # Push branch to origin
boatman worktree clean                   # Remove all worktrees

Viewing Changes Manually

# Navigate to the worktree
cd .worktrees/philmiddleton-eng-123-feature
 
# Inspect changes
git status
git diff
 
# Commit and push
git add -A
git commit -m "feat: implement feature"
git push -u origin HEAD

Checkpoint Management

# Resume an interrupted workflow
boatman work ENG-123 --resume
 
# View checkpoint history
git log --oneline --grep "\[checkpoint\]"
 
# Create a snapshot branch
boatman checkpoint snapshot "before-refactor"
 
# Squash checkpoint commits before PR
boatman checkpoint squash "feat: implement feature ENG-123"

Rollback Scenarios

# Undo last refactor attempt
git reset --hard HEAD~1
 
# Go back to before review started
boatman checkpoint rollback --step execution
 
# Restore from snapshot branch
git checkout checkpoint/ENG-123/before-review -- .

Debug Mode

For detailed structured logging:

export BOATMAN_DEBUG=1
boatman work ENG-123

This outputs structured logs showing:

  • Retry attempts and delays
  • Dropped messages
  • Context cancellation
  • Coordinator state changes