npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@generativereality/agentherder

v0.1.16

Published

Agent session manager for AI coding tools. Terminal tabs as the UI, no tmux.

Downloads

1,522

Readme

Agent Herder

Run a fleet of Claude Code sessions. From the CLI — or from Claude itself.

CLI command: herd · Website: agentherder.com

herd new auth ~/Dev/myapp       # new tab, claude starts
herd new api ~/Dev/myapp
herd new infra ~/Dev/myapp

herd sessions                   # what's running across all tabs
herd scrollback auth            # read what auth is doing without switching tabs
herd send api --file task.txt   # drop a prompt into any session
herd fork auth -n auth-v2       # branch a conversation, keep the original

No tmux. No dashboard. Your terminal tabs are the UI.


The idea

When you're running multiple Claude Code sessions in parallel, you lose track fast. Which tab is working on what? Did it finish? Is it waiting for input?

herd solves this with a simple CLI that treats terminal tabs as the unit of orchestration — open them by name, read their output, send them prompts, fork them, close them. Everything stays in sync: the tab title, the Claude session name, and the working directory.

The killer feature: Claude can run herd itself. Install the skill and your Claude Code session can spawn parallel sibling sessions, monitor their output, and coordinate across them — without you switching tabs.

Install

As a Claude Code plugin (recommended — installs the CLI + skill in one step):

Run these slash commands inside a Claude Code session:

❯ /plugin marketplace add generativereality/plugins
  ⎿  Successfully added marketplace: generativereality

❯ /plugin install agentherder@generativereality
  ⎿  ✓ Installed agentherder. Run /reload-plugins to activate.

❯ /reload-plugins
  ⎿  Reloaded: 1 plugin · 0 skills · 5 agents · 0 hooks · 0 plugin MCP servers · 0 plugin LSP servers

Note: These are Claude Code slash commands, not shell commands. Type them at the prompt inside a Claude Code session.

Via npm (CLI only, no Claude Code skill):

npm install -g @generativereality/agentherder

Skill only (if you already have the CLI installed via npm):

mkdir -p .claude/skills/herd
curl -fsSL https://raw.githubusercontent.com/generativereality/agentherder/main/skills/herd/SKILL.md \
  -o .claude/skills/herd/SKILL.md

Requirements: Wave Terminal · macOS · Node.js 20+

One-time: Wave needs Accessibility permission — System Settings → Privacy & Security → Accessibility → Wave ✓

Usage

herd sessions                          what's running (active/idle status)
herd list                              all workspaces, tabs, and blocks
herd new <name> [dir] [-w workspace]   open tab, start claude
herd resume <name> [dir]               open tab, run claude --continue
herd fork <tab> [-n new-name]          fork a session into a new tab
herd close <tab>                       close a tab
herd rename <tab> <new-name>           rename a tab
herd scrollback <tab> [lines]          read terminal output (default: 50 lines)
herd send <tab> [text]                 send input — arg, --file, or stdin pipe
herd config                            show config path and values

Tab names match by prefix. Block IDs can be shortened to 8 chars.

Spin up a session fleet

herd sessions                 # check what's already running first

herd new auth ~/Dev/myapp
herd new payments ~/Dev/myapp
herd new infra ~/Dev/myapp

Each tab gets named, Claude's session name syncs to the tab title via --name.

Send a prompt

# From a file (good for long context-heavy prompts)
herd send auth --file ~/prompts/task.txt

# Via stdin
echo "focus on the edge cases in the OAuth flow" | herd send auth

# Quick reply or approval
herd send auth "yes\n"
herd send auth "/clear\n"

Check in without switching tabs

herd scrollback auth          # last 50 lines
herd scrollback auth 200      # last 200 lines

Fork a session

# Try a different approach without losing the original conversation
herd fork auth -n auth-v2

Runs claude --resume <id> --fork-session — new independent session, full shared context from the original.

Target a workspace

herd new api ~/Dev/myapp -w work

Claude Code Skill

The real unlock: install the plugin (see Install) so Claude Code can herd itself.

With the skill installed, Claude can:

  • Check what's running before starting duplicate work (herd sessions)
  • Spawn a parallel session for an independent subtask (herd new payments ~/Dev/myapp)
  • Monitor siblings without interrupting them (herd scrollback payments)
  • Drop a prompt into any session (herd send payments --file spec.txt)
  • Fork its own session to explore an alternative approach (herd fork auth)

Claude becomes the orchestrator of its own fleet.

Tip: pair with Claude Code Remote Control

Claude Code's Remote Control lets you access a local session from any device — phone, tablet, browser — via claude.ai/code. The session still runs on your machine, with full filesystem and tool access.

Paired with Agent Herder, the pattern is:

  1. Start a command session with Remote Control enabled:
    claude --remote-control "command"
  2. From your phone or browser, connect to that session and assign work:

    "Spawn three sessions — auth, payments, infra — and start them on these tasks..."

  3. The command session uses herd to open tabs, send prompts, and check in on workers
  4. You monitor and steer the whole fleet from your phone while the machine does the work

One remote-controlled session orchestrating a local fleet.

Config

# ~/.config/herd/config.toml

[claude]
# Flags passed to every claude invocation
flags = ["--allow-dangerously-skip-permissions"]

[defaults]
# Default Wave workspace for new sessions
# workspace = ""

Terminal support

| Terminal | Status | |----------|--------| | Wave Terminal | ✅ Full support | | iTerm2 | Planned | | Ghostty | Planned | | Warp | Planned |

Wave is supported via its unix socket RPC. Other terminals will follow as adapters — PRs welcome.

License

MIT