factory-dispatch

factory-dispatch is a skill for Claude Code from ArcBlock/agent-skills. It costs 212 tokens per session (6,717 once invoked), scanned C, original, MIT.

A staged dispatcher that assigns software work to locally installed coding agents and gives each run its own worktree, which is a separate working copy of the repository.

In plain words
What is it for?
Use it to dispatch planned work from a work board or an agent run and create isolated local runs for coding agents.
Why use it?
It provides a defined path for sending work to agents now while leaving room for later same-machine, local-network, or cloud workers. Separate worktrees help keep concurrent runs apart.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; mentions Codex.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/robmao/work/arcblock/arc.

Part of the agentloop plugin — 24 skills shipped together

Good fit Use it to dispatch planned work from a work board or an agent run and create isolated local runs for coding agents.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add ArcBlock/agent-skills
Claude Code
/plugin install agentloop

Made for: Claude Code.

Or install agentloop, the plugin that ships this one along with the rest of its 24 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for factory-dispatch

README.md
[![agentmods](https://agentmods.dev/badge/skills/arcblock/agent-skills/factory-dispatch/github.svg)](https://agentmods.dev/skills/arcblock/agent-skills/factory-dispatch)
Your own site
<a href="https://agentmods.dev/skills/arcblock/agent-skills/factory-dispatch"><img src="https://agentmods.dev/badge/skills/arcblock/agent-skills/factory-dispatch/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for factory-dispatch

Your own site · 80×15
<a href="https://agentmods.dev/skills/arcblock/agent-skills/factory-dispatch"><img src="https://agentmods.dev/badge/skills/arcblock/agent-skills/factory-dispatch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 212 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,717 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00212 $0.06717
Opus 5.5 $0.00085 $0.02687
Sonnet 5.5 $0.00042 $0.01343
Haiku 4.5 $0.00021 $0.00672

Measured 29d ago against content hash c7efab93bb47, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

factory-dispatch scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 29d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

| `broken` | `broken-partial` | an interrupted provision left `<repo>.partial` | `rm -rf` that path |
plugins/agentloop/skills/factory-dispatch/SKILL.md · 445 lines

How it starts

The opening of the file, as written. The whole thing — 445 lines — stays where its author put it; the contents beside it link to each section on GitHub.

factory-dispatch — staged dispatch (#6896)

Dispatch is staged; a later stage never blocks an earlier one (#6596).

Stage Shape Entry point Blocks stage 1?
1 · local (current) one local ARC instance dispatches locally installed code-agents work-board Schedule (work + engine) or arc work dispatch (an agent inside a code-agents run; a human CLI dispatch is refused until #8733) → /dev/code-agents/.actions/dispatch-work → run in a host-created <factoryRepo>/.claude/worktrees/<name> —
2 · simulated remote same machine runs several ARC instances, some acting as remote workers scripts/factory-worker.sh (rest of this file) no
3 · LAN remote an ARC instance on another LAN machine acts as worker #4643 no
4 · WAN / cloud ChatGPT Work VM, Claude Code routine VM, Grokbot cloud, other self-hosted machines #4643 no

Stage 1 is the current work-board-driven dispatch path. It needs no worker clone and no :4900 cockpit, and is not blocked by #4643. It is not what the attended /agentloop:epic-conductor / /agentloop:land skills use today — those dispatch a worker directly via the Agent tool with isolation: "worktree", a separate, human-facing path. Unifying human manual dispatch and stage-1 factory dispatch onto the same action is the explicit goal of epic #6898 (B — "派活复用 agentloop"), not yet landed. See epic #6896 (parent: the "Factory v1" work; #6596 is the stage-1 topology decision) for current work.

Status caveat — do not infer this runs end to end today. Since #6910 and #6911 the Schedule dialog takes only a work and an engine: the instruction is generated (/<skill> <work DID>), and the host creates the worktree from the factoryRepo setting (code-agents Settings). The start directory, skill and instruction are folded "Advanced" overrides, recorded on the run as dispatchSource.override. #6596's acceptance item 4 — a real GitHub commit/comment produced by the run — is still unmet. A real end-to-end run (import → dispatch → landed PR) is tracked by epic #6896 and its acceptance command #6928.

Everything below this point is the stage-2+ procedure (worker clones, ~/.arc-workers/*, the Instances HUD): use it only when a human has asked for simulated-remote / LAN / cloud capacity. It is not the primary topology and does not check stage-1 dispatch.


You are the attended conductor. A worker runs its own ARC daemon and its own /dev/code-agents, then exports that provider to the conductor with a separate code-agent attach bridge. The human's long-lived purpose=observe ARC instance exposes the Instances HUD, which is the visual observer of every local worker instance. It is not an implicit remote scheduler.

A factory agent that itself runs epic-conductor (decompose, design-review, hire, merge) remains the desired shape (#4432). Do not force-split that at the factory layer.

Read the full file on GitHub · 445 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 29d ago First seen · 445 lines · 212 tokens per session scan C c7efab93bb47

Subscribe to this mod's changes

factory-dispatch is a skill published in the GitHub repository ArcBlock/agent-skills (5 stars, last pushed 22d ago), licensed MIT. It adds 212 tokens to every session and 6,717 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-03.

Related

factory-dispatch compared with skills from other repositories

factory-dispatch next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
factory-dispatchArcBlock/agent-skillsSkill522d agoMITC212Claude Code
merge-batchdiegosouzapw/OmniRouteSkill91k3d agoMITA46Claude Code
prowler-commitprowler-cloud/prowlerSkill15ktodayApache-2.0A44Claude Code, Codex
gh-auth-isolationgithub/gh-awSkill5.8ktodayMITA20Claude Code, Codex
github-skillzeenie-ai/OpenCompanySkill1.1kyesterdayMITA51Claude Code
comet-githubrpamis/cometSkill3.3ktodayMITA72Claude Code, Codex
re0-mergeLilMGenius/paperthinSkill1.5ktodayMITA51Claude Code, Codex