cutie

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2026 License: MIT Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

cutie

CI Go Reference Go version GitHub stars Buy Me A Coffee

A terminal dashboard for your pull requests and the AI coding agents working on them.

cutie lists your open PRs and the PRs waiting for your review, tells you which ones need you, and with one key starts a coding agent on a PR in its own herdr pane. It then shows what each agent is doing and what it has cost, and can watch PRs to wake the agent when reviewers reply or authors push.

cutie demo

Features

  • Your PRs and your reviews in one place. Two tabs, grouped by repo, with stacked PRs drawn as a tree.
  • Knows what needs you. A PR "needs work" when a review thread waits on your reply or a reviewer wrote after your last push. Threads you already answered don't count.
  • One key to an agent. enter finds or creates the repo's herdr workspace and a tab for the PR, starts an agent there, and sends it the PR. enter again jumps to it.
  • Live agent view. Status (working, idle, blocked, done), cost, and the agent's latest output next to the PR's checks, reviewers and unresolved threads.
  • Watchers. Watch a PR and cutie wakes its agent when new review feedback arrives on yours, or new commits land on one you review.
  • Claude usage at a glance. 5 hour and 7 day plan windows with reset countdowns, 24h spend, tokens per hour, model split. A spending guard pauses watchers when the 5 hour window runs high.
  • Easy on GitHub's rate limit. A 1-point poll each minute; full details only for PRs that changed.
  • Mouse and keyboard. Click rows, drag panel borders to resize, filter, sort, fold.

Requirements

Tool Why Required
gh, logged in Reads your PRs ✅
herdr, server running Workspaces, panes and agents ✅
A coding agent herdr supports (omp, claude, codex, …) Works on the PRs ✅
omp Claude usage panel and agent costs Optional

macOS and Linux. Go 1.24+ to build.

Install

go install github.com/rohansharmasitoula/cutie@latest

Or from a clone:

git clone https://github.com/rohansharmasitoula/cutie
cd cutie
go build -o ~/.local/bin/cutie .

Quick start

  1. Keep one clone per repo in a single folder, each named after its repo, e.g. ~/Development/api, ~/Development/web. Point cutie at it with CUTIE_ROOT if it isn't ~/Development.
  2. Start herdr in one terminal and cutie in another, or run cutie inside a herdr pane.
  3. Press enter on a PR marked needs work or to review.

Try it without GitHub or herdr, on made-up data:

CUTIE_DEMO=1 cutie

Configuration

Variable Default Meaning
CUTIE_ROOT ~/Development Folder with one clone per repo, named after the repo
CUTIE_AGENT omp herdr agent kind to start: omp, claude, codex, …
CUTIE_INTERVAL 60 Seconds between GitHub refreshes (minimum 10)
CUTIE_WATCH_MINUTES 30 Minutes between watcher checks
CUTIE_GUARD 85 Pause watchers when the Claude 5 hour window passes this percentage
CUTIE_DEMO unset 1 shows made-up data and calls nothing
Prompts

cutie sends an agent one of four messages. The built-in ones work with any agent: they ask it to read the PR with gh, fix or review it, commit locally, and never push or post to GitHub.

To use your own, put a file with the same name in ~/Library/Application Support/cutie/prompts/ (macOS) or ~/.config/cutie/prompts/ (Linux):

File Sent when
fix-start.md Starting an agent on your PR
fix-followup.md A watcher sees new review feedback on your PR
review-start.md Starting an agent on someone else's PR
review-followup.md A watcher sees new commits on a PR you review

Prompts are Go templates with {{.URL}}, {{.Repo}}, {{.Number}}, {{.Branch}}, {{.Base}}, {{.Author}} and {{.HeadShort}}. For example, to hand the work to your own subagent:

Spawn an `orchestrator` task agent to address the review feedback on {{.URL}} (branch {{.Branch}}). Commit locally; do not push.

The defaults are in internal/agents/prompts.

Keys

