Not loaded · from dev
Autonomous loop that drains the ready-for-agent queue on the issue tracker. Registers a project with the redskilled daemon, arms the drain, and observes workers claim, work, validate, and close issues.
Claude Code won't load this skill
It ships in dev at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
The default lane for all tracked backlog work. /afk is the modus
operandi; /go is the ad-hoc-only exception.
/afk is thin: register, drain, observe. It is the spec-driven Working mode's
entrance (ADR 0150 §1) — the last step of /start → /to-spec → /to-tickets →
/afk. The skill registers this project with the always-on redskilled daemon at
a runner and a target width, arms the drain, and then watches. Everything after
"arm" belongs to the daemon: it admits each Worker against the host budget,
places its workspace, and the Worker claims the Ticket, works it, validates it,
publishes it and closes it (ADR 0148, ADR 0149). /afk starts no process of its
own, reads no state out of the human's checkout, and composes no Worker argv.
Every capability below is an rs_dev MCP tool returning structured TOON. The
complete tool surface, the host tool-name prefix rule, and the mutation-mode
contract live in MCP.md — read it before the first call and do not
restate the tool list here.
Four verbs answer today: drain, status, project_status, project_stop
(#4113). Every other tool refuses by name, because its engine went with
ADR 0147 and no daemon method serves it yet. A refusal is not an outage and no
reload cures it — it means the verb is unimplemented, so file against #4113
rather than hunting the daemon, the socket, capacity or a version skew. Read
MCP.md for which row is which.
1. Register. drain (mutating) ensures the daemon is reachable and this
project is registered at the requested runner and target. It composes the
registration from .red/config.yaml itself, so a no-argument drain is the
whole live entrance. drain is ensure-style: repeated calls succeed and report
the four-dimension difference, and a runner change is refused with the explicit
stop-then-drain repair. project_activation, project_start, project_resize
and project_reset are the specialized lifecycle operations around it and all
refuse today.
2. Arm the selector. The selector scopes what the drain takes —
{spec, lane, label, issues, tags, user}. It travels in the registration, so one
producer applies several selectors as an ordered priority rather than several
competing loops. queue_status is the intended scoped preview and refuses today
(#4113), so arm the selector on drain itself.
3. Observe. status {scope: worker | project | host} reads progress at the
needed boundary — it is the one live observation verb. events_since, logs and
deadend_audit all refuse today (#4113), so status and project_status carry
the whole watch until slice 2 serves them. Never poll a mutating tool for
status.
When the MCP is unreachable, ask whether the plugin was installed or updated in
THIS session — if so, run /reload-plugins (or start a new session). MCP servers
register at plugin load, so a mid-session install writes the declaration and starts
no process: .mcp.json, the manifests and the launchers are all valid on disk while
the session sees zero tools. That is a load-lifecycle gap, not an outage.
Once the reload is ruled out, the repair is the daemon — there is nothing to
fall back to. ADR 0147 rule 1 deleted the second implementation rather than
deprecating it, so an unreachable tool surface means the daemon is down or this
project is not registered. Name that, and repair it with /redskilled. Do not
hand-roll the operation in shell.
The whole live lane is three tools; anything done by hand instead of these is a defect to file, never a workaround to keep:
drain { target, runner?, selector? } — mutate: registers this project with
the daemon (work query, poll plan, trunk, Worker prompt all composed by the
tool) and arms the drain. Repeat calls are safe and report what was kept.status { scope: project } — observe. Workers are born, briefed, and driven
by the daemon; nothing here polls a mutating tool. events_since is the
intended incremental read and refuses today (#4113).project_stop — hand the registration back when done.Never git worktree add, never a hand-built Worker argv, never watching CI
in a shell loop: the daemon owns birth, placement, and landing. If a step
cannot be done through these tools, that is a gap to file against the MCP.
Each verb names the tool that serves it.
/afk — drain every open issue labelled ready-for-agent. drain registers
and arms; queue_status, the census that would precede it, refuses today
(#4113)./afk --spec 42 — drain only Tickets linked to Spec #42; the Spec itself is
excluded. This is the selector.spec facet./afk --issues 356,359,362 — drain an explicit issue list in that order
(selector.issues). For exactly one tracked Ticket, worker_dispatch with
issue runs it without registering a drain at all./afk --tags backend,infra — drain only issues carrying EVERY requested
tag:<value> territory label (AND semantics; an untagged issue is outside every
tag-scoped selector). Combines with --spec, never with --issues. An
unfiltered /afk still drains everything — tags partition the pool, they never
bind issues to users./afk --user filipeforattini or /afk --user @me — drain only issues AUTHORED
by that GitHub login (@me resolves at registration). Author, not assignee:
creating an issue is enough./afk --runner codex — pin a backend. runner_list and runner_detect answer
which backends exist and which one this host resolves to./afk --request "..." or /afk -r "..." — a special request block for the
inner agent. worker_request carries it at spawn time; runner_steer reaches a
Worker already running./afk -n 5 — cap the run at five Tickets; -n 0 and omitted -n mean an
unlimited queue drain./afk status — status {scope: project}: registration, target width, slot
occupancy, runner, live Workers, and the daemon's own verdict. Answers "what is
actually running?" without cross-referencing pid files by hand./afk stop [--force] — project_stop: hand this project's registration back
while in-flight Workers drain; --force hard-stops only its attributed Workers./afk logs --supervisor|--worker <id>|--all — the logs tool, one lane per
call, read-only./afk monitor — read-only status board over status {scope: worker} and
queue_status; read monitor.md for the board and the
native-task mirror contract./afk dashboard [--period 30d] — dashboard: open work, live Workers, flow
metrics and DORA proxies over a periodDays window./afk daily-review / /afk weekly-review — daily_review / weekly_review
both refuse calls in this runtime (#4113). Report the requested period as unavailable./afk retake 123 — retake, a read tool that only recommends; the action it
names is a separate explicit call./afk reap — reap: branch hygiene. unblock_sweep is its dependency-gate
counterpart.Read fleet.md before changing the width of a running drain.
For GitHub Actions adoption, use actions-lane.md.
Read the focused reference before touching that concern:
rs_dev MCP tool surface, host prefixing and mutation modes:
MCP.md.docs/OPERATIONS.md.docs/CUTOVER.md..red/state/castle/; disposable Worker
workspaces, claim locks, logs and diagnostics stay in registered .red/tmp/
lanes and are the only targets of the lane janitor.docs/ENVELOPE.md.docs/HANDOFF.md and AGENT-PROMPT.md.runner-claude.md,
runner-codex.md, runner-opencode.md,
and fallback runner-hermes.md.runner-unattended-posture.md.docs/LIVENESS.md.docs/CONFIG.md.SAFETY.md.rs_dev MCP is the canonical project interface (ADR 0120, naming
amended by ADR 0142, sole surface by ADR 0147). /afk is a client of it, so a
capability missing from the tools is a gap to file against the MCP, never a
reason to hand-roll the operation in shell.drain, status, project_status and project_stop reach the daemon;
the rest state that no _redskills/* method serves them. Report the refusal
and move on — do not retry it, do not restart the daemon for it, and do not
substitute a shell equivalent./red-setup (or
/redskilled) installs it as an OS service with no idle exit. A client that
finds no daemon fails closed with the repair hint; it never spawns one
(ADR 0150 §4)./afk. A queue with zero eligible
ready-for-agent entries and a non-empty open backlog is a flow bug to surface
with a gate census, not a clean "nothing to do" stop. That includes a queue whose
entries are all held_for_summon; release those with triage:summon, the
triage tool's summon, or afk.trust-gate.allowlist.req:N edge labels plus blocked:dependency; human gates use
## Current blocker / ready-for-human..red/tmp/workers/{id}/{issue} with the worktree at
.red/tmp/workers/{id}/{issue}/worktree; everything the Worker narrates is TOONL
in .red/tmp/workers/{id}/worker.log.toonl.claim_status; cure a ghost
claim with claim_release, never by editing labels by hand.<promise>DONE</promise> and
<promise>BLOCKED</promise>.plugins.dev.afk.validation is the sole local validation authority. Its ordered
iteration, post_done and landing command lists are run only at those named
moments; an undeclared moment is skipped loudly and [] is an explicit empty
declaration. The engine never discovers or improvises a suite.iteration is handed to the inner agent while it writes. post_done runs at the
branch's fork point after DONE, and a correction re-runs only its failed subset
before folding back to the full declaration. landing runs before push/PR/queue.
The merge queue is the CI-side final Validation moment and owns freshness against
the merged result.blocker-state alone parses, writes and clears the
active blocker, and every return to ready-for-agent calls applyRequeue with
machine or human authority.main is reported.blocked:ci leaves the completed PR open and escalates to ready-for-human; AFK
does not re-run the inner agent for already-complete work waiting on CI.Width is a registered number, not a number of terminals. One project has one
producer: drain registers the target width, project_resize changes it, and the
daemon admits Workers against the host budget up to that target. Choose the width
by disjointness of the selector; read fleet.md for the full rule.
-n N reached → summary./afk never
substitutes itself for the daemon.See SAFETY.md. The Worker and inner agent both inherit those rules;
violations abort the run.
For failure-state playbooks and operator recovery procedures, see TROUBLESHOOTING.md.
AGENT-PROMPT.md (opens in a new tab)MCP.md (opens in a new tab)SAFETY.md (opens in a new tab)TROUBLESHOOTING.md (opens in a new tab)actions-lane.md (opens in a new tab)agents/openai.yaml (opens in a new tab)detectors/README.md (opens in a new tab)docs/BOOT-SWEEPS.md (opens in a new tab)docs/CONFIG.md (opens in a new tab)docs/CUTOVER.md (opens in a new tab)docs/ENVELOPE.md (opens in a new tab)docs/HANDOFF.md (opens in a new tab)docs/LIVENESS.md (opens in a new tab)docs/OPERATIONS.md (opens in a new tab)fleet.md (opens in a new tab)monitor.md (opens in a new tab)runner-claude-minimax.md (opens in a new tab)runner-claude.md (opens in a new tab)runner-codex.md (opens in a new tab)runner-hermes.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub reddb-io/red-skills --plugin dev59 skills in this plugin
/adr-editorProposal-driven reverse grill for the active `.red/adr/` collection. Ranks active ADR clusters, recommends where to start, confronts one cluster with current implementation evidence, and applies maintainer-approved dispositions through the full ADR verb set. Use to review, curate, reorganise, fix, or extend ADRs and to pay down accumulated decision debt./ask-redAsk which RedSkills flow fits the current situation. Use when the operator asks what to do now, which command to run, or how to route a task through RedSkills./audit-skillsUse when the operator invokes /audit-skills to request the catalog quality scorecard. The current runtime does not serve this report.Other plugins' skills for the same job