crook

Plate I · The ninety and nine · 1890

Ninety-nine agents
at work.
crook finds the one.

crook shows what each coding agent in Herdr does - its stage, its tasks, its questions and what blocks it. You see the flock in the sidebar, on a board and in quick open. You go to the one that needs you.

  • macOS
  • Herdr 0.9.5+
  • Claude Code
  • Codex
  • MIT
hover to develop

“Ninety and Nine”, Joseph Gale, 1890 · National Media Museum · Wikimedia Commons, no known copyright restrictions

“What man of you, having an hundred sheep, if he lose one of them, doth not leave the ninety and nine in the wilderness, and go after that which is lost, until he find it?”

Luke 15:4

II In Herdr

The real thing.
In your terminal.

These are real screens of crook in Herdr. Only the workspaces and the agents are mock data.

herdr · crookdemo
The Herdr sidebar with seven workspaces. Each shows its branch, a task progress bar and the current task. login-refactor has one question and payments-webhook has one blocker.
The Herdr sidebar. Each workspace shows its branch, its task progress and the task in work. ?1 and ▲1 mark a question and a blocker.

III How it works

Three small parts.
Nothing hidden.

The agent runs the crook CLI. A small daemon keeps the state. Herdr panes show it to you, and your answers go back the same way.

  1. 01 · the agent

    Claude Code or Codex

    The agent works in a Herdr pane. When it has news for you, it runs a short crook command.

  2. 02 · the CLI

    crook

    Words for the stage, tasks, questions, blockers, commands and notes. A crook failure never stops the agent.

  3. 03 · the daemon

    crookd

    One for each Herdr session. It keeps the state in SQLite and follows the events of Herdr. The CLI starts it.

  4. 04 · your screen

    Herdr panes

    The sidebar, the board, the detail pane and quick open. Herdr runs them from the plugin manifests.

You answer a question in a pane. crookd keeps the answer, and the crook ask of the agent gets it.

IV Small commands

The agent says it.
You see it.

Each example is a real crook command, next to the part of the Herdr screen that it changes. The workspaces are mock data.

herdr · crookdemo

Know what moves.

The agent names its stage and what it does now. The detail pane shows it.

crook status build "Updating the handlers"
The crook detail pane of api-refactor: working, plan 1 of 4, and the line

V Quick open

One chord.
Then one letter.

Press prefix space. Each letter opens a group. prefix ⇧ b opens the board, and prefix d opens the detail pane.

ttasks
qquestions
ddetail
bboard
wgo to workspace
mmodules
?all keys
ccommands
onotes
aartifacts
uClickUp
nnew workspace
%usage

filled keys: core · outlined keys: added by a module

VI Make it yours

A small core.
Room for the rest.

The core works alone. Each module adds CLI words, panes and quick open groups. A module that is not linked costs nothing.

core

crook

crookd, workspace state, tasks, questions, blocked reasons, the board, the sidebar, the detail pane and quick open.

plugins/crook

fig. 1

Notes & commands

Long notes to read and the commands that only you can run.

crook-notes

fig. 2

Artifacts & designs

The files, pages and designs your agents hand over, with summaries and text edits.

crook-artifacts

fig. 3

ClickUp

Link a workspace to a task or a list. Keep the brief next to the work.

crook-clickup

fig. 4

Workspace picker

Start from a bounded context, a feature, a bug, a task or a fresh terminal.

crook-picker

fig. 5

Usage

Claude and Codex plan quotas and reset times, in the tab bar and on the board.

crook-usage

fig. 6

Reviews

A dashboard of the merge requests to review, and the words that review agents run.

crook-review

fig. 7

Agent plugins

Hooks, session rules and the crook skill for Claude Code and Codex.

claude-plugin · codex-plugin

VII Take up the crook

Six steps
to the gate.

Step 01 gets the source. Run the other steps in that checkout, and keep it where it is. crook never edits your files - crook setup prints each config block, and you add it yourself.

  1. 01

    Get the source

    git clone https://gitlab.com/anttoni-eventilla/crook.git
    cd crook
  2. 02

    Build the binaries

    make install
  3. 03

    Link the core

    herdr plugin link "$PWD/plugins/crook"

    Link each module you want the same way, for example plugins/crook-notes.

  4. 04

    Print your setup

    plugins/crook/bin/crook setup
  5. 05

    Add the Claude Code plugin

    claude plugin marketplace add "$PWD/claude-plugin"
    claude plugin install crook@crook-local
  6. 06

    Check and reload

    herdr config check
    herdr server reload-config