Key Action
↑ ↓ / j k / wheel / click Move (pgup pgdn home end too)
enter / click the selected row Jump to the PR's agent, or start one. On a repo row: fold it
p Send a prompt to the PR's agent
x x Close the PR's agent pane (the first x asks)
w Watch or unwatch the PR
o Open the PR in the browser
tab / 1 / 2 Mine / Review
/ Filter (esc clears)
s Sort: urgent → updated → waiting
g Group by repo on or off
space Fold or unfold the repo
b / d Hide or show bot PRs / drafts
r / R Refresh / refresh and run the watchers now
drag a border / = Resize panels / reset sizes
? Help
q Quit

How it works

PR status
Tab Status Meaning
Mine needs work A review thread waits on your reply, or a reviewer wrote after your last push
Mine in review / approved / draft As on GitHub
Review to review You haven't reviewed it
Review new commits The author pushed after your last review
Review reviewed You reviewed the current head

A PR is drawn as stacked when the same author's PR branch is its base. Shared branches (main, staging, development, …) never count.

Agents

For owner/repo#N, cutie uses the herdr workspace labelled repo (created at $CUTIE_ROOT/repo if missing), a tab labelled fix #N or review #N, and an agent named fix-repo-N or rev-repo-N. The name ties the agent to the PR, so cutie can show its state and jump back to it.

Watchers

w remembers the PR's current state. Every CUTIE_WATCH_MINUTES, a watched PR with newer activity gets its agent woken with the follow-up prompt, or a new agent started. A watcher waits while its agent is working or waiting for you, and all watchers pause above CUTIE_GUARD. Watches end when the PR is merged or closed, and only run while cutie is open. The Activity panel logs every check.

herdr notifications fire when an agent starts waiting for you and when a watched PR of yours gets new feedback.

Files

cutie keeps watches.json, sizes.json and prompts/ in ~/Library/Application Support/cutie/ (macOS) or ~/.config/cutie/ (Linux).

Project layout

main.go                  entry point: config, prompts, state → ui.Run
internal/
  config/                CUTIE_* settings
  github/                PR queries through gh, status rules, rate limit
  herdr/                 workspaces, panes, agents, notifications
  omp/                   Claude plan windows, 24h stats, per-session cost
  agents/                agent names, watch triggers, prompt templates
  state/                 watches and panel sizes on disk
  ui/                    Bubble Tea model, views, demo data
  utils/                 running CLIs, formatting, text layout
docs/demo.tape           recording script for docs/demo.gif

☕ Support

If cutie saves you time, you can support its development:

Buy Me A Coffee

License

MIT

Documentation

Overview

Command cutie is a terminal dashboard for your GitHub pull requests and the coding agents working on them in herdr.

Directories

Path Synopsis
internal
agents
Package agents decides how cutie names, starts, prompts and wakes the omp agent that works on a PR.
Package agents decides how cutie names, starts, prompts and wakes the omp agent that works on a PR.
config
Package config reads cutie's settings from the environment.
Package config reads cutie's settings from the environment.
github
Package github loads your open PRs and the PRs you review through the gh CLI.
Package github loads your open PRs and the PRs you review through the gh CLI.
herdr
Package herdr drives the herdr CLI: workspaces, panes, agents and notifications.
Package herdr drives the herdr CLI: workspaces, panes, agents and notifications.
omp
Package omp reads Claude usage from omp: plan windows, 24h stats and per-session cost.
Package omp reads Claude usage from omp: plan windows, 24h stats and per-session cost.
state
Package state keeps cutie's files: watched PRs and panel sizes.
Package state keeps cutie's files: watched PRs and panel sizes.
ui
Package ui is the Bubble Tea dashboard.
Package ui is the Bubble Tea dashboard.
utils
Package utils holds small helpers shared across cutie's packages: running CLIs, formatting numbers and times, and laying out terminal text.
Package utils holds small helpers shared across cutie's packages: running CLIs, formatting numbers and times, and laying out terminal text.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL