Skip to content

About

Turn a GitHub issue into a ready-for-review pull request, unattended, on Claude Code, Codex or another agent CLI. On a schedule, it also picks up ready issues, improves architecture and audits security.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

thirdshift

A factory that turns a GitHub issue into a ready-for-review pull request, or on request a merged one, by running unattended agent sessions. The humans are the day shift; the agents work the third shift, overnight, while you do something else.

Quality over quantity: a pull request marked ready for review is one the factory stands behind. When it can't stand behind the work, it preserves the work and leaves a draft.

Read the user manual here on GitHub or on thirdshift.app. Both come from the same Markdown. For a visual introduction, see How thirdshift works.

Install

curl -LsSf https://github.com/JacobStephens2/thirdshift/releases/latest/download/thirdshift-installer.sh | sh

The installer puts a single binary in ~/.local/bin; no Rust toolchain or checkout of this repo is needed. Supported: x86_64 Linux (Rocky, Ubuntu and WSL2) and Apple Silicon macOS. See supported versions and other installation methods.

Have git and authenticated gh and a Harness installed: Claude Code by default, or Codex, Antigravity CLI, Grok Build, Muse Code or OpenCode. Set git's user.name and user.email and make sure it can push. Prerequisites and permissions covers setup and access: sessions run unattended as your user, with access to that account's files, credentials and tools.

thirdshift setup     # choose defaults
thirdshift update    # update a shell-installer copy

Usage

From a clone of the issue's repository, on the branch you want the pull request to target:

cd ~/repos/widgets
thirdshift https://github.com/acme/widgets/issues/7

The Run works in its own worktree, implements and reviews the issue, opens a pull request, and keeps it mergeable and green. It leaves the pull request ready for your review; thirdshift merge <Issue URL> also merges it. Your checkout's uncommitted changes stay out of the Run. Push any Base branch commits first.

Use thirdshift help for the command reference, or read Run behavior, command options and failure recovery.

Workflows

Start with Workflow and details
One GitHub issue Run and Merge run
An issue with sub-issues Spec run: works through Tickets in dependency order
Architecture improvements Architect run: reviews, publishes a plan and builds it
An issue marked ready Pickup run: takes the lowest-numbered Ready issue
A security audit Security run: records findings privately; can fix one reproduced finding

The operating system schedules Architect, Pickup and Security runs. See scheduling, Weeding and Fencing.

Documentation

Credits and license

Released under the MIT License. Factory skills include work by Matt Pocock, Dex Horthy and Cloudflare. See full credits and license notices.

Links from the former README manual

These section links keep older bookmarks useful. The complete explanations now live in the user manual.

About

Turn a GitHub issue into a ready-for-review pull request, unattended, on Claude Code, Codex or another agent CLI. On a schedule, it also picks up ready issues, improves architecture and audits security.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages