/factory-rig:factory-prioritizefrom factory-rig
Change what the claude-factory works on next in this repo. Use when the user says "do X first", "bump this" or "put that on hold". Use also when the user says "unqueue" or "stop the factory working on Y". Use also when the user says "reprioritize the factory" or asks why the factory picked a bead. Works with bd alone or with a local factory CLI.
Ships in factory-rig. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The factory picks queued beads in this order:
factory plan show), when it is less than 2 hours old. The pm ranks each rig's ready beads once an hour, and soon after a run finishes.bd ready order: priority first (0 is the most urgent, 4 is the backlog), then the oldest.The pm can change the order of P2 to P4 beads. It does not change a P0 or P1 bead. It only proposes such a change. To make sure that a bead goes first, give it P0 or P1.
Always show the user the change before you make it. List the bead ids and their old and new state. Then wait for a yes.
bd list --label factory --status open --sort priority # queued, in priority order
bd ready --label factory # queued and able to start now
factory plan show 2>/dev/null # the pm's ranking and reasons, local factory
| The user wants | Command |
|---|---|
| This first | bd update <id> --priority 1 (or 0 for an incident) |
| Lower | bd update <id> --priority 3 |
| Queue it | bd update <id> --add-label factory (or factory queue <rig> <id>) |
| Unqueue it, keep it open | bd update <id> --remove-label factory |
| Hold it until a date | bd defer <id> --until 2026-11-01 |
| Hold it until another bead is done | bd dep add <id> <other-id> |
| Never | bd close <id> --reason "...", only on the user's explicit word |
Add a comment with the reason, so that the pm and the manager see it: bd comment <id> "Owner: first, because ...".
If bd syncs this repo to another machine, run bd dolt push after the change. The factory pulls every 5 minutes.
A bead in progress with the assignee factory/<run>/... is in a run. A label or a priority change does not stop that run.
factory mail <run> manager "<text>" (local factory). Otherwise, put a comment on the bead. The manager reads the bead comments.factory abort <run>. This ends the run's work in progress. Do it only when the user explicitly asks for it. After the abort, the bead has no assignee and has the deferred status. Undefer it to hand it back.owner, human or ship without the user's word. These labels mark the user's decisions and the ship queue.rigs.json. That is the user's change, in the factory home.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub zach-source/claude-factory --plugin factory-rig3 skills in this plugin
/factory-handoffHand work from this session to the claude-factory that works this repo. Use when the user says "hand this to the factory" or "let the factory do it". Use also when the user says "queue this" or "file it for the factory". Use also when the user wants to give the rest of a task to the factory's workers. Use also when the user wants to give a branch in progress or a review finding to the factory's workers. Works on any machine where bd syncs this repo's beads, with or without the factory CLI./factory-statusShow what the claude-factory is doing in this repo and what waits on the user. Use when the user asks "what is the factory doing" or "status of my handoff". Use also when the user asks "what does the factory need from me" or "which PRs are next to merge". Use also to follow a bead after factory-handoff. Works with bd alone or with a local factory CLI.