subtask
subtask is a Claude Skill (plugin) for Anthropic's Claude Code that enables parallel execution of AI coding agents using isolated git worktrees. It allows developers to break down complex tasks into smaller subtasks, which are then executed concurrently by multiple subagents, each operating in its own dedicated worktree. This parallelism significantly accelerates development workflows by eliminating the sequential bottleneck of traditional agent execution. The plugin integrates directly with Claude Code, extending its command set to manage subagents. When a task is initiated, subtask orchestrates the creation of git worktrees from the current repository, spawns Claude-powered subagents, and distributes the subtasks among them. The worktrees provide isolated filesystem environments, preventing conflicts and enabling safe concurrent modifications. After completion, the plugin handles cleanup, merging results back if needed, and tearing down the worktrees. Key features include support for configurable concurrency, robust error handling with automatic revert on failure, interactive release flows with version bumping (including beta channels), and seamless integration with Claude Code's plugin architecture. The tool is written in Go and is fully open source, encouraging community contributions and extensions. subtask is particularly valuable for tasks like parallel code reviews, simultaneous feature development, multi-branch testing, and large-scale refactoring. By harnessing the power of parallel AI agents, it transforms how developers leverage AI coding assistants, making them faster and more efficient for complex, multi-faceted projects.
- Category
- AI Agents
- Pricing
- Open Source
Problem solved
Developers often waste time waiting for a single AI coding agent to complete sequential tasks when many tasks are independent and could run in parallel. subtask solves this by allowing multiple Claude Code agents to work simultaneously on different parts of a project, each in its own isolated git worktree, dramatically reducing total execution time while avoiding code conflicts.
Use cases
- Running parallel code reviews on multiple pull requests simultaneously
- Implementing several independent features in separate branches at once
- Executing test suites across different environments or configurations in parallel
- Performing large-scale refactorings by dividing the work into isolated subtasks
- Generating documentation, changelogs, or release notes for multiple components concurrently
Audience
- Developers
Pros
- Enables true parallel execution of coding agents via git worktrees
- Seamless integration with Claude Code and its plugin system
- Isolated worktrees prevent conflicts between subagents
- Open source with an active community and regular updates
- Supports interactive release management with beta versioning
Cons
- Requires Claude Code, limiting usage to Anthropic's ecosystem
- Managing multiple git worktrees may be complex for beginners
- Overhead of worktree creation and cleanup may outweigh benefits for very small tasks
Official website: https://github.com/zippoxer/subtask
Canonical LambdaBase page: https://www.lambdabase.com/tools/subtask