Skip to content

team-attention/code-squad

Repository files navigation

Code Squad

Immersive multi-agent coding.

demo.mp4

Open VSX Downloads GitHub Stars License


Two Ways to Use

VSCode Extension CLI
What Multi-agent session manager Worktree manager
Install Search "Code Squad" in Extensions npm install -g code-squad-cli
Use Manage threads, review diffs, inline feedback csq — create/switch/delete worktrees

VSCode Extension

Manage AI agents in parallel. Isolated worktrees. Inline feedback. All in one sidebar.

Install

  1. Open Extensions (Cmd+Shift+X)
  2. Search "Code Squad"
  3. Click Install

Or download from Open VSX

Quick Start

  1. Start a Thread — Click + in sidebar. Pick Local or Worktree isolation.
  2. Run AIclaude, codex, gemini, or opencode
  3. Review — See all changes in the panel
  4. Feedback — Select lines, comment, submit directly to AI

Features

Feature Description
Thread Management Multiple AI agents in isolated workspaces
Worktree Isolation Each thread gets its own git worktree
Diff View File-by-file or grouped by function/class
Inline Comments Select → Comment → Send to AI
Auto-Detect Detects claude, codex, gemini, opencode

Settings

Setting Default Description
codeSquad.autoDetect true Auto-detect AI tools
codeSquad.autoShowPanel true Open panel when AI detected
codeSquad.worktreeCopyPatterns [] Files to copy to worktree (e.g., .env*)

CLI

Manage worktrees from terminal. Create, switch, delete—without leaving your shell.

Install

npm install -g code-squad-cli

Usage

csq           # Interactive mode - select/create/delete worktrees
csq new       # Create new worktree
csq list      # List all worktrees
csq quit      # Exit current worktree
csq -p        # Persistent mode - stay in menu after action

Flip (File Viewer)

csq flip              # Open browser UI for current directory
csq flip /path/to/dir # Open for specific directory
csq flip setup        # Setup iTerm2 hotkey (optional)

Config

Create ~/.code-squad/config.json:

{
  "projects": {
    "/path/to/project": {
      "worktreeCopyPatterns": [".env*", "config/**"]
    }
  }
}

Supported AI Tools

Tool Command
Claude Code claude
Codex CLI codex
Gemini CLI gemini
OpenCode opencode

Links

GitHub · Issues · Changelog


MIT License