kdcokenny/opencode-worktree
An OpenCode plugin that automates git worktree creation and management for AI coding assistants and autonomous agents.

Collecting fresh signals — velocity needs a few days of history.
star history
This plugin creates isolated git worktrees that automatically spawn terminals with OpenCode running inside, eliminating manual setup for AI-driven development. When an AI agent calls worktree operations, the plugin handles terminal spawning, file syncing, and automatic cleanup. It integrates with cmux and tmux to provide programmatic workspace control for agentic workflows.
Frequently asked
- What is kdcokenny/opencode-worktree?
- An OpenCode plugin that automates git worktree creation and management for AI coding assistants and autonomous agents.
- Is opencode-worktree open source?
- Yes — kdcokenny/opencode-worktree is open source, released under the MIT license.
- What language is opencode-worktree written in?
- kdcokenny/opencode-worktree is primarily written in TypeScript.
- How popular is opencode-worktree?
- kdcokenny/opencode-worktree has 714 stars on GitHub.
- Where can I find opencode-worktree?
- kdcokenny/opencode-worktree is on GitHub at https://github.com/kdcokenny/opencode-worktree.