Tools for managing agent-created PRs

Streamline your AI workflow

Copse helps you manage pull requests created by Cursor and Claude agents with a simple, powerful CLI tool.

approval

Enable merge when ready on matching PRs

+

create-prs

Find recent agent branches and create PRs

pr-status

View open agent PRs with test failures

rerun-failed

Rerun failed workflow runs on branches

update-main

Merge main into PR branches to keep them current

💬

pr-comments

View and reply to PR review comments interactively

🎫

create-issue

Create issues and instruct agents to build them

📊

status

Unified dashboard of agent PRs across all repos

🌐

web

Local browser dashboard for status actions and issue workflows

Get Started

1

Install Prerequisites

You'll need GitHub CLI and Node.js 18+

2

Install Copse

npm install -g @copse/cli

Or clone and use directly:

git clone https://github.com/jonathanKingston/copse.git
3

Start Using

copse approval owner/repo cursor

Enable auto-merge on all your Cursor agent PRs

Tab Completion

Copse includes built-in tab completion for Bash and Zsh. Add one line to your shell config:

Zsh

Add to ~/.zshrc:

eval "$(copse completion zsh)"

Bash

Add to ~/.bashrc:

eval "$(copse completion bash)"

Then open a new terminal or run source ~/.zshrc (or ~/.bashrc)

Quick Examples

Enable merge when ready

copse approval acme/project cursor

Create PRs from recent branches

copse create-prs acme/project claude

Check PR test status

copse pr-status

Rerun failed tests

copse rerun-failed acme/project cursor

Update PRs with main

copse update-main acme/project

Preview without changes

copse approval acme/project cursor --dry-run

Reply to PR review comments

copse pr-comments acme/project cursor

Create an issue for an agent

copse create-issue acme/project "Add dark mode"

Live dashboard of all agent PRs

copse status --watch

Launch local web app

copse web --open

Why Copse?

Built for AI workflows

Specifically designed for managing PRs created by Cursor and Claude agents

Simple & focused

Nine commands that do exactly what you need, nothing more

Tab completion

Built-in autocomplete for Bash and Zsh shells

GitHub native

Uses GitHub CLI for reliable, authenticated operations