Skip to main content

flock

What it is​

flock is a native macOS window onto your herdr session. It is the horsey way to use herdr: drag and drop anything you see to move or rearrange it. It also supports keyboard navigation and improves how you interact with herdr notifications. The project is in continual development.

Open it​

Setup in horsey installs Flock for you, so open it from Applications. On a Mac without horsey, download the .dmg from flock's latest release, open it and drag Flock onto Applications. Flock needs macOS 15 or later and herdr 0.9 or later on your PATH. On an older macOS, setup leaves Flock out. Start herdr the way you normally do, then open Flock. It attaches to your default herdr session and shows it straight away, and offers a Start herdr button if herdr is not running. Flock checks for updates by itself, or use Flock > Check for Updates.

What you do in it​

Rearrange. Drag panes, tabs and workspaces to move them, inside a workspace or across workspaces in Arrange.

See what needs you. Every pane carries a status, and Overview sorts every pane by what it needs from you.

Work from the keyboard. Every command has a key, listed under Key commands, and the command palette (⌘K) finds any of them by name.

Use rt from a pane. If you run agents with rt, each pane gets an rt button that opens rt nav, rt glitter, rt run and rt runner in a modal. Herds get their own sidebar section with progress read from rt, and rt chat is a click away. None of it is needed to use flock with plain herdr.

The three views​

The tabs at the top of the window switch between three views of the same session: Workspaces, Overview and Arrange. The View menu, the palette and ⌘1 to ⌘3 switch them too.

Workspaces​

The live window, where you work. The sidebar on the left lists your workspaces in sections: PINNED, WORKSPACES, and, when you use rt, BOARD for the board app's workspaces and HERDS for running herds. Notifications stack at the foot of the sidebar. The tab strip runs along the top, and the selected tab's panes fill the rest.

Drag sidebar rows, tabs and panes to move them, right-click any of them for its menu, and double-click a name to rename it. Clicking empty space in the sidebar or the tab strip opens a new workspace or tab.

Overview​

Every pane as a card, sorted into three lanes by what it needs from you:

  • NEEDS YOU holds blocked panes, then done ones. When it is empty it says "Nothing needs you".
  • WORKING holds working panes, then BACKGROUND: Claude Code panes still running something behind their prompt (see Background work).
  • AT REST holds everything else, by when it last changed: Last hour, Earlier today, Yesterday, This week, Older and Unknown.

Cards are grouped under their workspace's symbol and name. Each card shows:

  • the pane's status mark and title.
  • how long it has been in that state, for example "blocked 12m".
  • its branch.
  • a timeline of its status over the last hour.

Card detail in Settings chooses what the branch line shows: the branch, the repo and branch, or nothing. Branch leaves out the repo when it matches the workspace's name.

Board review workspaces and herds' agent workspaces show in the lanes too. Turn either off in Settings with Include Board reviews or Include herds.

Click a card, or select it and press ↩, to open it. The pane opens on its own and live, so you can type into it. The header has a "‹ Overview" button back, and a NEXT chip naming the next pane waiting on you, or a "Queue clear" badge when nothing is. While Overview is not the view you are on, its tab carries a red count of blocked panes.

When you leave Overview with a pane open and come back, you see the lanes. Coming back shows in Settings can reopen the pane you had open instead.

Arrange​

One island per workspace, holding a live thumbnail of each tab's split layout. Drag panes, tabs and whole workspaces between islands. Drop:

  • on the middle of a pane to swap with it, or move there.
  • on a pane's edge to split it.
  • on a tab to move into that tab.
  • on empty space to make a new tab.

Hover a tab or workspace during a drag and it springs open.

Click a pane to select it and double-click (or press ↩) to open it in Workspaces. Zoom into one workspace from its island's Zoom button, by double-clicking its header, or with Space. Right-click a pane for Rename Pane, Copy Output and Close Pane. Typing never reaches a terminal from Arrange.

Statuses​

flock draws one status mark per pane from what herdr reports about the agent running in it, and draws it the same way everywhere: the sidebar, tabs, cards, switchers and notifications. A tab, workspace or herd shows its loudest pane, in the order blocked, done, working, idle.

The colors below are from Tokyo Night (Tokyo Night Day on a light page), flock's default theme; other themes use their own shades of the same colors.

MarkStatusWhat it means
workingThe agent is working.
blockedThe agent stopped and is waiting for you. Its notification stays until you answer it, and its card stays in NEEDS YOU until it is unblocked.
doneThe agent finished. It clears to idle once you look at the pane.
idleAn agent is in the pane, idle.
background workClaude Code is back at its prompt but still running something. See Background work.
no agentA plain shell, or anything else herdr detects no agent in. Its pane label reads "idle", dimmed.

A pane's label carries the status word in the same color: working, blocked, done or idle.

