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
Get Started
Install Prerequisites
You'll need GitHub CLI and Node.js 18+
Install Copse
npm install -g copse
Or clone and use directly:
git clone https://github.com/jonathanKingston/copse.git
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
Why Copse?
Built for AI workflows
Specifically designed for managing PRs created by Cursor and Claude agents
Simple & focused
Five 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