#409 · Primary category: AI Coding Assistants

opencode-worktree

ai ai-assistant ai-coding developer-tools git git-worktree opencode opencode-plugin terminal-automation worktree

Zero-friction git worktrees for OpenCode. Auto-spawns terminals, syncs files, cleans up on exit.

Project last updated:08/17/26

GitHub Stars

718

Forks

39

Contributors

1

License

MIT

Why we included this project

Anyone who uses OpenCode and has manually juggled git worktrees to keep experiments separate will appreciate what this plugin does: it hands the agent two commands. worktree_create makes a new branch in its own worktree, opens a terminal with OpenCode already running, syncs config files and symlinks, and runs post-create hooks like pnpm install. worktree_delete commits pending changes and tears the worktree down, so nothing lingers. Terminal detection covers macOS, Linux, and Windows, and it works with tmux or cmux for agentic setups. For teams that want their AI assistant to manage parallel feature branches without manual setup or cleanup, this is a practical workflow addition, not just another wrapper.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category