Background work​

herdr calls a Claude Code pane idle or done as soon as Claude Code is back at its prompt, even while background shells, monitors or subagents are still running. flock reads the footer under Claude Code's prompt every 10 seconds. When the footer counts any of those, the pane shows the background work mark, a mauve ring, in place of idle or done.

The pane label shows the reason in place of the status word, for example "1 shell", "2 monitors" or "1 subagent". In Overview the card moves to WORKING under BACKGROUND, with the reason and its age, such as "1 shell · 3m". When the work ends, the pane goes back to idle or done.

Plain shells​

flock has no statuses of its own for a plain shell: a shell running a long build looks the same as one sitting at its prompt, the small muted dot. Closing a plain shell asks first only when the close also takes its tab or workspace (see Closing a pane or tab).

The launcher​

When a pane's shell sits at an empty prompt, a launcher bar shows over it: in a new pane, after ⌃L or clear, after rt cd, and in a pane flock sees for the first time after it restarts. The bar offers rt cd, claude and codex, each only when it is on your PATH, on ⌘1 onward in that order. It hides on your first keystroke or when the pane prints anything. rt cd runs rt cd --repo, so it picks from every repo.

Other marks​

  • A tab marked complete (right-click a tab > Mark Complete) shows a mauve checkmark, dims and moves to the right end of the strip.
  • A zoomed pane shows a mauve "Zoomed" badge in its label.
  • An empty pinned workspace shows no mark, with its symbol and name dimmed.
  • rt runs listed in a pane's rt menu show a green dot while running, grey once finished and red once exited.

Closing a pane or tab​

flock asks before a close in two cases:

  • The pane or tab runs an agent: Claude Code, Codex or any other agent herdr detects, idle or busy.
  • The close also takes its tab or workspace, such as closing a tab's only pane. This asks whether or not an agent runs. A pinned workspace's last tab is the exception, since its pin stays.

The prompt reads "Close this pane?" or "Close this tab?", says how many agent sessions the close ends, if any, and offers Close Pane or Close Tab and Cancel. When the close also takes its tab or workspace, the prompt names that instead.

Tick Don't warn me next time to stop the prompt for that kind of close, tabs or panes, whichever button you press. Turn it back on in Settings under Closing. A busy pane, and a close that takes its tab or workspace, ask either way.

Close Workspace (⌥⇧⌘W) does not check for agents.

Pinned workspaces​

A pinned workspace keeps its place at the top of the sidebar, under PINNED, even after its last tab closes. You can open it again from there.

Pin a workspace​

Right-click the workspace in the sidebar and choose Pin. Once you have one pin, the PINNED section exists and you can also drag a row from WORKSPACES into it; the first pin has to come from the menu, because PINNED is not drawn until a pin exists.

A pin keeps the workspace's name and one folder. When you pin, a popover titled "name opens in" asks which folder:

  • where the shell is now: the folder the shell is in at that moment. It reads "where the shell was last seen" when flock cannot ask the shell.
  • where it started: the folder the shell started in.
  • Other…: any folder you pick.

Close the popover without choosing to keep the folder it highlights. Pin names are unique: pinning a second workspace with the same name is refused.

Change the pinned workspace's folder​

  1. Right-click the pinned workspace in the sidebar.
  2. Choose Change Folder….
  3. In the folder picker, which opens on the current folder and asks where the workspace opens, pick the folder you want and click Choose.

You can do this any time, on a live pinned workspace or an empty one. The folder only matters when flock opens the workspace again: it does not move the panes that are already open.

What a pin does​

  • A pinned workspace's menu has no Close. Closing its last tab closes the herdr workspace and leaves an empty pin, dimmed in the sidebar. flock asks first only when that tab runs an agent (see Closing a pane or tab). If you were on the workspace, its empty pin stays on screen.
  • Choosing an empty pin in the sidebar or the ⌃Tab switcher shows it, and nothing opens yet. You see its symbol, name and folder, "Pinned · no tabs open", and a launcher bar. The bar offers a shell, plus whichever of rt cd, claude and codex are on your PATH.
  • To open it, press ↩ for a shell, choose a launcher item (or press ⌘1 to ⌘3), or press ⌘T. flock opens a new workspace in the pin's folder, under the pin's name. Tabs, splits and commands are not restored.
  • If the pin's folder no longer exists, the workspace opens in your home folder and tells you to pick another with Change Folder….
  • flock does not reopen pins when it starts. An empty pin whose name matches a workspace herdr already has links to it.
  • Renaming a pinned workspace in herdr renames the pin.
  • Drag pins to reorder them. PINNED comes first in the sidebar, and in the workspace keys and switcher too.
  • Pins are kept on this Mac only.

Unpin​

