cd /news/ai-agents/automating-end-to-end-pull-request-w… · home › topics › ai-agents › article
[ARTICLE · art-163459] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Automating End-to-End Pull Request Workflows with Claude Task Master

An open-source command-line tool called Claude Task Master (claudetm) automates end-to-end pull request workflows by keeping Claude working until a goal is met, handling planning, coding, PR creation, CI failure fixes, review comments, and merges. Built on the Claude Agent SDK, it supports isolated OAuth and API-key profiles so multiple teams can run separate Claude subscriptions on one machine, and exposes an MCP server, REST API, and HMAC-signed webhooks for programmatic integration. The tool is MIT-licensed and installable via PyPI or Docker.

by read2 min views2 publishedNov 3, 2026

Claude Task Master (claudetm) is a command-line tool that keeps Claude working until a goal is achieved. It plans, codes, opens pull requests, handles CI failures, addresses review comments, and merges when everything passes. The tool is built on the Claude Agent SDK and works with the Claude Code session or a direct Anthropic-compatible API.

The workflow follows four stages: planning, working, PR lifecycle, and verification. In the planning stage the CLI scans the codebase, creates a task list, and defines success criteria. During working it makes changes, runs tests, commits, and pushes to a branch. The PR lifecycle stage opens a pull request, waits for CI checks, fixes failures, and responds to review comments. Finally verification runs the test suite and lint checks before declaring the task complete.

uv tool install claude-task-master

claude login

cd your-project
claudetm start "Add user authentication with tests"

The CLI will create a branch, push commits, open a PR, and keep the loop running until the tests pass and the PR is approved.

Claude Task Master supports isolated profiles. An oauth profile stores a separate Claude Code configuration under ~/.claudetm/profiles/<name>/. An api-key profile injects ANTHROPIC_API_KEY and ANTHROPIC_BASE_URL. This lets multiple teams run different Claude subscriptions on the same machine without conflict.

claudetm profile add myteam --type oauth

claudetm --profile myteam start "Refactor payment module"

The tool also runs an MCP server and a REST API that expose the same lifecycle programmatically. Webhooks are HMAC-signed, allowing external systems to receive updates on task progress, CI results, and merge events. This makes it easy to embed Claude Task Master into CI pipelines, dashboards, or custom bots.

Claude Task Master provides a hands-off, PR-based development experience that survives interruptions and supports multiple isolated Claude subscriptions. It is open source under the MIT license and can be installed via PyPI or Docker. Check the repository for more details and contribute if you see an opportunity to improve it.

── more in #ai-agents 4 stories · sorted by recency
── more on @claude task master 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/automating-end-to-en…] indexed:0 read:2min 2026-11-03 · —