herdr-threads

agent
Security Audit
Fail
Health Warn
  • License — License: Apache-2.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Fail
  • exec() — Shell command execution in herdr-claude-bot/mods/herdr-claude-bot/bots.js
  • exec() — Shell command execution in herdr-claude-bot/mods/herdr-claude-bot/core.js
  • exec() — Shell command execution in herdr-claude-bot/mods/herdr-claude-bot/main.js
  • exec() — Shell command execution in herdr-huntaway/huntaway-files/mods/huntaway-files/markdown.js
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

Herdr Threads: a T3 Code style layout for Herdr App. Every tab is a thread in one list, sub-agents get a side panel, and every agent stays a real terminal.

README.md

Herdr Threads

Windows Herdr App License Inspired by T3 Code

A layout for Herdr App in the style of T3 Code.
Every Herdr tab is a card in one list, the way T3 Code lists its threads, and every agent stays a
real terminal you can type into, start with any flags and share with the agent. On screen it uses
Herdr's words: spaces, tabs, agents and sub-agents.

What it is
threads The layout: a thread list on the left, a header with the tab's state and sub-agents, a side panel for sub-agents, Files and Mentions, and a New tab dialog. Includes all its mods.
herdr-claude-bot The layout's bots, as a mod for any layout: long-running Claude Code agents that hand work to sub-agents in your projects, check it and remember, with their Tasks and Memory.
threads-files The layout's Files, as a mod for any layout: the tab's folder as a tree and the file you pick beside it. Ctrl+click a path an agent printed and it opens at its line.
threads-new The layout's New tab dialog, as a mod for any layout: a Terminal or any agent (several at once), Code Mode or a worktree.

Made for Windows. macOS and Linux should mostly work but are untested.

threads

