npx claudepluginhub zach-source/claude-factorySync a repo's beads (bd) through its git remote on any host: GitLab, GitHub or any git.
Work with a claude-factory from a rig repo's own session: hand off work, reprioritize the queue, and see what the factory is doing.
7-day visitors to each marketplace page
Software factories for loop-graph engineering on herdr. A factory is a graph of stations; a run is an xstate machine over that graph whose snapshot is persisted on every tick. Each station is worked by its own Claude session in a herdr tab of the run's git worktree, and the outcome it reports routes the run along the graph. A Claude mod turns one session into the manager: it ticks every run, draws the board, and runs a hidden patrol subagent that wakes on mail and works each rig's goal.
New to claude-factory? Start with docs/onboarding.md. For server mode and the way back to local mode, see docs/server.md.
With Nix, run the factory with no checkout. The package holds its own node_modules, so no bun install runs:
nix run github:zach-source/claude-factory -- --help
nix profile install github:zach-source/claude-factory # puts factory on PATH
A store install does not write into its own directory. It does not self-update. Update it with its flake.
Without FACTORY_HOME, it uses the default home, as a checkout does (see Rigs). From a checkout, use the steps below.
bun install
bin/factory init ~/my-factory # a new factory: a directory for its rigs and runs
cd ~/my-factory
# the manager session, in a herdr pane: a session started in a factory's directory works it
# fullscreen layout: the console docks right of the chat (herdr and tmux default to the main screen)
# it runs lean (Bash and file tools, no MCP servers, connectors or Chrome: each call in the main chat
# re-reads every tool definition) and without the herdr-fleet mod, since the runner owns its workers' panes
~/repos/workspaces/claude-factory/bin/factory manager # add --resume <session> to bring one back
Or in one step from a herdr pane: bin/factory up [factory-dir] [manager args...]. It stops if bun or
claude is not on PATH. It runs bun install when node_modules is missing or older than bun.lock.
It makes the factory if the dir has no rigs.json. It warns outside herdr, then starts the manager.
The dir is the first argument when it does not start with -, else $FACTORY_HOME, else the default home (see Rigs).
The other arguments go to the manager. Example: bin/factory up ~/my-factory --resume <session>.
In the manager session:
/factory rig add my-app ~/repos/my-app --max 3 --goal ship the v2 API # a rig: a repo the factory works
/factory start lifecycle my-app Add a /health endpoint with tests
/factory start lifecycle@monitor my-app watch production
/factory start lifecycle@maintain my-app keep it maintained
/factory start lifecycle@improve my-app keep improving it
/factory # the board: runs, stations, workers, gates, manager mail
/factory status <run> # one run's full journal
# `factory status` (no run) adds a line "restart factory manager" when the live manager
# started with an older launch command than the code on disk (<home>/manager.json);
# the manager gets one mail for each launch. A restart cuts the session, so you decide:
# factory manager --resume <session>
factory ci <pr> # a PR's checks on its head SHA; for each failed Actions job: step and log tail
# (exit 0 green, 1 failed, 2 pending, 3 error). The PR is a number or a github.com URL
/factory interview # questions from runs stuck or parked on your direction; your answer goes to the run
# 'Interview me' in the panel also sweeps every rig's gates, bd decisions and blocked
# workers in; the manager proposes options for anything still bare, except gates
# (only you decide those) and blocked workers (you look at the pane instead)
/factory opens the console next to the chat. Keys 1 to 6 switch the tabs: Board, Backlog, Mail,
Rigs, PRs and Interview. Press tab to move between controls. Press enter to press the
focused control. Press esc to go back to the prompt. The pictures show made-up demo data.
See docs/console.md for the details of each tab: what it shows, its keys and buttons, and when to use it.

The Board shows the live runs by state, oldest first. The runs that await you are in a full-width band at the top. The stuck, working and waiting runs are in three columns below it. A gate shows its question and its outcome buttons on its card. Decide the gate there. You can add a note for the next station.
When the console is less than 120 columns wide, the groups stack as sections:

Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.