by marcus
Use sidecar next to CLI agents for diffs, file trees, conversation history, and task management with td
# Add to your Claude Code skills
git clone https://github.com/marcus/sidecarYou might never open your editor again.
Status: Ready for daily use. Please report any issues you encounter.
Documentation · Getting Started

Sidecar puts your entire development workflow in one shell: plan tasks with td, chat with AI agents, review diffs, stage commits, review past conversations, and manage workspaces—all without leaving Sidecar.
brew install marcus/tap/sidecar
This builds from source and avoids macOS Gatekeeper warnings.
curl -fsSL https://raw.githubusercontent.com/marcus/sidecar/main/scripts/setup.sh | bash
More options: Binary downloads · Manual install
After installation, run from any project directory:
sidecar
Split your terminal horizontally: run your coding agent (Claude Code, Cursor, etc.) on the left and sidecar on the right.
┌─────────────────────────────┬─────────────────────┐
│ │ │
│ Claude Code / Cursor │ Sidecar │
│ │ │
│ $ claude │ [Git] [Files] │
│ > fix the auth bug... │ [Tasks] [Workspaces]│
│ │ │
└─────────────────────────────┴─────────────────────┘
No comments yet. Be the first to share your thoughts!
Tip: You can run two sidecar instances side-by-side to create a dashboard view. For example, keep one on the [Tasks] plugin and the other on [Git] or [Workspaces] to monitor everything at once.
As the agent works, you can:
This setup gives you visibility into what the agent is doing without interrupting your workflow. The entire dev loop—planning, monitoring, reviewing, committing—happens in the terminal while agents write the code.
# Run from any project directory
sidecar
# Specify project root
sidecar --project /path/to/project
# Enable debug logging
sidecar --debug
# Check version
sidecar --version
Sidecar checks for updates on startup. When a new version is available, a toast notification appears. Press ! to open the diagnostics modal and see the update command.
View staged, modified, and untracked files with a split-pane interface. The sidebar shows files and recent commits; the main pane shows syntax-highlighted diffs. Full documentation →

Features:
s/udvBrowse session history from multiple AI coding agents with message content, token usage, and search. Supports Amp Code, Claude Code, Codex, Cursor CLI, Gemini CLI, GitHub Copilot CLI, Kiro, OpenCode, Pi Agent, and Warp. Full documentation →

Features:
/Integration with TD, a task management system designed for AI agents working across context windows. TD helps agents track work, log progress, and maintain context across sessions—essential for AI-assisted development where context windows reset between conversations. Full documentation →

Features:
rSee the TD repository for installation and CLI usage.
Navigate project files with a tree view and syntax-highlighted preview. Full documentation →

Features:
Manage workspaces for parallel development with integrated agent support. Create isolated branches as sibling directories, link tasks from TD, and launch coding agents directly from sidecar. Full documentation →

Features:
n/DamPress @ to switch between configured projects without restarting sidecar.
~/.config/sidecar/config.json:{
"projects": {
"list": [
{ "name": "sidecar", "path": "~/code/sidecar" },
{ "name": "td", "path": "~/code/td" },
{ "name": "my-app", "path": "~/projects/my-app" }
]
}
}
@ to open the project switcher modalj/k or click, press Enter to switchAll plugins reinitialize with the new project context. State (active plugin, cursor positions) is remembered per project.
Press W to switch between git worktrees within the current repository. When you switch away from a project and return later, sidecar remembers which worktree you were working in and restores it automatically.
Press # to open the theme switcher. Choose from built-in themes (default, dracula) or press Tab to browse 453 community color schemes derived from iTerm2-Color-Schemes.
The community browser supports search filtering, live preview as you navigate, and color swatches for each scheme. Press Enter to save a scheme as your active theme.
See Theme Creation Skill for custom theme creation and color palette reference.
| Key | Action |
| ------------------- | -------------------------------- |
| q, ctrl+c | Quit |
| @ | Open project switcher |
| W | Open worktree switcher |
| # | Open theme switcher |
| tab / shift+tab | Navigate plugins |
| 1-9 | Focus plugin by number |
| j/k, ↓/↑ | Navigate items |
| ctrl+d/u | Page down/up in scrollable views |
| g/G | Jump to top/bottom |
| enter | Select |
| esc | Back/close |
| r | Refresh |
| ? | Toggle help |
| Key | Action |
| ----- | ------------------------- |
| s | Stage file |
| u | Unstage file |
| d | View diff (full-screen) |
| v | Toggle side-by-side diff |
| h/l | Switch sidebar/diff focus |
| c | Commit staged changes |
| Key | Action |
| --- | ----------------------- |
| n | Create new workspace |
| D | Delete workspace |
| a | Launch/attach agent |
| t | Link/unlink TD task |
| m | Start merge workflow |
| p | Push branch |
| o | Open in finder/terminal |
Config file: ~/.config/sidecar/config.json
{
"plugins": {
"git-status": { "enabled": true, "refreshInterval": "1s" },
"td-monitor": { "enabled": true, "refreshInterval": "2s" },
"conversations": { "enabled": true },
"file-browser": { "enabled": true },
"workspaces": { "enabled": true }
},
"ui": {
"showClock": true,
"theme": {
"name": "default",
"overrides": {}
}
}
}
make build # Build to ./bin/sidecar
make test # Run tests
make test-v # Verbose test output
make install-dev # Install with git version info
make fmt # Format code
make fmt-check # Verify formatting for changed Go files
make fmt-check-all # Verify formatting across full codebase
make lint # Lint new issues only (merge-base with main)
make lint-all # Lint entire codebase (includes legacy debt)
make install-hooks # Install pre-commit hooks (gofmt, go vet, go build)
gofmt-clean (make fmt-check)errcheck, govet, ineffassign, staticcheck, unused