Why work
An AI agent makes one branch go fast. Several agents on several branches should make you several times faster, but in practice you end up with a terminal per agent, no idea which one finished or is stuck on a permission prompt, diffs you never looked at, and worktrees nobody cleans up.
work takes care of all of that:
- One task, one worktree, one agent. "New worktree" makes the branch, the checkout and the Claude session in one step, and starts Claude on what you asked.
- One window for all of them. The Inbox shows the sessions that want you: waiting on a permission prompt, finished and not looked at, a pull request ready to merge or failing.
- Review what the agent did, turn by turn. Every Claude turn is recorded, so you see exactly what the last instruction changed, or everything since you last looked.
- Pull requests handled where you work. Failing checks and review comments are handed to the session's Claude; replies go to GitHub only when you say so.
- Nothing lost, nothing left behind. Sessions survive restarts and reboots. Merged work archives itself and can be restored exactly as it was, and Clean up removes what's no longer needed.
Claude Code is the default agent. work also starts any other CLI agent, with fewer features (see FAQ).
Install
The desktop app (recommended): the dashboard in its own window, with the work and wd commands included. It updates itself.
Or just the command line, with the same dashboard in your browser (work web):
npm install -g @moberg_hr/work-tree # or: brew install moberghr/work-tree/work
work web # opens the dashboard
On first start, the app's Welcome page asks where your repos are and where worktrees should go, lists the repos it finds so you can tick them, and checks your tools:
| Tool | | What for |
|---|
| Git | needed | Worktrees |
| Claude Code | needed | The agent in each session |
GitHub CLI (gh) | optional | Pull requests: their status, checks, review comments, Ship |
Atlassian CLI (acli) | optional | Jira: your issues, starting work on one, the Time tab |
Want to look around first? work web --demo opens the real app on a made-up world (repos, agents, PRs, Jira) and touches nothing of yours.
A day with work
Morning. The Inbox lists what needs you: a session blocked on npm test (Allow / Deny right there), one that finished overnight, a PR that's approved and green. Sessions → Today gives you a standup note of what every session did yesterday.