kdcokenny/opencode-worktree

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

46
/ 100
Emerging

This project helps developers, especially those working with AI agents, manage isolated development environments without manual setup. It takes a simple command to create a new feature branch and automatically spins up a dedicated terminal with OpenCode ready to use. When the work is done, another command cleans up the environment, commits changes, and removes the worktree, streamlining the development workflow.

316 stars.

Use this if you are a developer who wants AI agents to create and manage isolated development sessions seamlessly, complete with automatic terminal spawning and state cleanup, or if you prefer a CLI-first workflow.

Not ideal if you prefer manual control over your git worktrees or work exclusively within the OpenCode Desktop GUI.

AI-driven development developer workflow software engineering git branch management CLI tools
No Package No Dependents
Maintenance 13 / 25
Adoption 10 / 25
Maturity 13 / 25
Community 10 / 25

How are scores calculated?

Stars

316

Forks

15

Language

TypeScript

License

MIT

Last pushed

Mar 17, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/kdcokenny/opencode-worktree"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.