vibe-kanban Workflow
npx machina-cli add skill UtakataKyosui/C2Lab/vibe-kanban-workflow --openclawvibe-kanban Workflow
vibe-kanban is a local-first kanban board designed to orchestrate AI coding agents (Claude Code, Codex, Gemini CLI). Each task runs in an isolated git worktree, enabling parallel development with multiple Claude Code sessions.
Core Concepts
- Workspace: A vibe-kanban project tied to a git repository
- Issue: A discrete unit of work assigned to an AI coding agent
- Session: A Claude Code run within an isolated git worktree
- Worktree: Git working tree created per task to avoid branch conflicts
- Review: Diff inspection and PR creation after agent completes work
Initial Setup
Install and start vibe-kanban:
npx vibe-kanban
The UI opens at http://localhost:3000 by default. Connect to a git repository by pointing to the project directory.
Configure Claude Code as an agent in vibe-kanban's agent settings, selecting:
- Agent type: Claude Code
- Model: a Claude Sonnet model for routine tasks, Claude Opus for complex tasks (check available models in vibe-kanban agent settings)
For interactive setup guidance, run /vibe-kanban:setup (a slash command provided by this plugin).
Optimal Task Design
Write issues that Claude Code can execute autonomously without interactive clarification. Good tasks are specific, bounded, and self-contained.
Effective task structure:
Title: [Action verb] [specific component] [measurable outcome]
Description:
- Context: What already exists, what the current behavior is
- Goal: Exact expected result or behavior
- Acceptance criteria: How to verify completion
- Files affected: Key files/directories to look at (optional)
- Do NOT do: Explicit out-of-scope items
Good examples:
- "Add rate limiting middleware to POST /api/users endpoint (max 10 req/min)"
- "Fix TypeError in UserCard when profileImage is null"
- "Write unit tests for calculateTax() covering edge cases (zero, negative, large values)"
Avoid:
- Vague titles: "Fix the bug", "Improve performance"
- Multi-phase tasks: "Refactor entire auth system and add OAuth"
- Tasks requiring human decisions mid-execution: "Choose between approach A or B"
See references/task-design-patterns.md for detailed templates and antipatterns.
Workflow: Single Task
- Create issue in vibe-kanban UI with a clear title and description
- Start task → vibe-kanban creates a new git worktree and starts a Claude Code session
- Monitor via the session view in vibe-kanban (see Claude Code's progress)
- Review diffs when the session ends
- Create PR from the vibe-kanban interface if changes look good
- Close/reopen if revisions are needed (vibe-kanban keeps the worktree)
Workflow: Parallel Tasks
Run multiple Claude Code sessions simultaneously for independent work:
- Create multiple issues for non-overlapping features
- Start each task sequentially → separate worktrees prevent conflicts
- Monitor all sessions from the kanban view
- Review and merge in order of completion
Critical constraint: Avoid parallel tasks that modify the same files. Merge conflicts require manual resolution outside vibe-kanban.
See references/parallel-workflow.md for patterns like feature slicing and independent module strategy.
Session Management Best Practices
Before starting a task:
- Check if vibe-kanban is running at
http://localhost:3000 - Verify no uncommitted changes in the main worktree that would block task creation
- Ensure issue description is complete before starting (Claude Code cannot ask follow-up questions during automated sessions)
During a session:
- Avoid manually editing files in the task's worktree while Claude Code is running
- Use vibe-kanban's session view to observe progress rather than interrupting
- Let the session complete before reviewing; premature termination may leave inconsistent state
After session completion:
- Review the full diff before accepting
- Check generated tests actually pass (
Statussection in the review view) - Look for unintended side effects in adjacent files
MCP Integration
This plugin includes a .mcp.json that connects Claude Code directly to vibe-kanban's MCP server:
npx vibe-kanban@latest --mcp
When the plugin is enabled, the vibe_kanban MCP server starts automatically. Use /mcp to verify available tools (e.g., listing tasks, updating status, creating issues).
Using MCP tools to manage tasks:
- List current issues and their status via MCP tools
- Update task status (e.g., move to Review) directly from a Claude Code session
- Create new issues without opening the browser UI
vibe-kanban also centralizes MCP server configuration for all connected agents. Configure additional MCP servers once in vibe-kanban's agent settings under MCP Servers and they propagate to all Claude Code sessions automatically.
See references/mcp-configuration.md for common MCP server configurations to add to vibe-kanban.
Task Status Lifecycle
| Status | Meaning | Next Actions |
|---|---|---|
| Backlog | Not yet started | Prioritize, refine description |
| In Progress | Agent running | Monitor, wait for completion |
| Review | Agent done, awaiting review | Inspect diff, run tests |
| Done | Reviewed and merged | Close issue |
| Cancelled | Dropped or superseded | Archive |
Move tasks through statuses manually after reviewing completed work. vibe-kanban does not auto-close tasks.
Troubleshooting Common Issues
Session hangs or produces no output:
- Check if Claude Code has an auth token (
~/.claude/credentials) - Verify the model specified in agent config is accessible
- Restart the session from vibe-kanban (the worktree is preserved)
Worktree conflict on task start:
- Indicates another task is using the same branch name
- Delete stale worktrees via vibe-kanban UI or
git worktree prune
Diff is empty after session:
- Claude Code may have hit a clarification loop (issue description was ambiguous)
- Refine the issue and restart
Source
git clone https://github.com/UtakataKyosui/C2Lab/blob/main/plugins/vibe-kanban/skills/vibe-kanban-workflow/SKILL.mdView on GitHub Overview
vibe-kanban is a local-first kanban board designed to coordinate AI coding agents like Claude Code by running each task in its own Git worktree. It supports parallel sessions, task design templates, and a review flow with diffs and PRs. This approach helps teams scale autonomous coding while avoiding file conflicts.
How This Skill Works
Each task becomes an Issue in vibe-kanban. Starting a task creates a new git worktree and launches a Claude Code session bound to that worktree, keeping work isolated. Tasks are reviewed via diffs and PRs, with support for parallel sessions as long as files aren’t modified concurrently across tasks.
When to Use It
- When you want to orchestrate Claude Code with vibe-kanban
- When you need to run multiple Claude Code sessions in parallel for independent work
- When you design autonomous tasks for AI coding agents with a clear, bounded scope
- When you want to connect vibe-kanban to a git repository and manage worktrees
- When you review agent work via diffs and create PRs from the vibe-kanban interface
Quick Start
- Step 1: Install and start vibe-kanban with 'npx vibe-kanban'. The UI opens at http://localhost:3000 by default.
- Step 2: Connect to a git repository and configure Claude Code as an agent in vibe-kanban's settings (Agent type: Claude Code; Model: Sonnet for routine tasks, Opus for complex tasks).
- Step 3: Create issues for tasks, start each task to spawn a separate git worktree and Claude Code session, then monitor progress, review diffs, and create PRs as needed
Best Practices
- Write issues that Claude Code can execute autonomously with a clear, bounded scope
- Use the optimal task design template: Title, Description (Context, Goal, Acceptance criteria, Files affected, Do NOT do)
- Avoid vague titles, multi-phase tasks, and tasks requiring mid-execution human decisions
- Ensure parallel tasks operate on non-overlapping files to prevent conflicts
- Review diffs and create PRs from the vibe-kanban interface after each session
Example Use Cases
- Add rate limiting middleware to POST /api/users endpoint (max 10 req/min)
- Fix TypeError in UserCard when profileImage is null
- Write unit tests for calculateTax() covering edge cases (zero, negative, large values)
- Create multiple issues for non-overlapping features and run parallel Claude Code sessions
- Design tasks using the template: Title, Context, Goal, Acceptance criteria, and Do NOT do