**Analyze:** Gather information about local branches, worktrees, and remote status.
**Group:** Identify and group related branches by shared prefixes and commit history.
**Categorize:** Classify branches as safe to delete, squash-merged, superseded, or active.
**Present:** Display a comprehensive analysis with deletion recommendations.
**Confirm:** Obtain explicit user confirmation before proceeding with any deletions.
**Execute:** Run deletion commands with appropriate flags (-d or -D).
**Report:** Summarize the cleanup operation and remaining branches.