Right-click the pinned workspace and choose Unpin, or drag it down into WORKSPACES. It stays open as an ordinary workspace. An empty pin cannot be dragged out; its menu offers Remove instead.

Title bar workspaces​

Move to Top Bar in a workspace's menu pins it and moves it to an icon in the title bar, beside the view tabs. The menu of a pinned or empty pinned workspace offers it too. The icon's color is the workspace's status.

  • Click the icon to open the workspace in an overlay. Close the overlay with its close button, a click on the backdrop, or the icon again. Esc goes to the pane's program.
  • The overlay's size control offers Small, Medium and Large, remembered for each workspace.
  • A top-bar workspace holds one tab. A workspace with more tabs cannot move there until you close the extras.
  • A top-bar workspace leaves the sidebar, Overview, Arrange, the switcher and notifications.
  • Drag icons to reorder them, or drag a pin between the title bar and PINNED.
  • While the overlay is open, New Tab, New Workspace, Close Tab, Close Workspace and the pane direction keys are off.
  • Right-click the icon for Move to Sidebar, Rename, Change Icon… and Unpin.

Title Bar Workspaces in Settings chooses Icon only or Icon and name.

Workspace symbols​

Every workspace wears an SF Symbol beside its name. It shows in the sidebar, Overview's group headers, Arrange's island headers and an opened card's header. flock gives each new workspace the least-used symbol on its own, so no two look alike until you have many.

To choose one, click the symbol, or right-click the workspace and choose Change Symbol…. The picker lists 216 symbols in eight groups (Engineering, Work, Tools, Nature, Things, Travel and sport, Shapes, Animals), with the current one highlighted. Type in Search symbols to filter by name or group; ↩ picks the first match. Automatic hands the choice back to flock.

No symbol is a check, exclamation mark, clock, bell, cross or plain circle, since those shapes belong to statuses, and color in the sidebar only ever means status. A workspace keeps its symbol when you rename it, pin it or unpin it. The board app's workspaces wear the board logo and herds wear the ram mark; neither can be changed.

Key commands​

Keys are written the way the macOS menus write them: ⌃ Control, ⌥ Option, ⇧ Shift, ⌘ Command. Most of them also sit in the menu bar and in the command palette (⌘K), which shows each command's key beside it.

Pane commands use ⌘ because it is the one modifier a pane's program never receives, so they never collide with what runs inside a pane.

Panes​

KeysCommandWhat it does
⌘DSplit RightSplits the focused pane to the right.
⇧⌘DSplit DownSplits the focused pane downward.
⇧⌘↩Zoom PaneZooms the focused pane to fill its tab. The menu reads Unzoom Pane while it is zoomed.
⌘WClose PaneCloses the focused pane. In a window such as Settings it closes that window. Asks first when the pane runs an agent.
F2RenameRenames the focused pane, else the selected tab, else the selected workspace.
⌥⌘ + arrowFocus PaneFocuses the pane on that side.
⌥⇧⌘ + arrowMove PaneMoves the focused pane past its neighbor on that side, the same move a drag makes.
⌃⌥⌘ + arrowSwap PaneSwaps the focused pane with its neighbor on that side.
⌘1, ⌘2, ⌘3rt cd, Launch claude, Launch codexWhile the launcher shows, types that command into the pane's shell. Otherwise these keys switch views. rt cd is offered only when rt is on your PATH, and each agent only when its CLI is.
⌥⌘MSend Right-Clicks to Program / Give Right-Clicks to FlockChooses whether a plain right-click in the focused pane goes to its program or opens flock's pane menu. ⌥ + right-click always does the other one.
⌘FFindOpens the find bar over the pane's terminal. ↩ finds the next match and ⇧↩ the previous one.
⌘G / ⇧⌘GNext Match / Previous MatchSteps through the find bar's matches. Esc returns to the terminal with the matches still lit, and Esc on an empty field closes the bar.
⌘+ / ⌘-Terminal Text > Bigger / SmallerSteps the panes' text between Compact, Regular and Large. While an rt modal is open, it sizes that modal instead.

Tabs​

KeysCommandWhat it does
⌘TNew TabOpens a tab in the selected workspace.
⇧⌘WClose TabCloses the selected tab. Asks first when the tab runs an agent.
⌥TabTab switcherHold ⌥ and tap Tab to step through the workspace's tabs, most recent first. Add ⇧ to step back, and let go of ⌥ to open the one you are on.
⌃⌘← / ⌃⌘→Previous Tab / Next TabSteps along the tab strip, wrapping at the ends.
⌃1 … ⌃9Go to TabJumps to that tab in the strip.

Workspace keys​