Herdr Threads

  • Tab list. Each tab is a card: the agent's icon, its title (the agent's own task title) and
    its state (Approval, Done, Working 4m, or how long ago). Grouped by space by default (one line
    per tab, as Herdr works by space), or list tabs on their own (two lines: space and branch
    under the title). Pinned, Working and Settled sections, search, a folded rail. Drag spaces
    and tabs to reorder them; they slide into place. With more than one machine, the list shows
    one at a time: a switch at the bottom changes it in one click, it follows the tab you look
    at, and it shows when another machine has an agent waiting for approval.
  • Bots. Long-running Claude Code agents that use Claude's own memory: tell one what you want,
    it hands the work to Claude or Codex sub-agents in your projects, checks it, and lists in its Bot tab what
    needs you. Its Memory tab shows what Claude just learned about the bot and each project: click one to read it,
    or hand it to the bot to change, remove or move. Each bot
    has a handle you pick, which names its folder in ~/.herdr-claude-bot on your computer (herdr-claude-bot, for any layout). A removed
    bot waits under Recently removed, below the bots, to be brought back or deleted for good (to the
    Recycle Bin).
  • Header. The space and its tabs as Herdr's tab bar (switch, rename, drag to reorder, close,
    +), the shown tab's state and the panel toggles.
  • Details card. Machine, folder, branch ↑↓, changed lines, the pull request, sub-agents and
    time, with Open in VS Code and × at the top right.
  • Sub-agents side panel. The tab's agents as a tree: each sub-agent a two-line card on a
    rail under the agent that started it, with its last line and buttons; what a sub-agent
    starts in turn, one line each (the main agent's folds). Watch any
    sub-agent's live terminal in a panel tab, type into it, open it as a pane, peek, or stop it.
  • Peek. Click a sub-agent and its terminal opens over the window, ready to type into. Its bar
    moves it into the side panel or closes it.
  • New tab / New sub-agent (Ctrl+Shift+T). A plain Terminal, or an agent (Shift+click
    several: one tab each) with flags, Claude's Code Mode, or a new worktree. You tell the agent
    what to do in its own input once it opens.
    New space always makes a new space, on the machine you choose, even in a folder another
    space already uses. New sub-agent starts one under the tab's main agent
    (hc run --parent). Every field is optional.
  • Clickable agent output. Ctrl+click a file path in a terminal and it opens beside the
    terminals at its line. The Mentions tab lists everything the tab's agents printed that
    points somewhere (files with their line, even src\db\schema.sql:10, sub-agents by name or
    address, links, PRs and issues).
  • Files beside the terminals. The tab's folder as a tree (search, Git marks, live refresh) and
    a preview next to it: code with syntax colors at its line, Markdown rendered, images with zoom.
    Edit and save in place. F11 lets Files take the whole work area while the terminals keep running.
  • Go to (Ctrl+Shift+G): one box for every tab, agent, terminal and mentioned file.
  • Updates. The version sits at the bottom of the sidebar. When a new release is out it
    turns into "Update to x": its notes, and a message to paste to your agent, which installs it.
    Check by hand from the same button or the palette ("Threads: Check for updates").
  • Claude stays fullscreen. Claude Code started from this layout keeps its fullscreen screen even
    when a tab is closed right after it starts (see Good to know).

Install

The easiest way: ask the agent in your Herdr terminal, for example
"Add this layout: https://github.com/Hon-Lu/herdr-threads/tree/main/threads".

To do it by hand on Windows, clone the repository and run its installer:

git clone https://github.com/Hon-Lu/herdr-threads "$HOME\herdr-threads"
& "$HOME\herdr-threads\install.ps1"
herdr-app do layout.switch --name threads

install.ps1 copies the mods, the layout and the threads theme into ~/.config/herdr-app, and
adds the layout:threads keys to your keys.json (only the ones missing, leaving your own
bindings alone). It needs nothing else installed.

Copying by hand works too: threads/mods/* into mods/, threads/layouts/* into layouts/,
threads/themes/* into themes/, and the lines of threads/keys.json into your keys.json.

Ctrl+Shift+L switches back to your other layouts. To update, ask your agent with the message
the update dialog gives you, or git pull and install again. Each release is tagged (v0.1.0)
and listed under Releases.

herdr-claude-bot

Herdr Claude Bot

Bots for whatever layout you use: each one is a Claude Code that keeps running in its own folder.
Tell it what you want; it hands the work to sub-agents in your projects, checks it, and remembers.

  • Tasks. What needs you comes first, with its answers as buttons. Then the work in progress:
    click one to see its result and its sub-agents, and click a sub-agent to look at it. Work that
    is stuck says why, with a button to ask the bot about it. The @
    on any task, sub-agent or memory puts it in the bot's input, to say what to do with it.
  • Any agent as a sub-agent. Claude, Codex, Gemini, OpenCode or any other agent Herdr knows.
  • Memory. What Claude just learned, for the bot and for each of its projects, with what is
    new since you last looked. Click a memory to read it, or hand it to the bot to change, remove
    or move.
  • Recently removed. A removed bot can come back, or be deleted for good (to the Recycle Bin).

Install: copy herdr-claude-bot/mods/herdr-claude-bot into ~/.config/herdr-app/mods/, or ask
your agent to "add this mod: https://github.com/Hon-Lu/herdr-threads/tree/main/herdr-claude-bot".
"Bots: work and memory" in the palette opens it. Inside the Threads layout it is already included,
with the bots in the sidebar and their Tasks and Memory in the side panel.

threads-files

Threads Files

The Files of the layout, for whatever layout you use. Nothing else of Threads is needed.

  • Tree and preview side by side. The tab's folder with search, Git marks and live refresh;
    code with syntax colors, opened at its line with the lines around it lit; Markdown rendered;
    images with zoom; a strip of recent files.
  • Ctrl+click a path in any terminal (even src\db\schema.sql:10) and it opens at that line.
    Edit and save in place, keeping line endings and BOM.
  • A dialog or a block. With no block for it, it opens over the window as a dialog ("Files" in
    the palette, or a Ctrl+click). To keep it in a layout, give a block
    "content": { "mod": "threads-files" } in a copy of your layout
    (herdr-app do layout.clone --name main --as my-layout).

Install: copy threads-files/mods/threads-files into ~/.config/herdr-app/mods/, or ask your
agent to "add this mod: https://github.com/Hon-Lu/herdr-threads/tree/main/threads-files".

threads-new

Threads New Tab

The New tab dialog of the layout, for whatever layout you use.

  • Terminal first, then any agent Herdr knows. Shift+click several agents to start one tab
    each. No message box: you type into the agent itself, with its own commands and @ files.
  • New tab or New space. New tab picks a space (grouped by machine when you use several).
    New space always makes a new one, on the machine you choose, in any folder, also one another
    space already works in.
  • Extras. Extra arguments, Claude's Code Mode, a new Git worktree (through Herdr's own worktree
    dialog). The last choices are remembered.
  • Claude stays fullscreen, the same fix as the layout (see Good to know).

Install: copy threads-new/mods/threads-new into ~/.config/herdr-app/mods/ and add the line of
threads-new/keys.json to your keys.json (Ctrl+Shift+T opens it), or ask your agent to "add
this mod: https://github.com/Hon-Lu/herdr-threads/tree/main/threads-new". Inside the Threads
layout these two mods are already included.

Keys (while this layout shows)

Key Does
Ctrl+Shift+T New tab / New sub-agent dialog
Ctrl+Shift+G Go to a tab, agent or file
Ctrl+Shift+M Mentions (files, agents, links the agents printed)
Ctrl+click a path Open it in the Files tab at its line
F11 Expand the Files tab over the terminals, or back
Ctrl+Shift+Up / Down Previous / next tab in the list
Ctrl+Shift+D Tab details card
Ctrl+Shift+J Side panel
Ctrl+Shift+[ / ] Side panel tabs
Ctrl+Enter in the dialog Start (Shift too: stay where you are)

Good to know

  • Claude Code's fullscreen. Claude Code writes a boot record when it starts fullscreen and
    clears it once it has run for 10 seconds or exits. Herdr ends a closed tab's program by killing
    it, so a Claude closed within its first 10 seconds leaves the record behind: the next Claude
    starts in the classic screen ("didn't finish starting last time"), and a second time turns
    fullscreen off for that Claude version. The same bug was found and fixed in Orca
    (stablyai/orca#22039). When your Claude
    settings say "tui": "fullscreen", Claude started from this layout (bots too) gets
    CLAUDE_CODE_NO_FLICKER=1, which keeps it fullscreen without the record. If fullscreen was
    already turned off, run /tui fullscreen in Claude once.
  • The theme is threads in dark mode and Herdr's paper in light mode.
  • Git is optional. Without it, Files still browses and searches, just without Git marks.
  • threads/shared/ holds the model the mods share. Herdr mods can't import across folders, so
    install.ps1 -Sync copies it into each mod; edit it there, not in the mods. It also copies
    threads-files and threads-new into their own folders at the top of the repository.
  • The update check asks GitHub's API for the latest release, with curl, at most every 6 hours:
    one anonymous request, nothing about you or your machine is sent.
  • threads/RECIPE.md describes exactly how the layout looks and behaves: an agent can rebuild it from it.

Credits

The design follows T3 Code by ping.gg (MIT): its thread
list, side panel and overall look are what this layout brings to Herdr. Herdr Threads is not
affiliated with T3 Code or ping.gg.

License

Apache License 2.0. Two mods (threads-pane, threads-changes) started from mods
shipped with Herdr App, under the same license. Icons are Lucide (ISC).

Reviews (0)

No results found