KeysCommandWhat it does
⇧⌘NNew WorkspaceOpens a new workspace.
⌥⇧⌘WClose WorkspaceCloses the selected workspace.
⌃TabWorkspace switcherWorks like macOS app switching: hold ⌃ and tap Tab, with ⇧ to step back, and let go to open. Pinned workspaces come first, and choosing an empty pin shows it.
⌃⌘↑ / ⌃⌘↓Previous Workspace / Next WorkspaceSteps through the sidebar in order, skipping folded sections.
⌃⌘1 … ⌃⌘9Go to WorkspaceJumps to that row of the sidebar.
⌘ + clickSelect severalSelects several sidebar rows to drag as one block. Esc clears the selection.

Views and rearranging​

KeysCommandWhat it does
⌘1WorkspacesShows the Workspaces view.
⌘2OverviewShows the Overview.
⌘3ArrangeShows Arrange.
⇧⌘RAll WorkspacesOpens or closes the grid, in whichever of Overview and Arrange you used last.
⌘RRearrange ModeTurns rearrange mode on or off. While it is on, a drag can start anywhere on a pane and the mouse no longer reaches the pane's program. Esc leaves it.
⌘Z / ⇧⌘ZUndo / RedoUndoes or redoes a move. Off in Overview.
Esc during a dragCancelCancels the drag. With rearrange mode on, a second Esc leaves the mode.
Space during a dragSpring-loadOpens the tab or workspace under the pointer at once, without waiting for it to spring open.

While Overview or Arrange covers the window, the tab, workspace and pane layout keys do nothing. Close Pane and the right-click toggle act on the pane Overview has open.

Overview keys​

KeysWhat it does
Arrow keysMove the card selection: up and down within a lane, left and right to the next lane.
↩Opens the selected card.
⌘[Back to Overview, from a card you opened.
⌘]Open Next Card: opens the oldest other card that is waiting on you.

Arrange keys​

KeysWhat it does
SpaceZooms into the selected workspace's island, or back out.
↩Opens the selected pane in Workspaces.
EscZooms out, or leaves Arrange.

Notifications​

KeysCommandWhat it does
⌘JOpen Oldest NotificationJumps to the pane that has waited longest. In Overview it opens that card.
⇧⌘UClear NotificationsDismisses every notification.

Command palette​

KeysWhat it does
⌘KOpens or closes the palette. Recent commands sit at the top, then every command, each tagged with its area.
↑ ↓, or ⌃P ⌃NMove through the list.
↩Runs the highlighted command.
EscCloses the palette.

The palette also lists the rt commands when rt is installed (cd, nav, glitter, run and runner), which have no key of their own. While an rt modal is open, ⌘W closes it.

Chat​

These show only when herdr-chat is available, and sit in their own Chat menu.

KeysCommand
⇧⌘CChat Panel
⇧⌘BBroadcast to Panes…
⇧⌘PChat Peek
⇧⌘SQuick Send…
⇧⌘VOpen Viewer
⇧⌘ISign In This Pane
⇧⌘OSign Out This Pane
⌘↩Sends the message you are writing.

App​

KeysCommand
⌘,Settings

Settings that matter​

flock has no keys in the horsey settings registry. Its own Settings (⌘,) has four tabs: General, Views, Tools and herdr.

General tab​

SectionSettingChoices
Starting FolderNew Workspace, New Tab, New PaneNew workspaces and panes start in the current pane's folder, and new tabs in the repo's main checkout. The choices are Current Pane's Folder, Repo's Main Checkout (home outside a git repo), Home Folder and Custom Folder…
NotificationsShow in sidebarUntil seen (the default), For 5 seconds or Never. A question stays until you answer it.
TitlesOne title for a one-pane tabOn by default: a tab holding one pane shows one title everywhere.
Title Bar WorkspacesShowIcon only (the default) or Icon and name.
ClosingWarn before closing a tab running an agent, Warn before closing a pane running an agentBoth on by default.

Views tab​

SectionSettingChoices
OverviewCard detailBranch (the default), Repo and branch, or Hidden.
OverviewComing back showsThe lanes (the default) or The pane you had open.
OverviewInclude Board reviews, Include herdsBoth on by default. Off, those workspaces leave the lanes and the tab's count.
Rearrange ModeAfter a moveExit (the default) or Stay.

Tools tab​

SectionSettingChoices
rt Modal Text Sizert cd, rt nav, rt glitter, rt run, rt runnerCompact, Regular (the default) or Large.
Command LineShell commandInstalls a flock command on your PATH, to control flock from a terminal or over ssh.

herdr tab​

SectionSettingChoices
herdrVersionThe connected herdr's version, or Not connected.
herdrMouse supportInstalls a build of your herdr version that passes clicks and scrolling through to panes, or restores the original.

The View menu holds the rest: Theme (Tokyo Night by default, among 17), Terminal Text, Option as Alt (Left Option by default) and Scroll Speed.